summaryrefslogtreecommitdiffstats
path: root/kde/KDE.SlackBuild
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2016-07-21 12:43:12 +0200
committer Eric Hameleers <alien@slackware.com>2016-07-21 12:43:12 +0200
commit372bfb987532df1733c503caf9be0c02bf04d207 (patch)
tree1f6dde50eea27546118c67b47f16222a4f8766d9 /kde/KDE.SlackBuild
parent543ff446ded01444cd0479858293b937ba3f6d45 (diff)
downloadktown-372bfb987532df1733c503caf9be0c02bf04d207.tar.gz
ktown-372bfb987532df1733c503caf9be0c02bf04d207.tar.xz
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< -------------------------------------------------------
Diffstat (limited to 'kde/KDE.SlackBuild')
0 files changed, 0 insertions, 0 deletions