GNOME-SESSION-SHUTDOWN

Name

gnome-session-shutdown — bring the GNOME session down

Synopsis

gnome-session-shutdown [-s] [-S] [-n] [-f] [-q | -v] -l TIME | -r TIME | -P TIME | -k TIME | -c | -h | –version [MESSAGE]...

DESCRIPTION

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.

OPTIONS

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
Do not broadcast warning messages on the terminals of logged in users.
-S, --no-notify
Do not send desktop notifications.
-n, --no-dialog
No confirmation interface should be shown before logging out.
-f, --force
All the programs will be forcefully closed ignoring any inhibitors and no interface will be shown before logging out.
-q, --quiet
Reduce output to errors only.
-v, --verbose
Increase output to include informational messages.
-l, --logout=TIME
Close all programs and log out of the computer. If the -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
Close all programs and reboot the computer.
-P, --poweroff=TIME
Close all programs and shut down the computer. If the -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
Only send warnings, don't shutdown.
-c, --cancel
Cancel a running shutdown.
-h, --help
Show summary of options.
--version
Show version of program.

SEE ALSO

gnome-session-save(1), gnome-session(1), shutdown(8).

AUTHOR

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.