From 3888bd4d2acb08fb1a391740276d35b7fc633aac Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Mon, 22 Aug 2016 21:24:05 +0200 Subject: Define XDG_RUNTIME_DIR /run/user/$USER This is possible now that the elogind package adds a rc.elogind script which executes in rc.local and creates the tmpfs directory "/run/user". --- kde/post-install/kde-baseapps/profile.d/kde.csh | 2 +- kde/post-install/kde-baseapps/profile.d/kde.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kde/post-install/kde-baseapps/profile.d/kde.csh b/kde/post-install/kde-baseapps/profile.d/kde.csh index bb0ea69..ce8f0c3 100644 --- a/kde/post-install/kde-baseapps/profile.d/kde.csh +++ b/kde/post-install/kde-baseapps/profile.d/kde.csh @@ -12,7 +12,7 @@ else endif if ( ! $?XDG_RUNTIME_DIR ) then - setenv XDG_RUNTIME_DIR /tmp/xdg-runtime-$USER + setenv XDG_RUNTIME_DIR /run/user/$USER mkdir -p $XDG_RUNTIME_DIR chown $USER $XDG_RUNTIME_DIR chmod 700 $XDG_RUNTIME_DIR diff --git a/kde/post-install/kde-baseapps/profile.d/kde.sh b/kde/post-install/kde-baseapps/profile.d/kde.sh index 8883fc8..dfc93bd 100644 --- a/kde/post-install/kde-baseapps/profile.d/kde.sh +++ b/kde/post-install/kde-baseapps/profile.d/kde.sh @@ -10,7 +10,7 @@ else XDG_CONFIG_DIRS=/etc/xdg:/etc/kde/xdg fi if [ "$XDG_RUNTIME_DIR" = "" ]; then - XDG_RUNTIME_DIR=/tmp/xdg-runtime-$USER + XDG_RUNTIME_DIR=/run/user/$USER mkdir -p $XDG_RUNTIME_DIR chown $USER $XDG_RUNTIME_DIR chmod 700 $XDG_RUNTIME_DIR -- cgit v1.2.3