terminate - enables lock screen, log out, hibernate, reboot, shut down, suspend (provided by Starbuntu)
The Starbuntu program terminate integrates all the actions of termination of the computer session:
- Log out (parameter -l or --log-out; hotkey: Ctrl+Alt+Escape): the session gets terminated and the login window appears for a new login.
- Lock screen (parameter -m or --monitor-off; hotkey: Shift+Pause): locks the screen which can be unlocked again by typing the user password followed by the Return key. While the screen is locked a blue padlock is displayed.
- Hibernate (parameter -h or --hibernate; hotkey: Alt+Pause): In case you have set up a Swap partition on the hard disk with a size bigger than the size of the working memory the whole RAM gets written into this partition and then the power gets switched off, so that the computer can be taken off the power line. When the computer is started again the hibernated session will be restored. As this procedure can fail once in a while, all unsaved data should be saved before hibernating.
- Shut down (parameter -s or --shut-down; hotkey: Ctrl+Alt+q): the session gets terminated and the computer shuts down and switches the power off.
- Reboot (parameter -r or --reboot; hotkey: Ctrl+Alt+w): the session gets terminated and the computer shuts down and then reboots.
- Pause (parameter -p or --pause; hotkey: Pause): transfers the computer into the standby state and the session remains in the RAM. Therefore in this case the computer must not be taken off the power line, because otherwise all unsaved data get lost. Best you save also in this case all data before suspending the computer.
The "hard" terminations (Log out, Shut down, Reboot) which potentially cause a loss of data have a delay of some seconds and during this period they can be stopped with the hotkey Ctrl+Backspace. If the environment variable ENABLE_SESSION_SAVING=<true|false> is set to true in the file $HOME/.config/openbox/environment and windows are still open while calling the termination, the work session gets hibernated (see above) instead of executing the called termination so that no data gets lost.