View previous topic :: View next topic |
Author |
Message |
yuri n00b
Joined: 20 Mar 2003 Posts: 3 Location: Tallinn
|
Posted: Fri Aug 08, 2003 8:14 pm Post subject: Windows style shutdown dialog for Gnome |
|
|
I wanted to find a shutdown dialog for gnome. To be displayed when my notebook power button is pressed. At the moment I have acpid configured to shutdown the machine. But would be better if a shutdown/restart/cancel dialog popped up.
Is there one for gnome I can invoke? |
|
Back to top |
|
|
Z? Tux's lil' helper
Joined: 22 Jan 2003 Posts: 118 Location: Waterloo, Ontario, Canada
|
Posted: Sat Aug 09, 2003 2:35 am Post subject: |
|
|
See 'man gnome-session-save':
Quote: | NAME
gnome-session-save - Saves the current GNOME session (or terminates it)
SYNOPSIS
gnome-session-save [--kill] [--gui]
DESCRIPTION
gnome-session-save can be used from a GNOME session to save a snapshot of the currently running applications. This session will be later restored at your next GNOME startup session.
You can specify the --kill argument to terminate the GNOME session.
The --gui argument will show a dialog when the session is saved, and report errors in dialog boxes instead of printing to stderr.
SEE ALSO
gnome-session(1)
|
|
|
Back to top |
|
|
yuri n00b
Joined: 20 Mar 2003 Posts: 3 Location: Tallinn
|
Posted: Sat Aug 09, 2003 4:15 pm Post subject: |
|
|
That just terminates Gnome, saving my current windows.
I want something that lets me choose between shutdown and restart, or cancel. |
|
Back to top |
|
|
|