View RSS Feed

infinity

Openbox cinnamon menu

Rate this Entry
Openbox cinnamon menu

Changing gnome-terminal to start with a preset profile. One I made just for openbox.*
Opening nemo with the no desktop option so it doesn't effect your background or add icons to it.*
Changing the background with imagemagick from the menu.*
*This allowed openbox to play nice with cinnamons default apps.
Added a conky on/off toggle to the openbox menu.
Added a on off toggle for fspanel.
Added option to change desktop background color.
Optimized menu for gaming.

ver 0.3
Code:
<?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>gnome-terminal --window-with-profile=openbox</execute></action>
  </item>
  <separator />
 <menu id="apps-menu" label="Apps">
  <item label="Web browser">
    <action name="Execute"><execute>firefox mypitbullpro.com</execute></action>
  </item>
  <item label="File manager">
    <action name="Execute"><execute>nemo --no-desktop</execute></action>
  </item>
  <item label="Text editor">
    <action name="Execute"><execute>gedit</execute></action>
  </item>
  <item label="Image viewer">
    <action name="Execute"><execute>eog</execute></action>
  </item>
  <item label="Media player">
    <action name="Execute"><execute>vlc</execute></action>
  </item>
 </menu>
  <separator />
        <menu id="games-menu" label="Games">

                  <item label="Playonlinux">

                    <action name="Execute"><command>playonlinux</command></action>

                  </item>

                  <item label="Steam">

                    <action name="Execute"><command>steam</command></action>

                  </item>

                  <item label="Retroarch">

                    <action name="Execute"><command>retroarch</command></action>

                  </item>

                  <item label="Nes">

                    <action name="Execute"><command>gfceu</command></action>

                  </item>

        </menu>
  <!-- Start and stop conky -->
  <separator />
        <menu id="conky-menu" label="Conky">

                  <item label="Turn on">

                    <action name="Execute"><command>conky</command></action>

                  </item>

                  <item label="Turn off">

                    <action name="Execute"><command>killall conky</command></action>

                  </item>

        </menu>
  <separator />
        <menu id="panel-menu" label="Panel">

                  <item label="Turn on">

                    <action name="Execute"><command>fspanel</command></action>

                  </item>

                  <item label="Turn off">

                    <action name="Execute"><command>killall fspanel</command></action>

                  </item>

        </menu>
  <!-- Set the background in openbox -->
  <separator />
        <menu id="background-menu" label="Background">

                  <item label="Image 1">

                    <action name="Execute"><command>display -dispose background -window root ~/Pictures/openboxbg1.jpg</command></action>

                  </item>

                  <item label="Image 2">

                    <action name="Execute"><command>display -dispose background -window root ~/Pictures/openboxbg2.jpg</command></action>

                  </item>

                  <item label="Image 3">

                    <action name="Execute"><command>display -dispose background -window root ~/Pictures/openboxbg3.jpg</command></action>

                  </item>
  <separator />
          <menu id="background-color" label="Color">

                  <item label="Default">

                    <action name="Execute"><command>xsetroot -solid "#303030"</command></action>

                  </item>

                  <item label="Black">

                    <action name="Execute"><command>xsetroot -solid "black"</command></action>

                  </item>

                  <item label="White">

                    <action name="Execute"><command>xsetroot -solid "white"</command></action>

                  </item>

                  <item label="Baby blue">

                    <action name="Execute"><command>xsetroot -solid "lightblue"</command></action>

                  </item>

                  <item label="Pink">

                    <action name="Execute"><command>xsetroot -solid "pink"</command></action>

                  </item>

                  <item label="Green">

                    <action name="Execute"><command>xsetroot -solid "forestgreen"</command></action>

                  </item>

                  <item label="Blue">

                    <action name="Execute"><command>xsetroot -solid "midnightblue"</command></action>

                  </item>

                  <item label="Red">

                    <action name="Execute"><command>xsetroot -solid "darkred"</command></action>

                  </item>

                  <item label="Teal">

                    <action name="Execute"><command>xsetroot -solid "teal"</command></action>

                  </item>

          </menu>

        </menu>
  <!-- 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>
  <item label="Restart">
    <action name="Restart" />
  </item>
  <separator />
  <item label="Exit">
    <action name="Exit" />
  </item>
</menu>

</openbox_menu>

Submit "Openbox cinnamon menu" to Digg Submit "Openbox cinnamon menu" to del.icio.us Submit "Openbox cinnamon menu" to StumbleUpon Submit "Openbox cinnamon menu" to Google Submit "Openbox cinnamon menu" to Facebook

Categories
Linux

Comments