# Linux on an HP ELitebook x360 1030 G2 Work in Progress The power key is easy to hit by accident. If you use a desktop environment or window manager (such as awesome or qtile) without built-in power manager, pressing the power key will shutdown the computer. To avoid this: In [`/etc/systemd/logind.conf`](https://www.freedesktop.org/software/systemd/man/logind.conf.html): change: `HandlePowerKey=poweroff` to: `HandlePowerKey=suspend` ## Further Resources * [Linux on a Elitebook 1030](https://gierdo.github.io/blog/2017/11/21/linux_on_1030) * [Hacks for Linux kernel glitches on the HP Elitebook Folio G1](https://gist.github.com/bodil/16f985973394982e4f5b4fc0113c4ece) * [systemd's sleep.conf](https://www.freedesktop.org/software/systemd/man/sleep.conf.d.html)