! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
$HOME not honored when saving/loading config
Status:
CLOSED: INVALID
Product:
Libxfce4util
Component:
General

Comments

Description greg 2004-03-18 19:17:49 CET
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.
Comment 1 Olivier Fourdan editbugs 2004-03-18 19:58:46 CET
IIRC, it's on purpose. There is another env var to achieve what you want.
Comment 2 greg 2004-03-18 20:57:42 CET
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.
Comment 3 Benedikt Meurer 2004-03-19 09:50:14 CET
Theres an environment variable $XFCE4HOME which is used by Xfce applications to
determine the path to the users ~/.xfce4/ directory. This defaults to
$HOME/.xfce4/ and starting with CVS as of two-three days ago, the startup
script sets this environment variable to $HOME/.xfce4/. What version do you
use?
Comment 4 Jasper Huijsmans editbugs 2004-04-13 15:31:12 CEST
can this be closed?
Comment 5 greg 2004-04-13 18:31:04 CEST
close it. i reported it on 4.3.0.1 but it sounds like its fixed in cvs.
Comment 6 Brian J. Tarricone (not reading bugmail) 2004-04-13 18:34:38 CEST
closing

Bug #146

Reported by:
greg
Reported on: 2004-03-18
Last modified on: 2009-07-15

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
0 users

Version

Attachments

Additional information