Passionate about freedom, libre software/hardware, environmental sustainability, and doing the right thing even when it’s inconvenient.
$argon2id$v=19$m=64,t=512,p=2$Nf69b65zUhoPFyTI3rDb1w$zEdygG94suabNqSOwda3Mg
- 0 Posts
- 1 Comment
Joined 2 years ago
Cake day: June 15th, 2023
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
Disable suspend when the laptop lid is closed:
sudo sed -i 's/#HandleLidSwitch=suspend/HandleLidSwitch=ignore/g' /etc/systemd/logind.conf sudo sed -i 's/#HandleLidSwitchExternalPower=suspend/HandleLidSwitchExternalPower=ignore/g' /etc/systemd/logind.conf sudo systemctl restart systemd-logind
If you are in a TTY, you can blank the screen before closing the lid to prevent burn-in. After running this, come back later and press a key to turn the screen on again.
alias blankscreen='setterm --blank=force; read ans; setterm --blank=poke'