machetie@alien.topBtoFramework@hardware.watch•What Linux Dirstro is the best to run on my framework AMD 13inch?English
1·
1 year agoAt this stage i would say any linux distro until the kernel gets more optimisation with the new AMD cpu, but i run Arch BTW.
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.