You are not logged in.

#1 2018-10-07 21:21:15

Loyalty_Cham
Banned
Registered: 2018-06-19
Posts: 21

Openbox how to make obmenu-generator include shutdown/reboot options

Hello fellows!
I am configuring openbox on my Arch system. I downloaded obmenu-generator from the AUR, but when I created a
dynamic menu icon my shutdown and reboot options will disappear only the exit menu will be available when I right click.

How can I make obmenu-generator to include my poweroff/reboot  command automatically in the right click menu if I create a dynamic menu please?

Thanks! Your effort are much appreciated.

Below is my shutdown/reboot menu configuration

<item label="Shutdown">
        <action name="Execute">
         <prompt>
            Are you sure you want to shutdown Muhammed?
        </prompt>

    <command>systemctl poweroff</command>
        </action>
</item>



<item label="Restart">
        <action name="Execute">
        <prompt>
            Are you sure you want to reboot Muhammed?
        </prompt>

       <command>systemctl reboot</command>
        </action>
    </item>.

Offline

Board footer

Powered by FluxBB