How can I add a menu item to Openbox which launches a prompt to cancel or provide a root password, then shuts down X and the computer if the correct password was given? The question Shutting the computer down from Openbox is related, but the answer involved typing, not clicking through them menus.The documentation suggests that one add a systemctl poweroff menu like this, but the menus do not appear to work:<item label=Shutdown>    <action name=Execute>        <command>systemctl poweroff</command>    </action></item>I am using Debian 7.0.
How to shutdown the computer from Openbox as a menu item?
shutdown;openbox