* | kde-baseapps: define XDG_RUNTIME_DIR=/tmp/xdg-runtime-$USER...This environment variable will be required by future KWin. It already was
complaining if the variable was not set.
Temporarily (and for Slackware 14.2 which is immutable) the directory /tmp
will be used for this, but ultimately the user directory needs to be created
on a tmpfs like /run . This requires a change in Slackware itself which will
have to be done in slackware-current as follows:
-------- 8< -------------------------------------------------------
--- /etc/rc.d/rc.S.orig 2016-06-13 03:33:03.000000000 +0200
+++ /etc/rc.d/rc.S 2016-07-21 12:53:13.262043599 +0200
@@ -25,6 +25,9 @@
if ! grep -wq "tmpfs /run tmpfs" /proc/mounts ; then
/sbin/mount -v -n -t tmpfs tmpfs /run -o mode=0755
fi
+ # Create toplevel directory for runtime session data:
+ mkdir -p /run/user
+ chmod 1777 /run/user
fi
# Load the loop device kernel module:
-------- 8< -------------------------------------------------------
And the KDE profile script needs to be changed to:
-------- 8< -------------------------------------------------------
--- source/5/kde/post-install/kde-baseapps/profile.d/kde.sh.org 2016-07-21 11:36:30.484407127 +0200
+++ source/5/kde/post-install/kde-baseapps/profile.d/kde.sh 2016-07-21 12:51:37.561789507 +0200
@@ -10,7 +10,7 @@
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
-------- 8< -------------------------------------------------------
| Eric Hameleers | 2016-07-21 | 1 | -2/+2 |