how to close my laptop lid in ubuntu 18.04.2 without doing anything? i tried sudoedit /etc/systemd/logind.conf and also sudoedit /etc/UPower/UPower.conf
Asked
Active
Viewed 95 times
1 Answers
1
To have the lid closed without doing anything:
- Have someone else close the lid for you.
execute the following commands:
gsettings set org.gnome.settings-daemon.plugins.xrandr default-monitors-setup 'follow-lid' gsettings set org.gnome.settings-daemon.plugins.power lid-close-suspend-with-external-monitor false gsettings set org.gnome.settings-daemon.plugins.power lid-close-ac-action 'nothing' gsettings set org.gnome.settings-daemon.plugins.power lid-close-battery-action 'nothing'
Now when that other person closes the lid for you, Ubuntu will not do anything neither!
;-)
Fabby
- 35,017