LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Xfce right-click menu problem - how to remove an entry? (http://www.linuxquestions.org/questions/linux-general-1/xfce-right-click-menu-problem-how-to-remove-an-entry-352580/)

Nylex 08-12-2005 12:40 PM

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.

druuna 08-13-2005 05:17 AM

Hi,

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

Hope this helps.

Nylex 08-13-2005 05:36 AM

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? :(

druuna 08-13-2005 05:44 AM

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.

Nylex 08-13-2005 05:53 AM

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 :mad:.

thomas821 08-22-2005 05:09 PM

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

Nylex 08-23-2005 12:36 AM

You sir, are a genius. It's fixed now, thanks :D. 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) :/.

thomas821 08-23-2005 01:05 PM

Quote:

Originally posted by Nylex
You sir, are a genius. It's fixed now, thanks :D. 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 ;)

FreakboY 10-18-2009 01:53 AM

Nylex,

can you please tell me which file and what entry?

Quote:

Originally Posted by Nylex (Post 1814688)
You sir, are a genius. It's fixed now, thanks :D. 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.

Nylex 10-18-2009 02:25 AM

Quote:

Originally Posted by FreakboY (Post 3723489)
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?

FreakboY 10-18-2009 03:27 AM

Quote:

Originally Posted by Nylex (Post 3723504)
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

wangsiyuan 01-13-2013 07:45 AM

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


All times are GMT -5. The time now is 12:09 AM.