--help Show this help
-h, --halt Turn Off Computer
-s, --shutdown Turn Off Computer (like above)
-k, --lock Lock screen
-r, --reboot Restart Computer
-l, --logout Logout
-H, --hibernate Hibernate Computer
-S, --suspend Suspend Computer (sleep)
--test Test Action (does nothing)
-e, --extra <file> Run executable file (see link below)
-i, --inactivity Detect user inactivity. Example: --logout --inactivity 90
- automatically logout after 90 minutes of user inactivity
--cancel Cancel an active action
--confirm Confirm command line action
--hide-ui Hide main window and system tray icon
--init Do not show main window on startup
time Activate countdown.
See [Extras]
By default KShutdown will pick the "best" style that matches your Desktop Environment. However, you can always override the default look and feel with -style <id>
option, where <id>
is one of the following standard names:
Example command: kshutdown -style oxygen