Skip to content

Instantly share code, notes, and snippets.

@matthewhartman
Created July 23, 2014 12:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewhartman/1e61ed4dfd34b5bfcd46 to your computer and use it in GitHub Desktop.
Save matthewhartman/1e61ed4dfd34b5bfcd46 to your computer and use it in GitHub Desktop.
Openbox Menu Config
<?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/">
<menu id="root-menu" label="Openbox 3">
<item label="Web Browser">
<action name="Execute">
<command>
x-www-browser
</command>
</action>
</item>
<item label="Terminal">
<action name="Execute">
<command>
terminator
</command>
</action>
</item>
<item label="Nero Linux">
<action name="Execute">
<command>nero</command>
</action>
</item>
<item label="Sublime Text 2">
<action name="Execute">
<command>sublime-text</command>
</action>
</item>
<item label="Pidgin Messenger">
<action name="Execute">
<command>pidgin</command>
</action>
</item>
<item label="Skype">
<action name="Execute">
<command>skype</command>
</action>
</item>
<item label="Spotify">
<action name="Execute">
<command>spotify</command>
</action>
</item>
<item label="File Manager">
<action name="Execute">
<command>
thunar
</command>
</action>
</item>
<item label="App Finder">
<action name="Execute">
<command>xfce4-appfinder</command>
</action>
</item>
<separator/>
<menu execute="cb-places-pipemenu" id="pipe-placesmenu" label="Places"/>
<separator/>
<menu id="settings" label="Settings">
<menu execute="cb-compositor" id="CompositingPipeMenu" label="Compositor"/>
<menu id="conkyconfig" label="Conky">
<item label="Edit .conkyrc">
<action name="Execute">
<command>sublime-text ~/.conkyrc</command>
</action>
</item>
<item label="Restart Conky">
<action name="Execute">
<command>
conkywonky
</command>
</action>
</item>
<separator label="Help?"/>
<item label="man page">
<action name="Execute">
<command>
terminator --command=&quot;man conky&quot;
</command>
</action>
</item>
<item label="Wiki Page">
<action name="Execute">
<command>
x-www-browser http://crunchbanglinux.org/wiki/conky
</command>
</action>
</item>
</menu>
<menu id="dmenuconfig" label="dmenu">
<item label="Edit start-up script">
<action name="Execute">
<command>sublime-text ~/.config/dmenu/dmenu-bind.sh</command>
</action>
</item>
<separator label="Help?"/>
<item label="man page">
<action name="Execute">
<command>
terminator --command=&quot;man dmenu&quot;
</command>
</action>
</item>
</menu>
<menu id="gmrunconfig" label="gmrun">
<item label="Edit config file">
<action name="Execute">
<command>sublime-text ~/.gmrunrc</command>
</action>
</item>
<separator label="Help?"/>
<item label="man page">
<action name="Execute">
<command>
terminator --command=&quot;man gmrun&quot;
</command>
</action>
</item>
</menu>
<menu id="obConfig" label="Openbox">
<item label="Edit menu.xml">
<action name="Execute">
<command>sublime-text ~/.config/openbox/menu.xml</command>
</action>
</item>
<item label="Edit rc.xml">
<action name="Execute">
<command>sublime-text ~/.config/openbox/rc.xml</command>
</action>
</item>
<item label="Edit autostart">
<action name="Execute">
<command>sublime-text ~/.config/openbox/autostart</command>
</action>
</item>
<separator/>
<item label="GUI Menu Editor">
<action name="Execute">
<command>
obmenu
</command>
</action>
</item>
<item label="GUI Applications Settings Editor">
<action name="Execute">
<command>
obapps
</command>
</action>
</item>
<item label="GUI Config Tool">
<action name="Execute">
<command>
obconf
</command>
</action>
</item>
<separator/>
<item label="Reconfigure">
<action name="Reconfigure"/>
</item>
<item label="Restart">
<action name="Restart"/>
</item>
</menu>
<menu id="terminatorconfig" label="Terminator">
<item label="Edit config file">
<action name="Execute">
<command>sublime-text ~/.config/terminator/config</command>
</action>
</item>
<separator label="Help?"/>
<item label="man page">
<action name="Execute">
<command>
terminator --command=&quot;man terminator_config&quot;
</command>
</action>
</item>
</menu>
<menu id="tint2config" label="tint2">
<item label="Edit config file">
<action name="Execute">
<command>sublime-text ~/.config/tint2/tint2rc</command>
</action>
</item>
<item label="Restart tint2">
<action name="Execute">
<command>
tint2restart
</command>
</action>
</item>
<separator label="Help?"/>
<item label="man page">
<action name="Execute">
<command>
terminator --command=&quot;man tint2&quot;
</command>
</action>
</item>
<item label="Online Help">
<action name="Execute">
<command>
x-www-browser http://code.google.com/p/tint2/wiki/Welcome
</command>
</action>
</item>
</menu>
<menu id="DisplaySettings" label="Display Settings">
<item label="ARandR Screen Layout Editor">
<action name="Execute">
<command>
arandr
</command>
</action>
</item>
<separator label="Help?"/>
<item label="man xrandr">
<action name="Execute">
<command>
terminator --command=&quot;man xrandr&quot;
</command>
</action>
</item>
</menu>
<item label="Edit Default Applications">
<action name="Execute">
<command>
terminator --command=&quot;sudo update-alternatives --all&quot;
</command>
</action>
</item>
<item label="User Interface Settings">
<action name="Execute">
<command>
lxappearance
</command>
</action>
</item>
<item label="Power Management">
<action name="Execute">
<command>
xfce4-power-manager-settings
</command>
</action>
</item>
<item label="Screensaver">
<action name="Execute">
<command>
xscreensaver-demo
</command>
</action>
</item>
<item label="Choose Wallpaper">
<action name="Execute">
<command>
nitrogen ~/images/wallpapers/
</command>
</action>
</item>
</menu>
<menu id="system" label="System">
<menu execute="cb-printing-pipemenu" id="PrintingPipeMenu" label="Printers"/>
<item label="GParted">
<action name="Execute">
<command>
gksudo gparted
</command>
</action>
</item>
<item label="Synaptic Package Manager">
<action name="Execute">
<command>
gksudo synaptic
</command>
</action>
</item>
<item label="User Login Settings">
<action name="Execute">
<command>
gksudo slimconf
</command>
</action>
</item>
</menu>
<!--<menu id="help" label="Help" execute="cb-help-pipemenu" />-->
<separator/>
<item label="Lock Screen">
<action name="Execute">
<command>
cb-lock
</command>
</action>
</item>
<item label="Exit">
<action name="Execute">
<command>
cb-exit
</command>
</action>
</item>
</menu>
</openbox_menu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment