I am not talking about shutdown and reboot commands. I want to initiate the same routine from command line that would be performed if I would press the logout/reboot/shutdown button inside the KDE desktop.
|
|
|||||||||
|
|
For kde4:
The three integer parameters are the |
|||||
|
|
For any version of KDE (maybe also GNOME and others): In KDE Control Center (KDE3.5/trinity) you can set a keyboard shortcut for "halt without confirmation" (should be a complicated one to avoid tragedy, like Ctrl+Shift+Alt+Delete) and then run
You can create an alias for this (e.g. My favourite one: |
||||
|
|
|
I usually use init command for restart and ... . I like this command
|
|||||
|