-   Linux - Software (
-   -   Pleez, How do you edit Xfce Application Menu? (

NightSky 02-16-2008 01:29 AM

Pleez, How do you edit Xfce Application Menu?
I installed a program in slackware12, Xfce4.4.2, and its startup
icon went into the Subfolder of another Program? How do I edit xfce application menu? Thanks

peart 02-16-2008 06:25 PM

I think this is what you are looking for:
1) Right-click on the desktop, choose Settings, then Desktop Settings.
2) Click on the Behavior tab.
3) Press the Edit Menu button.


dive 02-16-2008 07:54 PM

That doesn't show the whole menu though. At least not here.

peart 02-16-2008 08:41 PM

True. I forgot about .desktop files. In my distribution, they are in /usr/share/applications. You can change the "categories=" entry in those files to change the submenu they appear in.

NightSky 02-16-2008 10:42 PM

thanks guys, I have tried the above Menu edit options but the problem is that the icon for the app I want is in the sub folder of Ooo ...

Note that if I use App finder it finds my new program and I can access the start icon if I open xfce menu -> Ooo-> Scribus (my new favorite :) I have tried add a launcher to desktop dock panel.. for some reason the Scribus App icons are not in /Applications/icons... Its a small thing but frustrating because for me its a matter of being able to create and manage the desktop I want and am comfortable with. Maybe there is a simple low level solution? Lol

Which is the scribus button that starts it up specifically anyway?

Do appreciate responsive inputs. Wish I could build a Dedicated Xfce Forum, the offical xfce forum is not very responsive.

NightSky 02-17-2008 04:31 PM

pert, I was able to add finally a working shortcut icon to panel by using the +/-
launcher applicate in xfce, putting the scribusicon.png in the first slot and openning the /usr/bin/scribus executable in command slot.

Could you explain about the 'categories=' option, How do I access it, where is it located? Is this a command line fix?

What a pain just to create a shortcut. Thanks

dive 02-19-2008 09:58 AM

If anyone is still looking for a eway to edit all the xfce menu entries I found this in the docs:


How to edit the auto generated menu with the menu editor?

cp ~/.cache/xfce4/desktop/menu-cache-name-of-the-generated-file.xml ~/.config/xfce4/desktop/menu2.xml
cd ~/.config/xfce4/desktop/
cat menu.xml > menu3.xml
cat menu2.xml >> menu3.xml
mv menu.xml menu.orig.xml
mv menu3.xml menu.xml

Now, you already have a menu with all the categories in the main tree with some duplicates, but you must first edit menu.xml with your favorite editor and remove the 4 following lines in the middle of the file, otherwise the menu editor will complain about a wrong format:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xfdesktop-menu>


That's all. Now you can run the menu editor, remove the few duplicates and edit all as you like.

Settings > Desktop > Menu > Menu Editor

Notes: by removing the “system” line, you will remove all the duplicates menu entries from the auto generated file. So, if it is changed in this auto generated file, they don't appear anymore, but you will get rid of most of the duplicates.

To restore the original menu, just do in a terminal:

mv menu.xml menu3.xml; mv menu.orig.xml menu.xml

All times are GMT -5. The time now is 01:24 PM.