https://bugs.kde.org/show_bug.cgi?id=422160

Wolfgang Bauer <wba...@tmo.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |RESOLVED
                 CC|                            |wba...@tmo.at
         Resolution|---                         |NOT A BUG

--- Comment #2 from Wolfgang Bauer <wba...@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 watching all bug changes.

Reply via email to