summaryrefslogtreecommitdiffstats
path: root/kde/post-install/kservice/profile.d/kde.csh
diff options
context:
space:
mode:
Diffstat (limited to 'kde/post-install/kservice/profile.d/kde.csh')
-rw-r--r--kde/post-install/kservice/profile.d/kde.csh4
1 files changed, 4 insertions, 0 deletions
diff --git a/kde/post-install/kservice/profile.d/kde.csh b/kde/post-install/kservice/profile.d/kde.csh
index bb0ea69..cce370c 100644
--- a/kde/post-install/kservice/profile.d/kde.csh
+++ b/kde/post-install/kservice/profile.d/kde.csh
@@ -12,6 +12,10 @@ else
endif
if ( ! $?XDG_RUNTIME_DIR ) then
+ # Using /run/user would be more in line with XDG specs, but in that case
+ # we should mount /run as tmpfs and add this to the Slackware rc scripts:
+ # mkdir /run/user ; chmod 1777 /run/user
+ # setenv XDG_RUNTIME_DIR /run/user/$USER
setenv XDG_RUNTIME_DIR /tmp/xdg-runtime-$USER
mkdir -p $XDG_RUNTIME_DIR
chown $USER $XDG_RUNTIME_DIR