In the case of config files, we want a local sysadm dir added as well. The priorities is as follows: - peoples homedir (.kde4) - for config files, /etc/kde4/ - what's defined in KDEDIRS - the default install path. With this patch, we can also install all config files into /usr/ as they just can get overridden by adding new files to /etc/kde4 by the sysadm. Index: kde4libs/kdecore/kernel/kstandarddirs.cpp =================================================================== --- kde4libs.orig/kdecore/kernel/kstandarddirs.cpp 2014-02-05 14:54:48.376405206 +0100 +++ kde4libs/kdecore/kernel/kstandarddirs.cpp 2014-02-05 14:54:48.372405112 +0100 @@ -1167,6 +1167,10 @@ if ((local || testdir.exists()) && !candidates.contains(path, cs)) candidates.append(path); } + // UGLY HACK - forward porting Chris CHeney's HACK - Rex Dieter + if ( local && (!strcmp("config", type))) // local is used as a "homedir marker" + candidates.append(QLatin1String("/etc/kde4/")); + // local = false; } else