Summary: | closing kde session by key | ||
---|---|---|---|
Product: | [I don't know] kde | Reporter: | mehl |
Component: | general | Assignee: | Unassigned bugs <unassigned-bugs-null> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | mehl, nate |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
mehl
2020-07-11 08:49:05 UTC
It is, try Ctrl+Alt+Delete. :) You can see all the shortcuts at System Settings > Shortcuts > Session management. (In reply to Nate Graham from comment #1) > It is, try Ctrl+Alt+Delete. :) You can see all the shortcuts at System > Settings > Shortcuts > Session management. Thank you for your answer. The shortcut Ctrl+Alt+Delete is known to me. But two questions remain for me: 1. In good old times windows had to be defragmentated regularly. Now this is done automatically, in linux, too. But I read somewhere that e.g. the command 'halt' does NOT do it, only the click sequence starter > session > shutdown would do it. Is Ctrl+Alt+Delete _completely_ equivalent to the click sequence above? 2. I would like to have a command for the _complete_ shutdown process within a script. What do write there? Albrecht It is best to ask such questions in a forum instead of a bug tracker, but let me answer anyway. First, you are mixing up defragmentation, filesystem consistency, and applications needing to save state before shutdown. The filesystem will always be consistent, as long as you don't cut the power before the system has turned off itself. About the command-line shutdown tools, such as 'halt', 'poweroff', and 'shutdown': These do not ask applications to save state. All processes are terminated without giving them a chance to ask the user. To shutdown a graphical session from the command line, use a DBus command for the session manager: qdbus org.kde.ksmserver /KSMServer logout 1 2 3 If you replace 1 with 0, then it won't ask, i.e. proceed as if you had clicked Shutdown. For more information, see e.g. https://www.reddit.com/r/kde/comments/70hnzg/command_to_properly_shutdownreboot_kde_machine/ |