Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Customizing Openbox in LXDE [Solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Aga
n00b
n00b


Joined: 18 Jan 2008
Posts: 5

PostPosted: Thu Jan 08, 2009 6:21 pm    Post subject: Customizing Openbox in LXDE [Solved] Reply with quote

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
View user's profile Send private message
taipan67
l33t
l33t


Joined: 04 Dec 2004
Posts: 866
Location: England (i'm told...)

PostPosted: Thu Jan 08, 2009 8:25 pm    Post subject: Reply with quote

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". :wink:
_________________
"Anyone who goes to see a psychiatrist should have their head examined!"
Back to top
View user's profile Send private message
Aga
n00b
n00b


Joined: 18 Jan 2008
Posts: 5

PostPosted: Thu Jan 08, 2009 11:37 pm    Post subject: Reply with quote

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". :wink:


It works! thanks for helping.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum