Bug 487271 - Please, provide option to remove sleep/hibernate buttons from screen locker
Summary: Please, provide option to remove sleep/hibernate buttons from screen locker
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kscreenlocker
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: 6.0.4
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-20 07:47 UTC by Sergio
Modified: 2024-05-24 01:56 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergio 2024-05-20 07:47:20 UTC
SUMMARY

The Plasma screen locker includes a sleep (and possibly a hibernate button). I think that should be possible to configure it not to show these buttons, because of the following reasons:

- You do not want a casual user passing in front of your (locked) PC or laptop to be able to put it in hibernation or sleep;
- When you have the computer locked, after a short time the screen will go in stand by and turn black. To turn it on, it is common to move the mouse and press its buttons. But if the mouse buttons get pressed when the cursor is on the hibernate button, the computer will hibernate.

STEPS TO REPRODUCE
Go in the system-settings klockscreen setup

OBSERVED RESULT
 See that there is no configuration option to prevent the sleep/hibernate buttons from showing in the lock screen.

EXPECTED RESULT
Would be nice to have an option to prevent the sleep/hibernate buttons from showing in the lock screen.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.6.30-2-MANJARO (64-bit)
Graphics Platform: Wayland
Comment 1 Nate Graham 2024-05-24 01:56:18 UTC
Funny, it's more common for us to get the opposite request: to add the shutdown and restart buttons here.

The second justification seems like a hypothetical that's actually a non-issue in real usage. For the first justification, what's the actual problem with passersby being able to put the machine to sleep?  Has this caused an actual problem for you? Or is it a theoretical issue?