this post was submitted on 27 Nov 2023
1 points (100.0% liked)

Framework

76 readers
1 users here now

Discussion around the Framework mission of building products that last longer by making them upgradeable, customizable, and repairable. Consumer electronics can be better for you and for the environment.

founded 1 year ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 11 months ago

This is how i use it on my arch system.
Modifying Logind Configuration
Edit the logind.conf File:
Open a terminal.
Type sudo nano /etc/systemd/logind.conf (you can replace nano with your preferred text editor).
You might need to enter your password.
Modify the HandleLidSwitch Setting:
In the logind.conf file, look for the line #HandleLidSwitch=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, type sudo systemctl restart systemd-logind.
This will apply the changes without needing to reboot.