Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302135 - Fresh GNOME install + >gnome-base/gdm-2.26 doesn't work without x11-misc/xdg-utils
Summary: Fresh GNOME install + >gnome-base/gdm-2.26 doesn't work without x11-misc/xdg-...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
Depends on:
Blocks: gnome2.28
  Show dependency tree
Reported: 2010-01-25 04:16 UTC by Nirbheek Chauhan (RETIRED)
Modified: 2010-03-05 10:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Nirbheek Chauhan (RETIRED) gentoo-dev 2010-01-25 04:16:47 UTC
gdm-2.26 onwards, /etc/env.d/99xdg-gdm is installed setting XDG_DATA_DIRS to /usr/share/gdm . Without xdg-utils, the XDG_DATA_DIRS environment variable is not set properly [90xdg-data-base; XDG_DATA_DIRS=/usr/share], leading to g_get_system_data_dirs() not working.

Most stable users are not hit by this since if XDG_DATA_DIRS is completely unset, g_get_system_data_dirs() falls back to /usr/share (see glib-$PV/glib/gutils.c)

This results in a non-functional desktop; with gnome-session not being able to find metacity, nautilus, gnome-panel. Starting those manually from the console leads to warnings that they can't find various icons and themes.

I have confirmed that adding a custom env.d to define XDG_DATA_DIRS fixes the problem.
Comment 1 Nirbheek Chauhan (RETIRED) gentoo-dev 2010-03-05 10:26:21 UTC
2.20 contains a dep on xdg-utils, but for some reason 2.26 and 2.28 don't. I've added the dep to fix this bug.