Comments on: Linux Desktop How to shutdown, restart or logoff gnome via command / Launcher http://www.cyberciti.biz/tips/linux-desktop-how-to-shutdown-restart-or-logoff-gnome-via-commandlauncher.html This is a Linux sys admin journal by Vivek about sys admin work, Linux tips & tricks, hacks, news and more. Fri, 10 Feb 2012 20:37:43 +0000 hourly 1 http://wordpress.org/?v=3.3.1 By: rishihttp://www.cyberciti.biz/tips/linux-desktop-how-to-shutdown-restart-or-logoff-gnome-via-commandlauncher.html#comment-176741 rishi Fri, 09 Dec 2011 16:44:18 +0000 http://www.cyberciti.biz/tips/linux-desktop-%e2%80%93-how-to-shutdown-restart-or-logoff-gnome-via-commandlauncher.html#comment-176741 thank u randuwe. I was looking for it. thank u randuwe. I was looking for it.

]]>
By: Andreahttp://www.cyberciti.biz/tips/linux-desktop-how-to-shutdown-restart-or-logoff-gnome-via-commandlauncher.html#comment-174413 Andrea Wed, 28 Sep 2011 08:54:31 +0000 http://www.cyberciti.biz/tips/linux-desktop-%e2%80%93-how-to-shutdown-restart-or-logoff-gnome-via-commandlauncher.html#comment-174413 Thanks for this post! I really needed it. I knew how to create launchers for shutdown and reboot, but not for logoff. I really miss that single multi-purpose button Gnome use to have. Thanks for this post! I really needed it. I knew how to create launchers for shutdown and reboot, but not for logoff. I really miss that single multi-purpose button Gnome use to have.

]]>
By: randuwehttp://www.cyberciti.biz/tips/linux-desktop-how-to-shutdown-restart-or-logoff-gnome-via-commandlauncher.html#comment-174264 randuwe Fri, 23 Sep 2011 06:48:29 +0000 http://www.cyberciti.biz/tips/linux-desktop-%e2%80%93-how-to-shutdown-restart-or-logoff-gnome-via-commandlauncher.html#comment-174264 hey, I know the easiest way to make a logout and shutdown launcher. first step is create launcher as usual, like right click any place on desktop then in command box, type "gnome-session-save --logout-dialog" without quote, this will launch the default logout dialog. and type "gnome-session-save --shutdown-dialog" without quote to show shutdown dialog. as you can see, this just can be done in gnome. so, make two launcher for logout and shutdown. thanks for your attention :) hey, I know the easiest way to make a logout and shutdown launcher.
first step is create launcher as usual, like right click any place on desktop
then in command box, type “gnome-session-save –logout-dialog”
without quote, this will launch the default logout dialog.
and type “gnome-session-save –shutdown-dialog” without quote to show shutdown dialog.
as you can see, this just can be done in gnome. so, make two launcher for logout and shutdown.

thanks for your attention :)

]]>
By: jeethttp://www.cyberciti.biz/tips/linux-desktop-how-to-shutdown-restart-or-logoff-gnome-via-commandlauncher.html#comment-159770 jeet Tue, 21 Sep 2010 16:22:31 +0000 http://www.cyberciti.biz/tips/linux-desktop-%e2%80%93-how-to-shutdown-restart-or-logoff-gnome-via-commandlauncher.html#comment-159770 gnome-kill like based commands how to use and how to find things gnome-kill like based commands how to use and how to find things

]]>
By: a.k.van der tuinhttp://www.cyberciti.biz/tips/linux-desktop-how-to-shutdown-restart-or-logoff-gnome-via-commandlauncher.html#comment-159195 a.k.van der tuin Thu, 26 Aug 2010 12:52:04 +0000 http://www.cyberciti.biz/tips/linux-desktop-%e2%80%93-how-to-shutdown-restart-or-logoff-gnome-via-commandlauncher.html#comment-159195 cannot remove shutdown dialog on screen cannot remove shutdown dialog on screen

]]>
By: Maximehttp://www.cyberciti.biz/tips/linux-desktop-how-to-shutdown-restart-or-logoff-gnome-via-commandlauncher.html#comment-156599 Maxime Mon, 14 Jun 2010 21:39:38 +0000 http://www.cyberciti.biz/tips/linux-desktop-%e2%80%93-how-to-shutdown-restart-or-logoff-gnome-via-commandlauncher.html#comment-156599 I wasn't satified by the "sudo shutdown" because shutdown doesn't require specific rights in desktop environnement. Therefore I've searched for something else and finally found these commands using dbus (working on ubuntu Lucid) : #shutdown dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop #restart dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart I wasn’t satified by the “sudo shutdown” because shutdown doesn’t require specific rights in desktop environnement. Therefore I’ve searched for something else and finally found these commands using dbus (working on ubuntu Lucid) :

