Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 415351 - media-gfx/gimp-2.8.0 .desktop file is not shown in gnome menu
Summary: media-gfx/gimp-2.8.0 .desktop file is not shown in gnome menu
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-10 10:11 UTC by onip
Modified: 2012-05-16 16:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description onip 2012-05-10 10:11:37 UTC
the installed zzz-gimp.desktop file breaks gnome menu. Changing the line

Exec=gimp-2.8 %U

with

Exec=gimp-2.8

makes the entry show up correctly in the menu

Reproducible: Always
Comment 1 Sebastian Pipping gentoo-dev 2012-05-10 19:58:50 UTC
Hello!

Which version of GNOME is this about?  According to [1] the use of %U seems legal at that place.  Would you mind filing a bug at GNOME or Gimp upstream and linking to that report here?  


[1] http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s06.html
Comment 2 onip 2012-05-11 06:42:13 UTC
I am using gnome-2 (the one stable in portage) and gnome-menu is 2.30.5 .

Do you know if this version is still supported upstream? Otherwise filing a bug report would be useless.

Thanks for the attention anyway
Comment 3 Sebastian Pipping gentoo-dev 2012-05-12 14:45:25 UTC
Honestly, I'm not sure what to do.  Technically, it would be no problem to a add use flag "gnome2" to gimp that strips "%U" off or something but it feels quite dirty to me.  I'm re-assigning this bug to the Gentoo GNOME team and hope for their input.
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-05-12 15:58:21 UTC
%U in theory has been supported by gnome since at least gnome-2.16 days, probably even earlier...
Comment 5 Pacho Ramos gentoo-dev 2012-05-13 10:02:21 UTC
Even gimp-2.6 passes "%U" and it's shown perfectly on my gnome, the problem must be on other side. Reporter, what are the permissions of desktop file just installed by gimp before you edit it?
Comment 6 onip 2012-05-14 07:30:04 UTC
$ ls -l /usr/share/applications/zzz-gimp.desktop 
-rw-r--r-- 1 root root 1077 10 mag 11.40 /usr/share/applications/zzz-gimp.desktop
Comment 7 onip 2012-05-16 14:00:08 UTC
I've just removed my own modified version of the .desktop file in .local/share/applications and the menu entry is still showing up (and survived a pair of reboots).

So the problem automatically solved by itself, don't ask me why...
Comment 8 Sebastian Pipping gentoo-dev 2012-05-16 16:50:40 UTC
Cool :-)  Closing...