On 1/22/07, Joe Ciccone <[EMAIL PROTECTED]> wrote:
> Randy McMurchy wrote:
> > I wonder now what would happen if I removed all XDG vars? Would GNOME
> > behave normally? I'll test if you think it could be of any value.

> The menu's will probably be empty.

The way I can tell, GNOME wouldn't behave correctly unless you had
been building with --prefix=/usr and --sysconfdir=/etc. GNOME follows
the spec to the letter, meaning that it will only look in /etc/xdg and
/usr/share:/usr/local/share unless you tell it otherwise with XDG_*
variables. KDE and XFCE both hardcode in their locations at buildtime
as well as the default directories.

For reference, the code for the three managers lives in these places.

GNOME:
glib-2.*/glib/gutils.c

XFCE:
xfce-4.*/src/libxfce4util-4.*/libxfce4util/xfce-resource.c

KDE:
kdelibs-3.*/kdecore/kstandarddirs.cpp

--
Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to