LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-09-2017, 01:07 AM   #1
luofeiyu
Member
 
Registered: Aug 2015
Posts: 220

Rep: Reputation: Disabled
Why menu or item on right click can't configed by menu.xml?


Code:
    ls  /home/debian8/.config/openbox/
    lxde-rc.xml  menu.xml
Code:
    file /usr/share/icons/Tango/32x32/apps/file-manager.png
    /usr/share/icons/Tango/32x32/apps/file-manager.png: symbolic link to system-file-manager.png

    file /usr/share/icons/Tango/32x32/apps/system-file-manager.png
    /usr/share/icons/Tango/32x32/apps/system-file-manager.png: PNG image data, 32 x 32, 8-bit/color RGBA, non-interlaced
Here is my mouse right click on desktop.



Now i want to change the right click,menu.xml file was edited into the following.

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="PCMan" icon="/usr/share/icons/Tango/32x32/apps/file-manager.png">
                    <action name="Execute">
                        <command>pcmanfm</command>
                    </action>
                </item>
        </menu>
    </openbox_menu>
The mouse right click remains unchanged after reboot,why?
Attached Thumbnails
Click image for larger version

Name:	right-click.png
Views:	9
Size:	124.1 KB
ID:	24177  

Last edited by luofeiyu; 02-09-2017 at 01:08 AM.
 
Old 02-09-2017, 02:15 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 11,621
Blog Entries: 9

Rep: Reputation: 3076Reputation: 3076Reputation: 3076Reputation: 3076Reputation: 3076Reputation: 3076Reputation: 3076Reputation: 3076Reputation: 3076Reputation: 3076Reputation: 3076
right-click the desktop => preferences => advanced => show window manager menu when right-clicking
(i'm writing this from memory)
 
Old 02-09-2017, 08:26 PM   #3
Mill J
Member
 
Registered: Feb 2017
Location: 127.0.0.1 Sweet 127.0.0.1
Distribution: Void, MX, Haiku, Puppy and many others
Posts: 919
Blog Entries: 2

Rep: Reputation: 387Reputation: 387Reputation: 387Reputation: 387
I use obmenu to edit the right-click menu. After you are done you have to reconfigure openbox, which should be under openbox preferences>reconfigure openbox
 
Old 07-24-2017, 12:45 PM   #4
jimkalb
Member
 
Registered: Apr 2004
Distribution: Slackware 13.0
Posts: 30

Rep: Reputation: 15
None of this helps me! When I first tried ondoho's suggestion I got a stock openbox menu. Then it disappeare, and won't come up, so I have to go back to the pre-ondoho-suggestion state. And obmenu and reconfigure don't seem to do anything either.

[PROBLEM SOLVED] The "stock openbox menu" was actually the menu.xml in my $HOME/.config/openbox directory, and I got stuck because I couldn't figure out how to reconfigure after I succeeded in mucking it up so there was no "reconfigure" to click on. Sorry for the distraction!

Last edited by jimkalb; 07-24-2017 at 04:29 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
application menu disappeared and the main menu item has no response sunnior Ubuntu 12 11-03-2011 04:28 AM
add an item in right click dropdown menu in ubuntu desktop... visitnag Linux - Desktop 6 02-21-2009 10:54 PM
kde 4 - How to add item to right click menu Hewson Linux - General 0 08-14-2008 12:36 PM
Adding an item to the KDE desktop right-click menu jkhg Linux - Desktop 2 11-28-2007 06:28 PM
How to delete an item of right-click menu? whepin Linux - Software 4 01-17-2006 06:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration