Lockscreen shutdown action buttons

Could be really useful to have shutdown and restart buttons for the lockscreen.

2 Likes

They were removed more than ten years ago I believe (though I rarely use LockScreen).

Shutdown is potentially dangerous and destructive, whereas suspend is not… and if someone else has permission to use the machine they can always switch user. The alternative to suspend (Hibernate) is also available if battery is an issue.

But certainly it’s likely you must definitely enter a password to restart or shutdown from the lock screen, so there’s little benefit when you can enter your password and THEN shutdown.

  • I could be, and often am, completely wrong.
1 Like

Interesting, if someone has your machine and they don’t know the password they can still just press the shutdown button on the machine itself or pull the plug, unless it’s remote control we’re talking about. In any case that “security measure” seem a bit opinionated, but ok.

1 Like

Don’t know if that was changed with Plasma-login (introduced certainly less than ten years ago) but with sddm I can just select “swich user” at the lockscreen and then either shutdown or restart at the following sddm screen without to have to login.
While you probably could “play” with the permissions to prevent that, on every Ubuntu based Distro I used in the past, and now on Arch, I could use that “no login needed to gracefully shutdown” way/workaround out of the box (gracefully is the keyword here compared to long press the power button or pull the plug IMO but granted someone could lose a bunch of work if they don’t save before locking the system). It is currently just a little bit more hidden, some could even say “security through obscurity” :wink: