[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Howto use a self-built KF5/KDEPIM/Plasma 5 on Debian



Hello!

For anyone who wants to use a self-built KF5/KDEPIM and maybe Plasma 5 on
Debian:

None of the environment scripts from the KDE wiki fully works on Debian.
It does not help to set the environment in ~/.profile for bash and dash
(which startkde should use), to set it at beginning of startkde, to set it
globally in /etc/profile.d. None of this fully works. krunner and plasmashell
still use a standard environment as easily seen in /proc/$PID/environ. This
currently leads to various funny crashes if you try to use a self-build KDEPIM
from master with self-build KF5 5.14+ on top of KF 5.13 as packaged in Debian.

What works tough is:

martin@merkaba:~> cat ~/.config/plasma-workspace/env/kdedirs.sh 
#!/bin/bash

export KF5=/home/kde/install
export QTDIR=/usr/lib/x86_64-linux-gnu/qt5

export PATH=$KF5/bin:$QTDIR/bin:$PATH

export QT_PLUGIN_PATH=$KF5/lib/x86_64-linux-gnu/plugins:$QTDIR/plugins:$QT_PLUGIN_PATH
export QML2_IMPORT_PATH=$KF5/lib/x86_64-linux-gnu/qml:$QTDIR/qml

export XDG_DATA_DIRS=$KF5/share:/usr/share
export XDG_CONFIG_DIRS=$KF5/etc/xdg:/etc/xdg

export LD_LIBRARY_PATH=$KF5/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH


As it took me hours to dig this out, I post it here. I will also add it to
the KDE wiki at approbiate places.

Thanks,
-- 
Martin


Reply to: