gnome-session-shutdown — bring the GNOME session down
gnome-session-shutdown [-s] [-S] [-n] [-f] [-q | -v] -l TIME | -r TIME | -P TIME | -k TIME | -c | -h | –version [MESSAGE]...
gnome-session-shutdown
arranges for the GNOME session to be brought down in a safe way.
TIME may have different formats, the most common is simply the word `‘now’' which will bring the session down immediately. Other valid formats are ‘+m’, where m is the number of minutes to wait until shutting down and ‘hh:mm’ which specifies the time on the 24hr clock.
The user is warned by a message sent to his desktop, you may include an optional MESSAGE included with this. Messages can be sent without actually bringing the session down by using the -k
option.
If TIME is given, the command will remain in the foreground until the shutdown occurs. It can be cancelled by <Control> + <C>, or by using the -c
option.
Once TIME has elapsed, gnome-session-shutdown
sends a request to the gnome-session
(1) process to log out, reboot or shut down the computer.
This program follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below.
-s
, --no-broadcast
-S
, --no-notify
-n
, --no-dialog
-f
, --force
-q
, --quiet
-v
, --verbose
-l
, --logout
=TIME-n
switch is not used, once TIME has elapsed, the GNOME session manager will show a shutdown dialog for 60 seconds before actually bringing the session down and logging out of the computer. Pressing the Cancel button on it will cancel the shutdown.
-r
, --reboot
=TIME-P
, --poweroff
=TIME-n
switch is not used, once TIME has elapsed, the GNOME session manager will show a shutdown dialog for 60 seconds before actually bringing the session down and shutting down the computer. Pressing the Cancel button on it will cancel the shutdown.
-k
, --warn-only
=TIME-c
, --cancel
-h
, --help
--version
gnome-session-save(1), gnome-session(1), shutdown(8).
gnome-session-shutdown
was written by Jacopo Lorenzetti jacopol@cyan.xubiq.com.
This manual page was written by Jacopo Lorenzetti jacopol@cyan.xubiq.com. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.