Linpus Linux: add/remove items to the default menu

Status
Not open for further replies.
Joined
Jul 30, 2008
Messages
24
Reaction score
0
(Basic Linux knowledge required)
Three steps are necessary to add new applications to the default menu:

1) choose/create an icon in /usr/share/pixmaps
Icon size should be 90x90 pixels

2) create a .desktop file in /usr/share/applications
For Quake3, you can download mine at http://members.chello.at/erich.kitzmuel ... na.desktop
The line "Icon=q3a.png" must refer to the icon created in step 1
EDIT: if you installed the right package, you already have fedora-quake3.desktop; probably you can use that.

3) edit /home/user/.config/xfce4/desktop/group-app.xml
Add a line to refer to the .desktop file created in step 2, e.g.
<app sequence="13">/usr/share/applications/quake3arena.desktop</app>
in the proper place.

To remove applications from the menu, just find their entry in /home/user/.config/xfce4/desktop/group-app.xml and remove it. Of course this doesn't remove the application itself. The original version of group-app.xml can be found at /etc/xdg/xfce4/desktop
 
I often edit the file at /home/user/.config/xfce4/desktop/group-app.xml

But it is often overwritten by the system, any ideas why?

I assume that if I edit the original at /etc/xdg/xfce4/desktop - the problem should go away. I know it is a work around but it looks like Acer don't want the standard menu items removed (like games).
 
On some apps I have small problem (e.g. Opera and GIMP) when I add entry to XML it appears on desktop (no problems there) but when I start application from desktop it says /%u cannot be found (or something like it). Has anybody encountered same problem.
 
Easy to fix. E.g. for Gimp, edit /usr/share/applications/gimp.desktop, look for the line
Exec=gimp-2.4 %U
and change it to
Exec=gimp-2.4
 
ammoQ said:
Easy to fix. E.g. for Gimp, edit /usr/share/applications/gimp.desktop, look for the line
Exec=gimp-2.4 %U
and change it to
Exec=gimp-2.4


Thanks a lot! Now it works perfectly
 
Status
Not open for further replies.
Back
Top