[kde] [Bug 422160] shutdown by key
Wolfgang Bauer
bugzilla_noreply at kde.org
Sun May 31 20:35:49 BST 2020
https://bugs.kde.org/show_bug.cgi?id=422160
Wolfgang Bauer <wbauer at tmo.at> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REPORTED |RESOLVED
CC| |wbauer at tmo.at
Resolution|--- |NOT A BUG
--- Comment #2 from Wolfgang Bauer <wbauer at tmo.at> ---
That's already possible since years.
You can assign a keyboard shortcut to the shutdown actions in
systemsettings5->Shortcuts->Global Shortcuts.
Check the "KDE Session Management" and "org_kde_powerdevil" components.
It's also possible to do it from a script via D-BUS, run something like:
qdbus org.kde.ksmserver /KSMServer logout 0 0 0
See
https://superuser.com/questions/395820/how-to-properly-end-a-kde-session-from-shell-without-root-privileges
(you may have to replace qdbus by qdbus-qt5)
Please feel free to reopen this bug if I misunderstood you.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list