diff options
author | Eric Hameleers <alien@slackware.com> | 2014-12-22 15:23:54 +0100 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2014-12-22 15:23:54 +0100 |
commit | b1b35d20ce6b70330b23a9d056dcb44b58795bd6 (patch) | |
tree | d393ca76dae97b64e8de58184a15f60ca1a7412a /kde/post-install/plasma-workspace/xinit/xinitrc.plasma | |
parent | f0e6e91722ec10bf7aa6a4bf53d1aedd8aee4c74 (diff) | |
download | ktown-b1b35d20ce6b70330b23a9d056dcb44b58795bd6.tar.gz ktown-b1b35d20ce6b70330b23a9d056dcb44b58795bd6.tar.xz |
KDE 5 for Slackware current (post-14.1) (16sep2014)5
The KDE 5 Software Compilation no longer exists as such.
The components are now:
- Frameworks 5.2.0
- Plasma 5.0.2
These packages need to be installed on top of the most recent KDE 4.14.x
because Applications tarballs which build on top of Frameworks and
Plasma have not yet been released.
Diffstat (limited to 'kde/post-install/plasma-workspace/xinit/xinitrc.plasma')
-rw-r--r-- | kde/post-install/plasma-workspace/xinit/xinitrc.plasma | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/kde/post-install/plasma-workspace/xinit/xinitrc.plasma b/kde/post-install/plasma-workspace/xinit/xinitrc.plasma new file mode 100644 index 0000000..18fd622 --- /dev/null +++ b/kde/post-install/plasma-workspace/xinit/xinitrc.plasma @@ -0,0 +1,45 @@ +#!/bin/sh +# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $ + +userresources=$HOME/.Xresources +usermodmap=$HOME/.Xmodmap +sysresources=/etc/X11/xinit/.Xresources +sysmodmap=/etc/X11/xinit/.Xmodmap + +# merge in defaults and keymaps + +if [ -f $sysresources ]; then + xrdb -merge $sysresources +fi + +if [ -f $sysmodmap ]; then + xmodmap $sysmodmap +fi + +if [ -f $userresources ]; then + xrdb -merge $userresources +fi + +if [ -f $usermodmap ]; then + xmodmap $usermodmap +fi + +# KDE Frameworks 5 plus Plasma Next: +export KF5=/opt/kf5 +export PATH=$KF5/bin:$KF5/lib@LIBDIRSUFFIX@/qt5/bin:$PATH +export QML2_IMPORT_PATH=$KF5/lib@LIBDIRSUFFIX@/qt5/qml:/usr/lib@LIBDIRSUFFIX@/qt5/qml +export QT_PLUGIN_PATH=$KF5/lib@LIBDIRSUFFIX@/qt5/plugins:/usr/lib@LIBDIRSUFFIX@/qt5/plugins +export XDG_CONFIG_DIRS=$KF5/etc/xdg:/etc/xdg:/etc/kde/xdg +export XDG_DATA_DIRS=$KF5/share:/usr/share:/usr/local/share + +export XDG_DATA_HOME="$HOME/.local5" +export XDG_CONFIG_HOME="$HOME/.config5" +export XDG_CACHE_HOME="$HOME/.cache5" +export KDEHOME="$HOME/.kde5" + +# Start the window manager: +if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then + ck-launch-session startkde +else + startkde +fi |