gnome-session-quit
End the current GNOME session
see also :
gnome-session
Synopsis
gnome-session-quit
[--logout|--power-off|--reboot]
[--force] [--no-prompt]
add an example, a script, a trick and tips
examples
source
PATH=/usr/bin:/bin:$PATH
GSESSION_END="gnome-session-quit
--logout --no-prompt"
if ! hash
gnome-session-quit 2>/dev/null; then
description
The
gnome-session-quit program can be used to end a GNOME
session.
options
The following
options are supported:
--logout
Prompt the user to confirm
logout. This is the default behavior.
--power-off
Prompt the user to confirm
system power off.
--reboot
Prompt the user to confirm
system reboot.
--force
Ignore any inhibitors.
--no-prompt
End the session without user
interaction. This only works with --logout.
bugs
If you find
bugs in the gnome-session-quit program, please report
these on https://bugzilla.gnome.org.
see also
gnome-session