summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Lécureuil <neoclust@mageia.org>2016-07-27 10:12:24 +0200
committerNicolas Lécureuil <neoclust@mageia.org>2016-07-27 10:12:24 +0200
commit3f8c88de33daa56239b496e9d03a9c9606b9b9f2 (patch)
tree49e7ab7bd47ebbbf4f1119bcaf622e4c4f369456
parent4df67e68bf0819fa386f6255e8b8da2c1685a641 (diff)
downloadconfig-3f8c88de33daa56239b496e9d03a9c9606b9b9f2.tar
config-3f8c88de33daa56239b496e9d03a9c9606b9b9f2.tar.gz
config-3f8c88de33daa56239b496e9d03a9c9606b9b9f2.tar.bz2
config-3f8c88de33daa56239b496e9d03a9c9606b9b9f2.tar.xz
config-3f8c88de33daa56239b496e9d03a9c9606b9b9f2.zip
Fix XDG_DATA_DIRS
Prepare to have mageia flavours ( Live, Default, etc. )
-rw-r--r--etc/xdg/plasma-workspace/env/env15
-rw-r--r--var/lib/plasma5-profiles/common/share/config/README0
-rw-r--r--var/lib/plasma5-profiles/common/xdg/kscreenlockerrc (renamed from etc/xdg/kscreenlockerrc)0
-rw-r--r--var/lib/plasma5-profiles/common/xdg/ksmserverrc (renamed from etc/xdg/ksmserverrc)0
-rw-r--r--var/lib/plasma5-profiles/common/xdg/ksplashrc (renamed from etc/xdg/ksplashrc)0
5 files changed, 15 insertions, 0 deletions
diff --git a/etc/xdg/plasma-workspace/env/env b/etc/xdg/plasma-workspace/env/env
new file mode 100644
index 0000000..93bcabe
--- /dev/null
+++ b/etc/xdg/plasma-workspace/env/env
@@ -0,0 +1,15 @@
+## from http://standards.freedesktop.org/menu-spec/latest/
+
+# XDG_CONFIG_DIRS
+if [ -z "${XDG_CONFIG_DIRS}" ] ; then
+ XDG_CONFIG_DIRS=/etc/xdg:/var/lib/plasma5-profiles/common/xdg
+ export XDG_CONFIG_DIRS
+fi
+
+
+# XDG_DATA_DIRS
+if [ -z "${XDG_DATA_DIRS}" ] ; then
+ XDG_DATA_DIRS=/var/lib/plasma5-profiles/common/share:/usr/local/share:/usr/share
+ export XDG_DATA_DIRS
+fi
+
diff --git a/var/lib/plasma5-profiles/common/share/config/README b/var/lib/plasma5-profiles/common/share/config/README
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/var/lib/plasma5-profiles/common/share/config/README
diff --git a/etc/xdg/kscreenlockerrc b/var/lib/plasma5-profiles/common/xdg/kscreenlockerrc
index af48388..af48388 100644
--- a/etc/xdg/kscreenlockerrc
+++ b/var/lib/plasma5-profiles/common/xdg/kscreenlockerrc
diff --git a/etc/xdg/ksmserverrc b/var/lib/plasma5-profiles/common/xdg/ksmserverrc
index 734093f..734093f 100644
--- a/etc/xdg/ksmserverrc
+++ b/var/lib/plasma5-profiles/common/xdg/ksmserverrc
diff --git a/etc/xdg/ksplashrc b/var/lib/plasma5-profiles/common/xdg/ksplashrc
index 57589c0..57589c0 100644
--- a/etc/xdg/ksplashrc
+++ b/var/lib/plasma5-profiles/common/xdg/ksplashrc