Just installed OpenSUSE TumbleWeed on a laptop, and since it’s going to be used as a ‘server’, the lid will be closed most of the time and there is no GUI installed.
But the default action is to suspend the computer when the lid closes…
- Edit/create
/etc/systemd/logind.conf
- Open the file
/etc/systemd/logind.conf
in your favourite editor. If it’s a fresh install, the file will probably not exist. - Add the following
[Login]
HandleLidSwitch=ignore
LidSwitchIgnoreInhibited=yes
- Restart logind;
systemctl restart systemd-logind
The lid can be closed without suspending the computer!
See Also
- - Default explicit equality operator
- - Mistakes
- - compile_commands.json with CMake
- - Samsung Magician Stops Ctrl-w From Working
- - Default Route and Dns With Opensuse Tumbleweed with static IP
Comments
Any comments? Create a new discussion on GitHub.There used to be an inline comment form here, but it was removed.