[Xfce-bugs] [Bug 575] libxfce4util creates (empty) .xfce4 directory

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Tue Dec 7 04:46:24 CET 2004


http://bugzilla.xfce.org/show_bug.cgi?id=575


edscott at xfce.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |benedikt.meurer at unix-ag.uni-
                   |                            |siegen.de
         AssignedTo|edscott at xfce.org            |xfce-bugs at xfce.org
            Summary|xffm creates (empty) .xfce4 |libxfce4util creates (empty)
                   |directory                   |.xfce4 directory




------- Additional Comments From edscott at xfce.org  2004-12-07 03:46 UTC -------
Benny:

The $HOME/.xfce4 directory is being created by libxfce4util:

#7  0x401988e2 in xfce_get_homedir () at xfce-miscutils.c:183
#8  0x4019c74f in _res_getenv (variable=0x4019eb4b "XDG_CACHE_HOME", 
    fallback=0x4019eb42 "~/.cache") at xfce-resource.c:66
#9  0x4019c922 in _res_init () at xfce-resource.c:136
#10 0x4019db6b in xfce_resource_save_location (type=XFCE_RESOURCE_CACHE, 
    relpath=0x40b12991 "/", create=1) at xfce-resource.c:707

>From looking at xfce-miscutils.c I see that this can be avoided by setting the
XFCE4HOME environment variable to g_get_homedir(). It seems a bit awkward to
have to do this, especially since the xdg directory returned from
xfce_resource_save_location(type=XFCE_RESOURCE_CACHE, relpath=0x40b12991 "/",
create=1) returns $HOME/.cache and has nothing to do with $HOME/.xfce4. 

Is this a bug or is it intended that the application must set XFCE4HOME?





-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Xfce-bugs mailing list