Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 534790 - gnome-base/gnome-session: Deprecation of /usr/share/applications/defaults.list and how to handle default applications across desktops
Summary: gnome-base/gnome-session: Deprecation of /usr/share/applications/defaults.lis...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gnome-3.14
  Show dependency tree
 
Reported: 2015-01-05 16:49 UTC by Pacho Ramos
Modified: 2024-03-07 17:07 UTC (History)
0 users

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 Pacho Ramos gentoo-dev 2015-01-05 16:49:22 UTC
I just got this from distributors list, I open this bug to remember to update it for 3.14 cycle then :)
--
Hello,

Please note that around April 2014 the following freedesktop.org changes
happened:
1. Session .desktop files should contain a list of desktops, e.g.
   DesktopNames=GNOME-Classic;GNOME
2. Display Managers are expected to set $XDG_CURRENT_DESKTOP
   Using DesktopNames. Done by at least GDM 3.14, KDM, SDDM
3. Deprecation of "glib" /usr/share/applications/defaults.list
4. Introduction of /usr/share/applications/$desktop-mimeapps.list
5. KDE and GNOME 3.14+ will still ensure XDG_CURRENT_DESKTOP is set
   See startkde, gnome-session. Latter doesn't override if already set.

Please perform the following in your distribution:
A. If your distribution currently ships a defaults.list file, please
   rename it to e.g. gnome-mimeapps.list (lowercase!).
B. Check that the non-GNOME,non-KDE session desktop files (Cinnamon and
   so) contain something such as:
     DesktopNames=Cinnamon;GNOME
C. Verify that e.g. the gnome.desktop session file actually contains
   DesktopNames.
   This has done within GNOME, but at least one distribution uses a setup
   whereby these desktop files get overwritten/recreated without that
   key so best to check the key is there.
D. If your distribution uses display managers other than GDM, KDM, SDDM
   verify that these set $XDG_CURRENT_DESKTOP
   There's still a fallback within gnome-session and startkde, so this
   is for other desktops.

For more details please see
http://standards.freedesktop.org/mime-apps-spec/mime-apps-spec-latest.html
-- 
Regards,
Olav
_______________________________________________
distributor-list mailing list
distributor-list@gnome.org
https://mail.gnome.org/mailman/listinfo/distributor-list
Comment 1 Pacho Ramos gentoo-dev 2015-01-18 13:41:46 UTC
+*gnome-session-3.14.0-r1 (18 Jan 2015)
+
+  18 Jan 2015; Pacho Ramos <pacho@gentoo.org> +files/defaults.list-r3,
+  +files/gnome-session-3.14.0-validate-autostart.patch,
+  +gnome-session-3.14.0-r1.ebuild:
+  Patch from 3.14 branch to fix crash when autostart conditions are wrong, use
+  new location for defaults list (#534790), update that list to fit new names
+  for .desktop files in 3.14 cycle.
+