Topic: Openbox 3.5 New Features Setup
=================================================================
Setting up Openbox 3.5 - Can be installed over 3.4
=================================================================
If you don't already have it hop over and install Openbox 3.5
http://openbox.org/wiki/Openbox:Download
download the source and then extract it and cd into the Directory
cd ~/downloads/openbox-3.5.0then you'll need to build it and install it, there's a few ways to do this.
For 32bit
1) ./configure --prefix=/usr --sysconfdir=/etc
...creates the make file...
2) make
...builds it for install...
3) sudo make install
...installs the new Openbox...For 64bit
1) ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64
...creates the make file...
2) make
...builds it for install...
3) sudo make install
...installs the new Openbox...then log out and back in or reboot and you done. Openbox 3.5 is installed and rearing to go. To make sure run this.
openbox --versionshould say this
Openbox 3.5.0
Copyright (c) 2008 Mikael Magnusson
Copyright (c) 2003-2006 Dana Jansens
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.=================================================================
Configuring Menu Icons
=================================================================
Alright this is a two step process involving both the RC.xml and the MENU.xml.
RC.xml = telling openbox you want this feature enabled
MENU.xml = giving icon path to the menu or item
First you need to add this line to your RC.xml in the <menu></menu> Section.
<showIcons>yes</showIcons>Mine as an example
<menu>
<file>menu.xml</file>
<hideDelay>200</hideDelay>
<middle>no</middle>
<submenuShowDelay>100</submenuShowDelay>
<showIcons>yes</showIcons>
<applicationIcons>yes</applicationIcons>
</menu>then you need to add icon entries to you Menu.xml
here is a section of mine to serve as an example
<item icon="/home/psyco430404/.icons/AwOkenDark/converted/terminator.png" label="Terminator">
<action name="Execute">
<execute>
terminator
</execute>
</action>
</item>
<item icon="/home/psyco430404/.icons/AwOkenDark/converted/google-chrome.png" label="Google Chrome">
<action name="Execute">
<execute>
google-chrome
</execute>
</action>
</item>
<item icon="/home/psyco430404/.icons/AwOkenDark/converted/thunar.png" label="Thunar">
<action name="Execute">
<execute>
thunar
</execute>
</action>
</item>
<item icon="/home/psyco430404/.icons/AwOkenDark/converted/leafpad.png" label="Text Editor">
<action name="Execute">
<execute>
leafpad
</execute>
</action>
</item>
<item icon="/home/psyco430404/.icons/AwOkenDark/converted/deadbeef.png" label="Deadbeef">
<action name="Execute">
<execute>
deadbeef
</execute>
</action>
</item>
<separator label="APPLICATIONS"/>
<menu icon="/home/psyco430404/.icons/AwOkenDark/clear/128x128/categories/clear/applications-accessories.png" id="accessories" label="Accessories">
<item label="Evince PDF">
<action name="Execute">
<execute>
evince
</execute>
</action>
</item>
<item label="Calculator">
<action name="Execute">
<execute>
gcalctool
</execute>
</action>
</item>
<item label="File Search">
<action name="Execute">
<execute>
catfish
</execute>
</action>
</item>
<item label="Leafpad">
<action name="Execute">
<execute>
leafpad
</execute>
</action>
</item>
<item label="Geany">
<action name="Execute">
<execute>
geany
</execute>
</action>
</item>
<item label="Terminator">
<action name="Execute">
<execute>
terminator
</execute>
</action>
</item>
<item label="Thunar">
<action name="Execute">
<execute>
thunar
</execute>
</action>
</item>
</menu>what specifically you need to look at is the <menu> tag and the <item> tag. you need to add this after the label parameter.
icon="/home/psyco430404/.icons/AwOkenDark/clear/128x128/categories/clear/applications-accessories.png" And that is how you do it, any questions feel free to post or pm me.
=================================================================
Screenshot
=================================================================
Last edited by psyco430404 (2011-08-11 14:11:44)
- TF2 Soldier