LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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



Reply
 
Search this Thread
Old 08-12-2005, 01:40 PM   #1
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
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.
 
Old 08-13-2005, 06:17 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Hi,

Look for menu.xml (probably in /etc/xfce). This file is used for the menu's, edit to your needs.

Hope this helps.
 
Old 08-13-2005, 06:36 AM   #3
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
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?
 
Old 08-13-2005, 06:44 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
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.
 
Old 08-13-2005, 06:53 AM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
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 .
 
Old 08-22-2005, 06:09 PM   #6
thomas821
LQ Newbie
 
Registered: Aug 2005
Location: Netherlands
Distribution: Debian
Posts: 2

Rep: Reputation: 0
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
 
Old 08-23-2005, 01:36 AM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
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 02:01 AM.
 
Old 08-23-2005, 02:05 PM   #8
thomas821
LQ Newbie
 
Registered: Aug 2005
Location: Netherlands
Distribution: Debian
Posts: 2

Rep: Reputation: 0
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
 
Old 10-18-2009, 02:53 AM   #9
FreakboY
Member
 
Registered: Jun 2002
Location: TX, USA
Distribution: Slackware 13 64bits
Posts: 374

Rep: Reputation: 31
Nylex,

can you please tell me which file and what entry?

Quote:
Originally Posted by Nylex View Post
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.
 
Old 10-18-2009, 03:25 AM   #10
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by FreakboY View Post
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?
 
Old 10-18-2009, 04:27 AM   #11
FreakboY
Member
 
Registered: Jun 2002
Location: TX, USA
Distribution: Slackware 13 64bits
Posts: 374

Rep: Reputation: 31
Quote:
Originally Posted by Nylex View Post
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
 
Old 01-13-2013, 08:45 AM   #12
wangsiyuan
LQ Newbie
 
Registered: Jan 2013
Posts: 1

Rep: Reputation: Disabled
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
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Xfce desk and menu scissorhands Linux - Newbie 0 10-10-2005 04:16 AM
creating an xfce 4 entry at session login dave37 Red Hat 3 02-09-2005 11:20 AM
Editing the Right click Menu thisguyz Linux - Software 1 08-26-2003 08:38 PM
Right-click menu in KDE3 Slakje Linux - Software 5 08-26-2003 02:09 PM
Konqueror right click menu tenn_eric Linux - Software 0 08-04-2003 10:45 PM


All times are GMT -5. The time now is 03:18 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration