Re: gnome logout by command



Almost perfect, the only bad thing for me that this pops up a dialog if
I really want to logout. If no other things, this will be good for me...


On Thu, Jun 29, 2006 at 11:07:08AM +0100, Magnus Therning wrote:
On Thu, Jun 29, 2006 at 08:06:07 +0200, POLONKAI Gergely wrote:
Hello List,

is it possible somehow to logout from the gnome desktop with a command
I execute e.g from a terminal or a script or somewhere?

I'm not sure, but would 'gnome-session-save --kill' do what you want?

/M

--
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@xxxxxxxxxxxx Jabber: magnus.therning@xxxxxxxxx
http://therning.org/magnus

Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.

$my_args = shift;
system("gcc $my_args");
print "I prefer C\n";
-- Robert Dieterich's contribution to the 2004 Perl Haiku Contest,
Haikus in Perl - 'Dishonerable Mention' winner



_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list


--
POLONKAI Gergely

Death is not a bug, it's a feature
_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list