[Xfce-bugs] [XFCE 0000146]: $HOME not honored when saving/loading config

xfce-bugs at xfce.org xfce-bugs at xfce.org
Thu Mar 18 21:57:42 CET 2004


A BUGNOTE has been added to this bug.
=======================================================================
http://bugs.xfce.org/view_bug_page.php?f_id=0000146
=======================================================================
Reporter:                   gps
Handler:                    
=======================================================================
Project:                    XFCE
Bug ID:                     0000146
Category:                   general
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
=======================================================================
Date Submitted:             2004-03-18 19:17 GMT
Last Modified:              2004-03-18 20:57 GMT
=======================================================================
Summary:                    $HOME not honored when saving/loading config
Description: 
A friend of mine was trying out xfce and noticed that it doesn't use $HOME
when locating the home directory to look for and write its .xfce4/ config
files in.  He sets his $HOME before running many apps so that config is
stored on a local disk rather than in the NFS mounted home directories in
our environment.
=======================================================================

-----------------------------------------------------------------------
 olivier - 2004-03-18 19:58 GMT 
-----------------------------------------------------------------------
IIRC, it's on purpose. There is another env var to achieve what you want.

-----------------------------------------------------------------------
 gps - 2004-03-18 20:57 GMT 
-----------------------------------------------------------------------
Whats the purpose?

it appears that xfce doesn't even make the choice itself.  it calls glib's
g_get_home_dir() function and joins that with .xfce4 
(libxfce4util/util.c).  I suppose this could be considered a glib issue
(glib 2.3.1 here with xfce 4.3.0.1) but it seems to me that
g_get_home_dir() should return the value of $HOME rather than whatever its
doing (returning the value from getpwent?  returning ~$LOGNAME or
~$USER?).

xfce could work around it.  its not a big deal to me but i thought i'd
point it out.



More information about the Xfce-bugs mailing list