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: 237

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:	29
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: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
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 04:16 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
Open Source Consulting | Domain Registration