Bug 72882
Summary: | invalid desktop file (KDE) | ||
---|---|---|---|
Product: | [Retired] Red Hat Public Beta | Reporter: | Michael Schwendt <bugs.michael> |
Component: | sylpheed | Assignee: | Nakai <ynakai> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | null | CC: | alfons, hp |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-08-29 23:35:00 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Michael Schwendt
2002-08-28 17:59:15 UTC
Type=Internet is invalid for GNOME too, it's pretty much total nonsense. ;-) Should be Type=Application and Categories=Internet;Application;X-Red-Hat-Extra; Use desktop-file-install in the %install phase of the spec file and it will auto-validate the file. Also, you can use this to add the Categories line etc. See the examples in many other spec files. committed patch... http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/sylpheed-claws/sylpheed-claws/ChangeLog.claws.diff?r1=1.1244&r2=1.1245 > Categories=Internet;Application;X-Red-Hat-Extra;
Didn't work for me. Had to move the desktop file to /usr/share/applications and add
Categories=Application;Network;X-Red-Hat-Extras;
to make it appear in "KMenu > Extras > Internet". With just Type=Application it
works fine on Valhalla, but not on Limbo or (null).
I also tried to add it to "KMenu > Internet" by adding X-Red-Hat-Base; but that
didn't work cleanly together with Extra. This categories thing is confusing, any
docs anywhere?
In (null) only four desktop files are left in /etc/X11/applnk and none of them
is displayed in the KDE menu:
# find /etc/X11/applnk -name \*\.desktop
/etc/X11/applnk/System/hwbrowser.desktop
/etc/X11/applnk/System/cups.desktop
/etc/X11/applnk/Graphics/ImageMagick.desktop
/etc/X11/applnk/Internet/sylpheed.desktop
/etc/X11/applnk stuff is supposed to be merged in (may be under Extras->Other though). You can find info on Categories on http://freedesktop.org, draft vfolder spec. Thanks. http://www.freedesktop.org/standards/VFolderDesktops.txt confirms "Internet" is no Standard Category. "Network" is. And yes, entries in /etc/X11/applnk/Internet are merged as "Application;Network;Merged;" which is "KMenu > Extras > Internet". Fixed in sylhpeed-0.8.2-1 I've also mailed to the author but failed to get reply. you can send me the final patch, and i'll can push it up to Hiro. never mind: Hiro already applied it. |