#shutdown
dbus-send –system –print-reply –dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop

#restart
dbus-send –system –print-reply –dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart

]]>
By: Tarvyhttp://www.cyberciti.biz/tips/linux-desktop-how-to-shutdown-restart-or-logoff-gnome-via-commandlauncher.html#comment-152939 Tarvy Fri, 15 Jan 2010 17:11:16 +0000 http://www.cyberciti.biz/tips/linux-desktop-%e2%80%93-how-to-shutdown-restart-or-logoff-gnome-via-commandlauncher.html#comment-152939 Hey thanks for all the usefull info, In this article, for the restart command first say you say to type “sudo /sbin/restart”; But then the picture says “sudo /sbin/reboot”, On Intrepid I checked my sbin file to wich one exists and only the reboot command(application) was there. I still found what i was looking for though, and hope you will fix that so others dont mess up. Hey thanks for all the usefull info,

In this article, for the restart command first say you say to type “sudo /sbin/restart”; But then the picture says “sudo /sbin/reboot”, On Intrepid I checked my sbin file to wich one exists and only the reboot command(application) was there.

I still found what i was looking for though, and hope you will fix that so others dont mess up.

]]>
By: Johanhttp://www.cyberciti.biz/tips/linux-desktop-how-to-shutdown-restart-or-logoff-gnome-via-commandlauncher.html#comment-151419 Johan Mon, 02 Nov 2009 05:43:19 +0000 http://www.cyberciti.biz/tips/linux-desktop-%e2%80%93-how-to-shutdown-restart-or-logoff-gnome-via-commandlauncher.html#comment-151419 With Gnome in OpenSuse 11.1 the shutdown dialog lets you only logout to single user mode instead of shutting down. Seems like this tutorial is just the solution needed, thank you. I've found that "shutdown -P" also causes the system to switch to single user mode, while "shutdown -h" lets it shut down. Is there any way to change the behaviour of "shutdown -P" to actually power down? It only makes sense that the -P option should switch off the pc and Gnome most probably uses that as well. With Gnome in OpenSuse 11.1 the shutdown dialog lets you only logout to single user mode instead of shutting down. Seems like this tutorial is just the solution needed, thank you. I’ve found that “shutdown -P” also causes the system to switch to single user mode, while “shutdown -h” lets it shut down. Is there any way to change the behaviour of “shutdown -P” to actually power down? It only makes sense that the -P option should switch off the pc and Gnome most probably uses that as well.

]]>
By: Jeff Gobelhttp://www.cyberciti.biz/tips/linux-desktop-how-to-shutdown-restart-or-logoff-gnome-via-commandlauncher.html#comment-145043 Jeff Gobel Thu, 18 Sep 2008 15:31:47 +0000 http://www.cyberciti.biz/tips/linux-desktop-%e2%80%93-how-to-shutdown-restart-or-logoff-gnome-via-commandlauncher.html#comment-145043 I had trouble finding this information, and this really helped me out. Much appreciated. I had trouble finding this information, and this really helped me out. Much appreciated.

]]>