Created attachment 1962 use g_slist_prepend instead of append I attach a small patch which fixes an oddness when the user has (for instance as on my system) a group that can write towards a system dir. Because of this the conf in ~/.config is read prior to the system wide conf. But that's not what we wish. The patch simply replaces g_slist_append against prepend (the API says you win 2 to 3 CPU cycles with prepend :P). Cheers
Some quick pointer, libxfce4util/libxfce4util/xfce-resource.c (_res_init) reads the home directories prior to the system directories.
Hmm, I'm not convinced the existing behavior is incorrect. You're misunderstanding "system" and "user" in this context. I don't care where the directory is actually located, if the user can write to it, it's a "user" dir.
What I want is the conf from ~/.config to be merged at the very end. I don't touch the other settings from /usr/local etc.
Ok, I just read the thread on xfce4-dev. For starters: why is /usr/local writable by you on your system? That's completely broken. Anyhow... Enrico's use-case makes sense there. I think it should just consider the return of xfce_resource_save_location() as the "user dir" and everything else as a system dir.
SVN r28676 works fine for me, thanks Brian.
Cause I happen to be re-tard-ed (hard to break old habits). Thanks the fix ;) PS: my habit is the next: chmod 775 -R /usr/local where the group is staff, since I'm lazy of typing sudo for instance for make install (which also helps when files wanna get installed outside that prefix)