johan
Member
Posts: 19
Likes: 13
|
Post by johan on Jul 27, 2023 14:58:59 GMT
Hello, I have seen a thread on this forum regarding "suspend when lid closes". Maybe I am wrong, but I did not find a topic on "shutdown bodhi when lid closes". After having installed Gedit, I ran the following command: sudo gedit /etc/systemd/logind.conf In there I changed HandleLidSwitch=poweroff – for a shutdown after a lid close. This however, did not change anything. I have read about acpi bindings in the other post, this seems rather complicated. Is there maybe a simple way to influence the lid behavior? Thanks in advance Johan
|
|
|
Post by Hippytaff on Jul 27, 2023 21:55:49 GMT
acpi bindings is the way to go. Give it a try.
|
|
johan
Member
Posts: 19
Likes: 13
|
Post by johan on Aug 1, 2023 18:02:49 GMT
I gave it a try, I found the setting. It says "Deksel gesloten" (lid closed). The action connected to this is "Uitschakelen" (shut down). I press OK, but when I close the lid, nothing happens unfortunately.
|
|
|
Post by Hippytaff on Aug 1, 2023 18:15:36 GMT
You might need to click apply then ok.
|
|
johan
Member
Posts: 19
Likes: 13
|
Post by johan on Aug 2, 2023 8:14:11 GMT
I did press apply, then ok, made sure the settings were saved. However, when I close the lid, nothings happens. Do I maybe have to this as an Administrator?
|
|
|
Post by Hippytaff on Aug 2, 2023 9:07:08 GMT
No, but if it’s any consolation it doesn’t seem to work here either. I’ll have a proper look when I get a few minutes and try and work out why. Maybe we’re missing something.
|
|
|
Post by thewaiter on Aug 3, 2023 19:30:52 GMT
You have to uncomment HandleLidSwitch=poweroff. Remove # char at the line. Reboot your PC
Stefan
|
|
|
Post by Hippytaff on Aug 3, 2023 20:02:52 GMT
Turns out we were missing something lol
|
|
enigma9o7
Crew Member
 
Posts: 1,222
Likes: 1,218
|
Post by enigma9o7 on Aug 3, 2023 21:48:53 GMT
And btw, Bodhi already comes with a simple gui text editor called "leafpad", as well as a simple cli text editor "nano" so no need to install gedit unless you prefer it.
|
|
johan
Member
Posts: 19
Likes: 13
|
Post by johan on Aug 4, 2023 21:02:04 GMT
Thanks it works now.
|
|