[Xfce-bugs] [Bug 9087] New: Don't set GLADE_MODULE_PATH in xinitrc

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Thu Jul 5 06:15:15 CEST 2012


https://bugzilla.xfce.org/show_bug.cgi?id=9087

          Priority: Medium
            Bug ID: 9087
          Assignee: xfce-bugs at xfce.org
           Summary: Don't set GLADE_MODULE_PATH in xinitrc
          Severity: normal
    Classification: Xfce
                OS: Linux
          Reporter: matt at ucc.asn.au
          Hardware: Other
            Status: NEW
           Version: 4.8.2
         Component: General
           Product: Xfce-utils

xfce's xinitrc (
http://git.xfce.org/archive/xfce-utils/tree/scripts/xinitrc.in.in ) sets
various glade environment variables, which are inherited by all applications in
that session:

# Modify libglade and glade environment variables so that
# it will find the files installed by Xfce
LIBGLADE_MODULE_PATH="$LIBGLADE_MODULE_PATH:@XFCE_LIBGLADE_MODULE_PATH@"
GLADE_CATALOG_PATH="$GLADE_CATALOG_PATH:@XFCE_GLADE_CATALOG_PATH@"
GLADE_PIXMAP_PATH="$GLADE_PIXMAP_PATH:@XFCE_GLADE_PIXMAP_PATH@"
GLADE_MODULE_PATH="$GLADE_MODULE_PATH:@XFCE_GLADE_MODULE_PATH@"
export LIBGLADE_MODULE_PATH
export GLADE_CATALOG_PATH
export GLADE_PIXMAP_PATH
export GLADE_MODULE_PATH

Running a new version of glade in a different prefix (/usr/local or similar)
will end up loading mismatching glade module versions due to those variables.

I'm not sure that the environment variables are actually necessary - the
default libgladeui should search those paths anyway. I have commented them out
with no ill effects (Fedora 13, xfce 4.6.2). If they are required for some
reason they should be confined to XFCE applications, not the entire desktop
session.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list