Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Windows style shutdown dialog for Gnome
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
yuri
n00b
n00b


Joined: 20 Mar 2003
Posts: 3
Location: Tallinn

PostPosted: Fri Aug 08, 2003 8:14 pm    Post subject: Windows style shutdown dialog for Gnome Reply with quote

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
View user's profile Send private message
Z?
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jan 2003
Posts: 118
Location: Waterloo, Ontario, Canada

PostPosted: Sat Aug 09, 2003 2:35 am    Post subject: Reply with quote

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
View user's profile Send private message
yuri
n00b
n00b


Joined: 20 Mar 2003
Posts: 3
Location: Tallinn

PostPosted: Sat Aug 09, 2003 4:15 pm    Post subject: Reply with quote

That just terminates Gnome, saving my current windows.

I want something that lets me choose between shutdown and restart, or cancel.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum