You are not logged in.

#1 2009-06-06 23:06:17

playdafunkimuzic
Member
Registered: 2008-10-25
Posts: 220

Add shutdown ability to xfce4-panel (Openbox)

I'm running openbox, and have found myself typing 'shutdown -h now' for the longest time...I use xfce4-panel, is there anyway to add shutdown ability to it?

Offline

#2 2009-06-07 04:16:28

playdafunkimuzic
Member
Registered: 2008-10-25
Posts: 220

Re: Add shutdown ability to xfce4-panel (Openbox)

anyone? smile

Offline

#3 2009-06-07 04:56:56

DevoidOfWindows
Member
Registered: 2009-05-24
Posts: 133

Re: Add shutdown ability to xfce4-panel (Openbox)

I think you have to be using Xfce's session manager and a login manager in order to have that option when you select "Log Out" from the panel.

Last edited by DevoidOfWindows (2009-06-07 04:57:26)

Offline

#4 2009-06-07 10:02:06

txus
Member
Registered: 2008-01-23
Posts: 78

Re: Add shutdown ability to xfce4-panel (Openbox)

I don't know if this is what you were asking for, but you could create a launcher with hal's shutdown command. That way you won't have to write the password, which probably is what's bothering you.

You can notify hal like this:

dbus-send --system --print-reply --dest="org.freedesktop.Hal" /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Shutdown

Source, and other useful commands: http://forums.debian.net/viewtopic.php?p=205817

Hope it helps!

Offline

#5 2009-06-07 10:42:09

snoblo
Member
Registered: 2008-05-01
Posts: 47

Re: Add shutdown ability to xfce4-panel (Openbox)

Not sure if this is the best solution, but this is what I use
http://urukrama.wordpress.com/2007/12/0 … n-openbox/
Just make sure to change 'gmessage' to 'xmessage' or 'gxmessage' (install it if you don't have it)


pacman is hungry today
My webcomic series about lonely programmers smile

Offline

Board footer

Powered by FluxBB