[Pkg-e-devel] Bug#532214: [pkg-fso-maint] Bug#532214: libefreet-svn-01: does not show applications in Utility category

Albin Tonnerre albin.tonnerre at gmail.com
Sun Jun 7 21:18:07 UTC 2009


On Sun, Jun 07, 2009 at 11:01:34PM +0200, Luca Capello wrote :
> Is not efreet responsible to parse .desktop file as well?

Yes, it is. But it does not /decide/ anything about them. Efreet knows about
your .desktop files, and builds a menu based on the rules given by your .menu
file.

> I am talking
> about the software responsible for the three icons on the Illume
> "desktop" at
> 
>   http://pkg-fso.alioth.debian.org/bugs/e17-fonts_GTA01/e17_default_285-dpi.png
> 
> AFAIK, there is no menu involved there.
> 

Yes, there is.

> The Illume "desktop" does not show the following .desktop file, which is
> perfectly valid according to
> 
>   http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.0.html
> 
> =====
> debian-gta01:~# cat /usr/share/applications/category-utility.desktop
> [Desktop Entry]
> Name=UTILITY
> Comment=Category Utility
> Exec=/dev/null
> Type=Application
> Icon=debian
> Categories=Utility;
> debian-gta01:~#
> =====
> 
> However, if you change "Categories=Utility;" with "Categories=System;",
> the .desktop file is now shown.  Both categories are part of the specs,
> that why I stated that efreet is not compliant to the specs.  The same
> happens with the Audio, Video, Education and Settings categories.
>

No, your menu file is faulty. If a particular .desktop is not shown on the
desktop, it's because the .menu has no rule matching it (or because of a bug in
efreet's code, like #514018, but unlikely related to the specification itself)

> Please feel free to ask for more examples, it seems I am not able to
> pass the message, sorry.

I don't think this is necessary. However, I'd like to see what menu file e17 is
using. You can find that out by running the following command:

eet -d .e/e/config/<profile>/e.cfg config /dev/stdout | grep default_system_menu

If the result is empty, it's using either ~/.config/menus/applications.menu ,
/etc/xdg/menus/applications.menu , or /etc/xdg/menus/e17-applications.menu
(sorted). I suspect it's using the e17-provided menu, which would actually cause
your issue

Regards,
-- 
Albin Tonnerre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-e-devel/attachments/20090607/b4d61380/attachment.pgp>


More information about the Pkg-e-devel mailing list