Kete
2010-07-04 13:40:47 UTC
Hello,
I put Shutdown in my menu and clicked on Reconfigure, but clicking on
Shutdown doesn't shut down the computer. I'm using xdm in Debian, and
here is my .fluxbox/menu:
[begin] (fluxbox)
[include] (/etc/X11/fluxbox/fluxbox-menu)
[exec] (Shutdown) { #!/bin/sh
gdmflexiserver -a -c 'SET_LOGOUT_ACTION HALT'
kill -TERM $(xprop -root _BLACKBOX_PID | awk '{print $3}') }
[end]
That's based on
http://fluxbox-wiki.org/index.php?title=Shutdown_computer_with_dialog I
also moved it to /etc/X11/fluxbox/fluxbox-menu and clicked Reconfigure,
but it still didn't work.
I put Shutdown in my menu and clicked on Reconfigure, but clicking on
Shutdown doesn't shut down the computer. I'm using xdm in Debian, and
here is my .fluxbox/menu:
[begin] (fluxbox)
[include] (/etc/X11/fluxbox/fluxbox-menu)
[exec] (Shutdown) { #!/bin/sh
gdmflexiserver -a -c 'SET_LOGOUT_ACTION HALT'
kill -TERM $(xprop -root _BLACKBOX_PID | awk '{print $3}') }
[end]
That's based on
http://fluxbox-wiki.org/index.php?title=Shutdown_computer_with_dialog I
also moved it to /etc/X11/fluxbox/fluxbox-menu and clicked Reconfigure,
but it still didn't work.