Compare commits

...

2 commits

Author SHA1 Message Date
KemoNine 7419bf8aeb Add a way to disable power/suspend keys on keyboards 2020-09-01 18:55:54 -04:00
KemoNine 77a0567b94 Fix broken link 2020-09-01 18:55:42 -04:00
2 changed files with 10 additions and 1 deletions

View file

@ -17,7 +17,7 @@ Items marked ```REQUIRED``` are assumed to be setup and working. You've been war
* [Automatic WiFi Setup (VERY SMART)](auto_wifi_setup.md) * [Automatic WiFi Setup (VERY SMART)](auto_wifi_setup.md)
* [Apt use RAM (VERY SMART FOR 4Gb RAM)](apt_cache_tmpfs.md) * [Apt use RAM (VERY SMART FOR 4Gb RAM)](apt_cache_tmpfs.md)
* [Automatic Updates (VERY SMART)](auto_updates.md) * [Automatic Updates (VERY SMART)](auto_updates.md)
* [Logs in RAM (VERY SMART)](log2ram.md) * [Logs in RAM (VERY SMART)](loggin.md)
* [CPU Governor (VERY SMART)](cpu_governor.md) * [CPU Governor (VERY SMART)](cpu_governor.md)
* [Slideshow Prep (REQUIRED)](slideshow_prep.md) * [Slideshow Prep (REQUIRED)](slideshow_prep.md)
* [Slideshow Setup (REQUIRED)](slideshow.md) * [Slideshow Setup (REQUIRED)](slideshow.md)

View file

@ -58,6 +58,15 @@ sudo -sHu root /bin/bash
# Cleanup timezone # Cleanup timezone
dpkg-reconfigure tzdata dpkg-reconfigure tzdata
# Disable power/hibernate/sleep keys
mkdir /etc/systemd/logind.conf.d
cat > /etc/systemd/logind.conf.d/ignored_keys.conf <<EOF
[Login]
HandlePowerKey=ignore
HandleSuspendKey=ignore
HandleHibernateKey=ignore
EOF
# Full system update # Full system update
apt update && apt upgrade apt update && apt upgrade
systemctl reboot systemctl reboot