Hi Patrick, Not sure how to do it personally, but at the moment, there are fairly up-to-date KDE packages for Debian in testing, unstable and experimental. You could check out how they did it there. There is also a mailinglist [1] for KDE on Debian that you could ask your question on. The maintainers are very friendly and helpful!
Hope that helps, Thom 1: https://lists.debian.org/debian-kde/ 2017-03-01 0:46 GMT+01:00 Patrick Schleizer <patrick-mailingli...@whonix.org >: > Hi, > > I am Patrick, a maintainer of Whonix, which Whonix is a Linux derivative > with at least several thousand users, that by default is using Debian > with Debian KDE packages. Is it okay if I ask a few questions on how to > pre-configure KDE as a Linux distribution? > > Are you aware of any example (Debian) packages that pre-configure > plasma 5? These could help me to figure out the correct file locations > and environment variables. > > In KDE 4, essentially the following worked. > > [1] > /usr/share/whonix-gw-kde-desktop-conf/share/apps/plasma-desktop/init/00- > defaultLayout.js > > [2] > /etc/X11/Xsession.d/50whonix-gw-kde-desktop-conf: > export KDEDIRS=/usr/share/whonix-gw-kde-desktop-conf/:$KDEDIRS > > I figured out how to make a kde settings package work with KDE 5. Here > is an example. [3] > > [4] > /etc/X11/Xsession.d/50kde-sounds-off > > if [ -z "$XDG_CONFIG_DIRS" ]; then > XDG_CONFIG_DIRS=/etc/xdg > fi > export XDG_CONFIG_DIRS=/usr/share/kde-sounds-off/:$XDG_CONFIG_DIRS > > [5] > /usr/share/kde-sounds-off/knotifyrc > > But editing default plasmoids / plasma changes are a bit different? For > example, how could one enable kde systray by default? > > The file that needs to be ultimately influenced is > /home/user/.config/plasma-org.kde.plasma.desktop-appletsrc. > > I haven't found any documentation on kde.org on how to do that with > KDE5. Please advice. > > Best regards, > Patrick > > [1] > https://github.com/Whonix/whonix-gw-kde-desktop-conf/ > blob/Whonix13/usr/share/whonix-gw-kde-desktop-conf/ > share/apps/plasma-desktop/init/00-defaultLayout.js > > [2] > https://github.com/Whonix/whonix-gw-kde-desktop-conf/ > blob/Whonix13/etc/X11/Xsession.d/50whonix-gw-kde-desktop-conf > > [3] https://github.com/Whonix/kde-sounds-off > > [4] > https://github.com/Whonix/kde-sounds-off/blob/master/etc/ > X11/Xsession.d/50kde-sounds-off > > [5] > https://github.com/Whonix/kde-sounds-off/blob/master/usr/ > share/kde-sounds-off/knotifyrc > >