Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-12-2005, 12:40 PM
|
#1
|
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,466
Rep: 
|
Xfce right-click menu problem - how to remove an entry?
I'm using Xfce 4.2.0 and the other day, I ran KDE's Konsole. For some reason, it has added itself to Xfce's right-click menu and I want to remove it. If I run xfce4-menueditor, for the section that contains various categories like Accessories, Development, etc, all I see is "---include---" and "system" in the Name and Command columns respectively. So how do I remove the entry for Konsole?
Thanks.
|
|
|
|
08-13-2005, 05:17 AM
|
#2
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,868
|
Hi,
Look for menu.xml (probably in /etc/xfce). This file is used for the menu's, edit to your needs.
Hope this helps.
|
|
|
|
08-13-2005, 05:36 AM
|
#3
|
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,466
Original Poster
Rep: 
|
Thank you for the reply druuna. Unfortunately, that file doesn't help and it is the same one used by xfce4-menueditor. In it, I can only find reference to "system" as in my first post. Why does Xfce's documentation have to be so sucky? 
|
|
|
|
08-13-2005, 05:44 AM
|
#4
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,868
|
Hi,
Which menu.xml is used by the editor? The global (/etc/xfce/menu.xml) or the local one (~/.xfce/menu.xml)?
I personally only have the /etc/xfce version, I did not bother to create one for the local user(s).
Hope this helps.
|
|
|
|
08-13-2005, 05:53 AM
|
#5
|
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,466
Original Poster
Rep: 
|
The local one seems to be used by xfce4-menueditor (~/.config/xfce4/desktop/menu.xml). I looked at the global one also (/etc/X11/xdg/xfce4/desktop/menu.xml), but they contain the same info. This is the section that's relevant:
<!--
The next line includes the autogenerated menu at the current level. If
you want, you can put this in its own submenu.
-->
<include type="system" style="simple" unique="true" visible="true"/>
There's nothing there to tell me where I can find a file for "system". Grr  .
|
|
|
|
08-22-2005, 05:09 PM
|
#6
|
|
LQ Newbie
Registered: Aug 2005
Location: Netherlands
Distribution: Debian
Posts: 2
Rep:
|
Xfce4.2 menu's
Hello Nylex,
For my Debian Distro i did find the Desktop menu definitions at:
~/.cache/xfce4/desktop/
Check out the .xml and the .rc files.
Look's like part of is generated run-time...
See also the Xfce FAQ: http://spuriousinterrupt.org/projects/xfce4/#faq
Regards,
Thomas 
|
|
|
|
08-23-2005, 12:36 AM
|
#7
|
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,466
Original Poster
Rep: 
|
You sir, are a genius. It's fixed now, thanks  . I had to look through all those files and only one of them had the entry that I was looking for, heh. Nice one  . Edit: I should also say, I asked this question on the Xfce mailing list and in the replies I got, there was no mention of those files (and one reply was from a developer) :/.
Last edited by Nylex; 08-23-2005 at 01:01 AM.
|
|
|
|
08-23-2005, 01:05 PM
|
#8
|
|
LQ Newbie
Registered: Aug 2005
Location: Netherlands
Distribution: Debian
Posts: 2
Rep:
|
Quote:
Originally posted by Nylex
You sir, are a genius. It's fixed now, thanks . I had to look through all those files and only one of them had the entry that I was looking for, heh. Nice one . Edit: I should also say, I asked this question on the Xfce mailing list and in the replies I got, there was no mention of those files (and one reply was from a developer) :/.
|
Yep Linux keeps you sharp 
|
|
|
|
10-18-2009, 01:53 AM
|
#9
|
|
Member
Registered: Jun 2002
Location: TX, USA
Distribution: Slackware 13 64bits
Posts: 373
Rep:
|
Nylex,
can you please tell me which file and what entry?
Quote:
Originally Posted by Nylex
You sir, are a genius. It's fixed now, thanks  . I had to look through all those files and only one of them had the entry that I was looking for, heh. Nice one  . Edit: I should also say, I asked this question on the Xfce mailing list and in the replies I got, there was no mention of those files (and one reply was from a developer) :/.
|
Thank you.
|
|
|
|
10-18-2009, 02:25 AM
|
#10
|
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,466
Original Poster
Rep: 
|
Quote:
Originally Posted by FreakboY
Nylex,
can you please tell me which file and what entry?
|
Presumably you should read post 6 and I guess, judging from my post that started this thread, I was looking for an entry related to Konsole. Since this thread was several years ago, I can't remember the details.
What exactly do you need/want to do?
|
|
|
|
10-18-2009, 03:27 AM
|
#11
|
|
Member
Registered: Jun 2002
Location: TX, USA
Distribution: Slackware 13 64bits
Posts: 373
Rep:
|
Quote:
Originally Posted by Nylex
Presumably you should read post 6 and I guess, judging from my post that started this thread, I was looking for an entry related to Konsole. Since this thread was several years ago, I can't remember the details.
What exactly do you need/want to do?
|
i want to remove the desktop menu. the whole thing... however it doesnt take any changes from the .config/menus/XXXXXXXXXXXX.menu
|
|
|
|
01-13-2013, 07:45 AM
|
#12
|
|
LQ Newbie
Registered: Jan 2013
Posts: 1
Rep: 
|
Hi,
I have a similar problem. I installed vlc first and then installed mplayer. I found mplayer was not useful, so I uninstalled it. But when I click a video file, mplayer was still there.
I use archlinux, here is my solution:
rm ~.local/share/applications/mplayer.desktop
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:50 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|