shift-shell/bin/kwinwrapper
Aleix Pol 538eae4aef Workarounds
Remove ExoPC workaround to force it on OpenGL 1.4.
Only include libhybris on the LD_LIBRARY_PATH if we actually have it.
2019-11-19 15:01:32 +01:00

26 lines
814 B
Bash
Executable file

#!/bin/sh
[ -f /etc/profile ] && . /etc/profile
export $(dbus-launch)
export QT_QPA_PLATFORM=wayland
export QT_QPA_PLATFORMTHEME=KDE
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
export XDG_CURRENT_DESKTOP=KDE
export KSCREEN_BACKEND=QScreen
export EGL_PLATFORM=wayland
export KDE_FULL_SESSION=1
export KDE_SESSION_VERSION=5
export PLASMA_PLATFORM=phone
export QT_QUICK_CONTROLS_STYLE=Plasma
export QT_ENABLE_GLYPH_CACHE_WORKAROUND=1
export QT_QUICK_CONTROLS_MOBILE=true
# work around to fix : https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1507584
if [ -d /usr/lib/arm-linux-gnueabihf/libhybris-egl ]; then
export LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/libhybris-egl:$LD_LIBRARY_PATH
fi
touch /tmp/simplelogin_starting
kwin_wayland --xwayland --libinput --inputmethod maliit-server plasma-phone