HiveMinds / HiveMinds/Productivity-setup

Disable sleep upon lid close.

Open
#54 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
3
Forks
4
PR merge metrics
No merged PRs in 30d

Description

https://askubuntu.com/a/372616

Open the /etc/systemd/logind.conf file in a text editor as root, for example,

sudo -H gedit /etc/systemd/logind.conf

If HandleLidSwitch is not set to ignore then change it:

HandleLidSwitch=ignore

Make 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-logind

or, from 15.04 onwards:

sudo service systemd-logind restart

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.