View previous topic :: View next topic |
Author |
Message |
Aga n00b
Joined: 18 Jan 2008 Posts: 5
|
Posted: Thu Jan 08, 2009 6:21 pm Post subject: Customizing Openbox in LXDE [Solved] |
|
|
Hi,
I'm trying to customize my new LXDE but i've some trouble with menus. When i do right-click on the desktop I have a Windows-like menu with "Paste, Desktop settings ..." but I want a menu like in a "normal" Openbox.
I tried to edit some .xml files but without succes, in the Openbox wiki I found some info about config files but I don't know how to modify them.
Here's some config files:
/usr/share/lxde/openbox/menu.xml
Code: | <?xml version="1.0" encoding="UTF-8"?>
<openbox_menu xmlns="http://openbox.org/3.4/menu">
<menu id="apps-menu" label="Applications">
<item label="PCManFM">
<action name="Execute">
<startupnotify><enabled>yes</enabled><icon>pcmanfm</icon></startupnotify>
<command>pcmanfm</command></action>
</item>
<item label="Xterm">
<action name="Execute"><command>xterm</command></action>
</item>
<item label="Firefox">
<action name="Execute"><command>firefox</command></action>
</item>
</menu>
<menu id="root-menu" label="LXDE">
<separator label="LXDE" />
<menu id="apps-menu" />
<separator />
<menu id="client-list-menu" />
<separator />
<item label="ObConf">
<action name="Execute">
<startupnotify><enabled>yes</enabled><icon>openbox</icon></startupnotify>
<command>obconf</command>
</action>
</item>
<item label="Reload Config Files">
<action name="Reconfigure" />
</item>
<separator />
<item label="Exit">
<action name="Execute"><command>lxde-logout</command></action>
</item>
</menu>
</openbox_menu> |
And a part of ~/.config/openbox/lxde-rc.xml which seems to be about menus:
Code: | <context name="Root">
<!-- Menus -->
<mousebind button="Middle" action="Press">
<action name="ShowMenu">
<menu>client-list-combined-menu</menu>
</action>
</mousebind>
<mousebind button="Right" action="Press">
<action name="ShowMenu">
<menu>root-menu</menu>
</action>
</mousebind>
</context> |
I also tried using Obconf or LXappearance, but it seems like there is no way to customize menus with these tools.
Last edited by Aga on Thu Jan 08, 2009 11:37 pm; edited 1 time in total |
|
Back to top |
|
|
taipan67 l33t
Joined: 04 Dec 2004 Posts: 866 Location: England (i'm told...)
|
Posted: Thu Jan 08, 2009 8:25 pm Post subject: |
|
|
The desktop-menu is controlled by Pcmanfm, the file-manager. Go into 'Edit-->Preferences-->Desktop' and check "Show menus provided by WM when desktop is clicked". _________________ "Anyone who goes to see a psychiatrist should have their head examined!" |
|
Back to top |
|
|
Aga n00b
Joined: 18 Jan 2008 Posts: 5
|
Posted: Thu Jan 08, 2009 11:37 pm Post subject: |
|
|
taipan67 wrote: | The desktop-menu is controlled by Pcmanfm, the file-manager. Go into 'Edit-->Preferences-->Desktop' and check "Show menus provided by WM when desktop is clicked". |
It works! thanks for helping. |
|
Back to top |
|
|
|