Skip to content

Instantly share code, notes, and snippets.

@keks55
Created September 17, 2017 08:40
Show Gist options
  • Save keks55/bf80d03f29f635eb53c3b6f7e23a219c to your computer and use it in GitHub Desktop.
Save keks55/bf80d03f29f635eb53c3b6f7e23a219c to your computer and use it in GitHub Desktop.
Openbox menu.xml
<?xml version="1.0" encoding="utf-8"?>
<openbox_menu xmlns="http://openbox.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://openbox.org/ file:///usr/share/openbox/menu.xsd">
<menu id="root-menu" label="Openbox 3">
<item label="Terminal emulator">
<action name="Execute">
<execute>x-terminal-emulator</execute>
</action>
</item>
<item label="Web browser">
<action name="Execute">
<execute>firefox</execute>
</action>
</item>
<item label="FTP client">
<action name="Execute">
<execute>filezilla</execute>
</action>
</item>
<item label="Sublime">
<action name="Execute">
<execute>subl</execute>
</action>
</item>
<!-- This requires the presence of the 'menu' package to work -->
<menu id="/Debian"/>
<separator/>
<menu id="client-list-menu"/>
<separator/>
<item label="ObConf">
<action name="Execute">
<execute>obconf</execute>
</action>
</item>
<item label="Reconfigure">
<action name="Reconfigure"/>
</item>
<separator/>
<item label="Exit">
<!--<action name="Execute">
<command>xfce4-session-logout</command>
</action>-->
<action name="Exit"/>
</item>
<item label="Reboot">
<action name="Execute">
<execute>
sudo shutdown -r now
</execute>
</action>
</item>
</menu>
</openbox_menu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment