I’m trying to use my FW13AMD with Fedora Linux in docked mode, i.e. lid closed, external monitor, keyboard and mouse etc. but every time I close the lid it immediately sleeps, and I’m unable to wake it with the keyboard or mouse. I’ve seen posts about this working under windows, so am I missing something? There didn’t seem to be any relevant settings in Gnome Settings
This is how i use it on my arch system.
Modifying Logind Configuration
Edit the logind.conf File:
Open a terminal.
Typesudo nano /etc/systemd/logind.conf
(you can replace nano with your preferred text editor).
You might need to enter your password.
Modify theHandleLidSwitch
Setting:
In the logind.conf file, look for the lineHandleLidSwitch=suspend
.
Remove the#
at the beginning of the line to uncomment it.
Change suspend to ignore. So it should look like this:HandleLidSwitch=ignore
.
Save the file and exit the text editor (Ctrl + O, Enter, and then Ctrl + X for nano).
Restart systemd-logind Service:
In the terminal, typesudo systemctl restart systemd-logind.
This will apply the changes without needing to reboot.keep in mind using the laptop with the lid closed blocks off the exhaust and this might cause higher temps if you are doing anything cpu intensive
The fan vents to the back.
Reference: https://guides.frame.work/Guide/Heatsink+and+Fan+Replacement+Guide/84
Is the external monitor actually on/in use? Others are suggesting disabling suspend on lid close but from my experience with Debian-based distros they usually do a pretty good job these days of distinguishing between docked-lid-closed (no suspend) and undocked-lid-closed (okay to suspend). So it sounds like it might be a Fedora-specific issue if that’s the only thing that fixes it.
I have a 13th gen Intel and this works just fine with Debian 12 (bookworm). The only thing I’ve changed is that I’ve added a hybrid-sleep drop-in file for logind.conf. ‘Suspend when laptop lid is closed’ is enabled for me under Tweaks.
I have not tested this recently, but it has worked in the past. https://wiki.amahi.org/index.php/Laptop_Close_Lid_Behavior
Change to the KDE Plasma desktop and it takes like 2 clicks
I had the same issue with Fedora 39. After upgrading, I noticed the option to not suspend with lid closed missing in Tweaks. I did a good search and someone suggested editing a config file. I got it to work but I didn’t document it.
If I find it, I’ll update, but I suggest you googling it like I did. Or someone here may have already posted the right file to edit.
I found this annoying, and not sure if the missing setting is intentional or not.