Linpus Linux: add/remove items to the default menu

Discussion in 'Linux' started by ammoQ, Aug 3, 2008.

Thread Status:
Not open for further replies.
  1. ammoQ

    ammoQ

    Joined:
    Jul 30, 2008
    Messages:
    24
    Likes Received:
    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
     
    ammoQ, Aug 3, 2008
    #1
  2. ammoQ

    Sid

    Joined:
    Jul 22, 2008
    Messages:
    632
    Likes Received:
    0
    Location:
    UK - (most locations)
    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).
     
    Sid, Aug 3, 2008
    #2
  3. ammoQ

    A_I

    Joined:
    Aug 1, 2008
    Messages:
    63
    Likes Received:
    0
    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.
     
    A_I, Aug 3, 2008
    #3
  4. ammoQ

    ammoQ

    Joined:
    Jul 30, 2008
    Messages:
    24
    Likes Received:
    0
    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, Aug 3, 2008
    #4
  5. ammoQ

    A_I

    Joined:
    Aug 1, 2008
    Messages:
    63
    Likes Received:
    0

    Thanks a lot! Now it works perfectly
     
    A_I, Aug 3, 2008
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Thread Status:
Not open for further replies.