Re: Logout Script?



William Lamb <linuxadvocate notwires com> writes:

> Hello,
> 
> I would like to be able to bring up the Gnome logout dialog box by way
> of a script, instead of having to go to the menu and choose Log Out. 
> Can anyone tell me what shell commands to use?
> 
> I have looked through the Gnome Menu Editor to try to find the
commands
> behind the log out menu item, but it doesn't seem to show up in there.

 save-session --kill --gui

Should do it.

Regards,
                                        Owen

That worked great, but is it possible to exit the session without saving
it?  I usually don't want to save the session when I exit.  Thanks,

Bill







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]