GNOME Bugzilla – Bug 481860
Substandard .desktop file (patch against latest SVN attached)
Last modified: 2007-10-01 18:54:50 UTC
empathy.desktop file is misplaced (old gnome-only directory) and substandard : Use standard $(sysconfdir)/xdg/autostart/ instead of old deprecated gnome-only version $(datadir)/gnome/autostart Patch would place the 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 Additionally, in .desktop file itself, Encoding= line as been deprecated for a while (any .desktop file should be valid UTF-8)
Created attachment 96413 [details] [review] Should fix .desktop problems and XDG compliance
Hum, it seems gnome-session does not look in /usr/local/etc/xdg/autostart. But I agree I have to respect the fd.o standard. This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Xavier : From http://standards.freedesktop.org/autostart-spec/autostart-spec-0.5.html#id2452086 : The Autostart Directories are $XDG_CONFIG_DIRS/autostart as defined in accordance with the "Referencing this specification" section in the "desktop base directory specification". If the same filename is located under multiple Autostart Directories only the file under the most important directory should be used. Example: If $XDG_CONFIG_HOME is not set the Autostart Directory in the user's home directory is ~/.config/autostart/ Example: If $XDG_CONFIG_DIRS is not set the system wide Autostart Directory is /etc/xdg/autostart/ Example: If $XDG_CONFIG_HOME and $XDG_CONFIG_DIRS are not set and the two files /etc/xdg/autostart/foo.desktop and ~/.config/autostart/foo.desktop exist then only the file ~/.config/autostart/foo.desktop will be used because ~/.config/autostart/ is more important than /etc/xdg/autostart/ So, try to define $XDG_CONFIG_DIRS to /usr/local/etc/xdg/ and start gnome-session after. If it doesn't work, then it is a gnome-session bug ;)