shutdown menu item

Kete <[email protected]>
Newsgroups gmane.comp.window-managers.fluxbox.user
Message-ID <[email protected]>
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.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.