summaryrefslogtreecommitdiff
path: root/misc/kde4-xdg-env/files
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2005-04-17 11:32:36 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2005-04-17 11:32:36 +0000
commite88f6cd4d202139a54bfae2cc11ad7dd02aee25d (patch)
treed5100496528506f524df6c4dd606453a58718ff1 /misc/kde4-xdg-env/files
parentForgot to remove that. (diff)
Add kde-xdg-env, a script which hooks into startkde and helps KDE pick up
XDG apps/menus
Notes
Notes: svn path=/head/; revision=133515
Diffstat (limited to 'misc/kde4-xdg-env/files')
-rw-r--r--misc/kde4-xdg-env/files/xdg-env.sh.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/misc/kde4-xdg-env/files/xdg-env.sh.in b/misc/kde4-xdg-env/files/xdg-env.sh.in
new file mode 100644
index 000000000000..f0373906ed35
--- /dev/null
+++ b/misc/kde4-xdg-env/files/xdg-env.sh.in
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+# $FreeBSD$
+#
+# Submit missing XDG-file locations to kde@freebsd.org!
+
+export XDG_CONFIG_DIRS=\
+${XDG_CONFIG_DIRS}:/etc/xdg:%%LOCALBASE%%/etc/xdg:%%X11BASE%%/etc/xdg:\
+%%LOCALBASE%%/etc/xdg/xfce4
+
+export XDG_DATA_DIRS=\
+${XDG_DATA_DIRS}:/usr/share:%%LOCALBASE%%/share:\
+%%X11BASE%%/share:%%X11BASE%%/share/gnome
+
+kbuildsycoca