how do I make power button do shutdown

Archived topics about LMDE 1 and LMDE 2
Locked
ginjabunny

how do I make power button do shutdown

Post by ginjabunny »

I was on LMDE UP4, but reinstalled LMDE from scratch with UP5, in UP4 when I hit the power button I got the "Shutdown this system now" option dialog (like I do in Mint13) but now with UP5 when I hit the power button it immediately seems to sleep or suspend or something and won't wake, how to I change the behaviour of the power button back to how it was, I can't see anything obvious.

Help

GB
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
xircon

Re: how do I make power button do shutdown

Post by xircon »

Code: Select all

`dbus-launch | sed "s/^/export /"`
GSETTINGS_BACKEND=dconf gsettings set org.gnome.settings-daemon.plugins.power button-power 'shutdown'
GSETTINGS_BACKEND=dconf gsettings set org.gnome.settings-daemon.plugins.power button-hibernate 'shutdown'
gsettings list-recursively org.gnome.settings-daemon.plugins.power
Worked for me. Brings up a dialog box, but shuts down after 60 seconds.

Steve
ginjabunny

Re: how do I make power button do shutdown

Post by ginjabunny »

ah, thanks @xircon, hidden away in dconf, I vaguely remember doing something with it a year or so ago, will give it a go.
Locked

Return to “LMDE Archive”