Skip to content

Instantly share code, notes, and snippets.

@jcadam
Created November 11, 2012 14:50
Show Gist options
  • Save jcadam/4055114 to your computer and use it in GitHub Desktop.
Save jcadam/4055114 to your computer and use it in GitHub Desktop.
My 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/ file:///usr/share/openbox/menu.xsd">
<menu id="root-menu" label="Openbox 3">
<item label="Run Program">
<action name="Execute">
<execute>
gmrun
</execute>
</action>
</item>
<separator/>
<item label="Terminal">
<action name="Execute">
<execute>
terminator
</execute>
</action>
</item>
<item label="Web Browser">
<action name="Execute">
<execute>
firefox
</execute>
</action>
</item>
<item label="File Manager">
<action name="Execute">
<execute>
pcmanfm
</execute>
</action>
</item>
<item label="Text Editor">
<action name="Execute">
<execute>
geany
</execute>
</action>
</item>
<item label="Media Player">
<action name="Execute">
<execute>
smplayer
</execute>
</action>
</item>
<menu id="develop" label="Develop Tools">
<item label="Eclipse">
<action name="Execute">
<execute>
~/eclipse/eclipse
</execute>
</action>
</item>
<item label="Gimp">
<action name="Execute">
<execute>
gimp
</execute>
</action>
</item>
<item label="Inkscape">
<action name="Execute">
<execute>
inkscape
</execute>
</action>
</item>
</menu>
<separator/>
<menu id="debug-tools" label="Debug Tools">
<item label="Moserial">
<action name="Execute">
<execute>
moserial
</execute>
</action>
</item>
</menu>
<separator/>
<menu id="terminal" label="Terminal Apps">
<item label="Vim - Text Editor">
<action name="Execute">
<execute>
terminator --command=vim
</execute>
</action>
</item>
<item label="Midnight Commander - File Manager">
<action name="Execute">
<execute>
terminator --command=mc
</execute>
</action>
</item>
<item label="htop - System Monitor">
<action name="Execute">
<execute>
terminator --command=htop
</execute>
</action>
</item>
<menu id="terminalmanpages" label="Help?">
<separator label="man pages"/>
<item label="Vim">
<action name="Execute">
<execute>
terminator --command="man vim"
</execute>
</action>
</item>
<item label="Midnight Commander">
<action name="Execute">
<execute>
terminator --command="man mc"
</execute>
</action>
</item>
<item label="htop">
<action name="Execute">
<execute>
terminator --command="man htop"
</execute>
</action>
</item>
</menu>
</menu>
<separator/>
<menu id="places" label="Places" execute="obpipemenu-places ~" />
<separator/>
<menu id="preferences" label="Preferences">
<menu execute="xcompmgr-crunchbang" id="CompositingPipeMenu" label="Compositing"/>
<menu id="conkyconfig" label="Conky Config">
<item label="Edit .conkyrc">
<action name="Execute">
<execute>
geany ~/.conkyrc
</execute>
</action>
</item>
<item label="Restart Conky">
<action name="Execute">
<execute>
conkywonky
</execute>
</action>
</item>
<separator label="Help?"/>
<item label="man page">
<action name="Execute">
<execute>
terminator --command="man conky"
</execute>
</action>
</item>
<item label="Wiki Page">
<action name="Execute">
<execute>
firefox http://crunchbanglinux.org/wiki/conky
</execute>
</action>
</item>
</menu>
<menu id="dmenuconfig" label="dmenu Config">
<item label="Edit start-up script">
<action name="Execute">
<execute>
geany ~/.config/dmenu/dmenu-bind.sh
</execute>
</action>
</item>
<separator label="Help?"/>
<item label="man page">
<action name="Execute">
<execute>
terminator --command="man dmenu"
</execute>
</action>
</item>
</menu>
<menu id="gmrunconfig" label="gmrun Config">
<item label="Edit config file">
<action name="Execute">
<execute>
geany ~/.gmrunrc
</execute>
</action>
</item>
<separator label="Help?"/>
<item label="man page">
<action name="Execute">
<execute>
terminator --command="man gmrun"
</execute>
</action>
</item>
</menu>
<menu id="obConfig" label="Openbox Config">
<item label="Edit menu.xml">
<action name="Execute">
<execute>
geany ~/.config/openbox/menu.xml
</execute>
</action>
</item>
<item label="Edit rc.xml">
<action name="Execute">
<execute>
geany ~/.config/openbox/rc.xml
</execute>
</action>
</item>
<item label="Edit autostart.sh">
<action name="Execute">
<execute>
geany ~/.config/openbox/autostart.sh
</execute>
</action>
</item>
<item label="GUI Menu Editor">
<action name="Execute">
<execute>
obmenu
</execute>
</action>
</item>
<item label="GUI Config Tool">
<action name="Execute">
<execute>
obconf
</execute>
</action>
</item>
<item label="Reconfigure">
<action name="Reconfigure"/>
</item>
<item label="Restart">
<action name="Restart"/>
</item>
</menu>
<menu id="terminatorconfig" label="Terminator Config">
<item label="Edit config file">
<action name="Execute">
<execute>
geany ~/.config/terminator/config
</execute>
</action>
</item>
<separator label="Help?"/>
<item label="man page">
<action name="Execute">
<execute>
terminator --command="man terminator_config"
</execute>
</action>
</item>
</menu>
<menu id="tint2config" label="tint2 Panel Config">
<item label="Edit config file">
<action name="Execute">
<execute>
geany ~/.config/tint2/tint2rc
</execute>
</action>
</item>
<separator label="Help?"/>
<item label="man page">
<action name="Execute">
<execute>
terminator --command="man tint2"
</execute>
</action>
</item>
<item label="Online Help">
<action name="Execute">
<execute>
firefox http://code.google.com/p/tint2/wiki/Welcome
</execute>
</action>
</item>
</menu>
<item label="User Interface Settings">
<action name="Execute">
<execute>
lxappearance
</execute>
</action>
</item>
<item label="Screensaver &amp; Power Management">
<action name="Execute">
<execute>
<!-- gnome-screensaver-preferences -->
xscreensaver-demo
</execute>
</action>
</item>
<item label="Choose Wallpaper">
<action name="Execute">
<execute>
nitrogen
</execute>
</action>
</item>
</menu>
<menu id="system" label="System">
<!-- <item label="System Update">
<action name="Execute">
<execute>
system-update
</execute>
</action>
</item> -->
<!--
<item label="Disk Partitioner">
<action name="Execute">
<execute>
gksudo gparted
</execute>
</action>
</item>
-->
<menu id="DisplaySettings" label="Display Settings">
<item label="Connect external screen">
<action name="Execute">
<execute>
hotplug-monitors.sh
</execute>
</action>
</item>
<separator label="Help?"/>
<item label="man xrandr">
<action name="Execute">
<execute>
terminator --command="man xrandr"
</execute>
</action>
</item>
</menu>
<!--
<item label="Login setup (GDM)">
<action name="Execute">
<execute>
gksudo gdmsetup
</execute>
</action>
</item>
<item label="Network Admin">
<action name="Execute">
<execute>
network-admin
</execute>
</action>
</item>
<item label="Package Manager">
<action name="Execute">
<execute>
gksudo synaptic
</execute>
</action>
</item>
-->
<!--
<item label="Passwords and Encryption Keys">
<action name="Execute">
<execute>
seahorse
</execute>
</action>
</item>
-->
<!--
<item label="Printer Settings">
<action name="Execute">
<execute>
system-config-printer
</execute>
</action>
</item>
<item label="Restricted Device Manager">
<action name="Execute">
<execute>
gksudo jockey-gtk
</execute>
</action>
</item>
<item label="Services/Daemons">
<action name="Execute">
<execute>
services-admin
</execute>
</action>
</item>
<item label="Shared Folders">
<action name="Execute">
<execute>
shares-admin
</execute>
</action>
</item>
-->
<item label="System Monitor">
<action name="Execute">
<execute>
terminator --command=htop
</execute>
</action>
</item>
<!--
<item label="System Logs">
<action name="Execute">
<execute>
gnome-system-log
</execute>
</action>
</item>
<item label="Time/Date">
<action name="Execute">
<execute>
time-admin
</execute>
</action>
</item>
<item label="Users/Groups">
<action name="Execute">
<execute>
users-admin
</execute>
</action>
</item>
-->
</menu>
<!-- <menu id="help" label="Help" execute="obpipemenu-crunchbang-help" /> -->
<separator/>
<item label="Lock Screen">
<action name="Execute">
<execute>
<!-- gnome-screensaver-command -l -->
xscreensaver-command -lock
</execute>
</action>
</item>
<item label="Exit">
<action name="Execute">
<execute>
<!-- openbox-logout -->
oblogout
</execute>
</action>
</item>
</menu>
</openbox_menu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment