I've set up an old Dell Inc. Latitude E6410 with Ubuntu 24.04.1 with the intention of using it as a printer an Plex server. The problem is that it suspends when I shut the lid. I would like it to not do that. In my research on the issue, I've found many recommendations to use Tweaks to disable the suspension but when I install the current version of it, there is no such option available in it. No such option is available in the Power sections of Settings either. Is there a way to do this in this version of Ubuntu?
Asked
Active
Viewed 665 times
1 Answers
1
Quoted directly from this answer:
Open the
/etc/systemd/logind.conffile in a text editor as root, for example,sudoedit /etc/systemd/logind.confIf
HandleLidSwitchis not set toignorethen change it:HandleLidSwitch=ignoreMake sure it's not commented out (it is commented out if it is preceded by the symbol #) or add it if it is missing.
Restart the systemd daemon (be aware that this will log you off) with this command:
sudo systemctl restart systemd-logindor from 15.04 onwards:
sudo service systemd-logind restart
BotNet64
- 71
- 6