SUMMARY There is a shortcut (Ctrl+Alt+Del by default) to trigger the logout dialog with "Log Out" pre-selected. One can generate similar shortcuts for the same dialog with a different option pre-selected by using a widget, but there aren't any such direct shortcuts from the system settings menu to set it. STEPS TO REPRODUCE 1. Try to assign the shortcut Ctrl+Alt+Del to the logout dialog with the "Restart" option pre-selected. OBSERVED RESULT Not possible from the system settings, and not possible to configure the default option after someone decided to remove it in the latest plasma. EXPECTED RESULT Should have an easy way to have Ctrl+Alt+Del trigger the logout dialog with "Restart" pre-selected without involving external widgets. SOFTWARE/OS VERSIONS Operating System: Debian GNU/Linux 12 KDE Plasma Version: 5.27.2 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 Kernel Version: 6.1.0-5-amd64 (64-bit) Graphics Platform: X11 Processors: 20 × 12th Gen Intel® Core™ i7-12700H Memory: 62.6 GiB of RAM Graphics Processor: Mesa Intel® Graphics Manufacturer: SLIMBOOK Product Name: Executive ADDITIONAL INFORMATION
*** This bug has been marked as a duplicate of bug 465584 ***
(In reply to Nate Graham from comment #1) > > *** This bug has been marked as a duplicate of bug 465584 *** But this is not a duplicate: it's very reasonable to want different shortcuts for "restart", "shutdown", "sleep"; regardless of what's the default logout option.
All right, fair enough. I do see that we have an action "Reboot without confirmation" so it probably does make sense to add a companion "Reboot [implicitly with confirmation]" action to go along with it.
Git commit 35e11117a2543316527fe17501e6a192f3676ccc by Nate Graham. Committed on 14/03/2023 at 20:53. Pushed by ngraham into branch 'master'. ksmserver: replace "Halt" with "Shut Down" in user-facing text "Halt" is technically unclear to the user and sounds vaguely threatening. Let's instead use the more common, clear, and user-friendly term "Shut Down" that we use everywhere else. M +2 -2 ksmserver/server.cpp https://invent.kde.org/plasma/plasma-workspace/commit/35e11117a2543316527fe17501e6a192f3676ccc
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2747
Git commit bd338de726562444fa8b60695cb2dec90499eb58 by Nate Graham. Committed on 15/03/2023 at 01:07. Pushed by ngraham into branch 'master'. ksmserver: add "with confirmation" actions for Shut Down and Restart Currently we have one of these only for logging out, but not also for restarting or shutting down. Let's add them for consistency's sake. FIXED-IN: 6.0 M +23 -0 ksmserver/server.cpp M +2 -0 ksmserver/server.h https://invent.kde.org/plasma/plasma-workspace/commit/bd338de726562444fa8b60695cb2dec90499eb58
Oh, cool! I have almost missed this thread. Now I just need to finish my patch that binds "without confirmation" and regular shortcuts to Kickoff footer UI.