Bug 313031

Summary: Substandard .desktop file (patch against latest SVN attached) + XDG autostart problem
Product: [Fedora] Fedora Reporter: Stéphane Loeuillet <leroutier>
Component: NetworkManagerAssignee: Dan Williams <dcbw>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 6CC: dcbw
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-01 19:07: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:
Attachments:
Description Flags
Should fix .desktop problems + use XDG directory instead of gnome-only one none

Description Stéphane Loeuillet 2007-09-30 12:50:31 UTC
Description of problem:
network-manager-applet has a .desktop file used for autostart.
It is substandard (in respect to fd.o desktop entry files specs) and misplaced
(irt fd.o autostart specs)

-Encoding=UTF-8 <= deprecated as any .desktop file should be valid UTF-8
-Categories= <= no point for an empty value as it is only used by .desktop files
in $(datadir}/applications/ (for menu display)

Use standard $(sysconfdir)/xdg/autostart/ instead of old deprecated gnome-only
version $(datadir)/gnome/autostart

Patch that would place misplaced .desktop file to the fd.o
mandated standard directory.

http://standards.freedesktop.org/autostart-spec/autostart-spec-latest.html#id2452086

Actually on Ubuntu Gutsy :
/usr/share/autostart/ : empty (really old location)
/usr/share/gnome/autostart/ : 3 files (g-c-c, empathy, nm-applet) => old
gnomeonly
/etc/xdg/autostart/ : 11 files

Version-Release number of selected component (if applicable):
0.6*/gnome SVN trunk

How reproducible:
Everytime (specs compliance problems)

Steps to Reproduce:
1. desktop-file-validate /usr/share/gnome/autostart/nm-applet.desktop
2. ls -l ls -l /usr/share/autostart/ /usr/share/gnome/autostart/ /etc/xdg/autostart/

Comment 1 Stéphane Loeuillet 2007-09-30 12:50:31 UTC
Created attachment 211701 [details]
Should fix .desktop problems + use XDG directory instead of gnome-only one

Comment 2 Dan Williams 2007-10-01 19:07:00 UTC
thanks, committed to upstream applet svn r212