jaker
Member
Posts: 6
Likes: 16
|
Post by jaker on Oct 18, 2022 8:44:56 GMT
Firstly, Bodhi Linux has made my old Acer C720 Chromebook incredibly useful, running Chromium, Sublime Text, QCADd etc. So a big thank you  The power button is located right next to the backspace key, and if I so much as brush against it, the whole laptop powers down. I have tried using `Settings > Key Bindings` and `Settings > ACPI Bindings` to set the power button to Suspend but it just keeps on powering off. Any ideas on how I could fix it? I don't mind editing config files by hand if need be. Thank you! Jake 
|
|
|
Post by thewaiter on Oct 18, 2022 11:24:07 GMT
Hello and welcome I solved this problem for one guy on discord. Let me find the solution when I get home in the evening. It is possible to help you  Stefan
|
|
|
Post by thewaiter on Oct 18, 2022 11:35:52 GMT
OK, this was the solution if my memory serves me:
Check your /etc/systemd/logind.conf file. It should look like this:
[Login] #NAutoVTs=6 #ReserveVT=6 #KillUserProcesses=no #KillOnlyUsers= #KillExcludeUsers=root #Controllers= #ResetControllers=cpu #InhibitDelayMaxSec=5 #HandlePowerKey=poweroff #HandleSuspendKey=suspend #HandleHibernateKey=hibernate #HandleLidSwitch=suspend #PowerKeyIgnoreInhibited=no #SuspendKeyIgnoreInhibited=no #HibernateKeyIgnoreInhibited=no #LidSwitchIgnoreInhibited=yes #IdleAction=ignore #IdleActionSec=30min
Uncomment the line that says #HandlePowerKey=poweroff and change the value to ignore.
Reboot your computer.
|
|
jaker
Member
Posts: 6
Likes: 16
|
Post by jaker on Oct 18, 2022 18:08:04 GMT
Thank you thewaiter, that worked an absolute treat 
|
|