shift-shell/bin/kwinwrapper
Aleix Pol 06fe7ab86b Use startplasma-wayland to start plasma
This will allow to use plasma more similarly to what we are used to on
the desktop.
I found this needed specifically when I was trying to get plasma to work
on another language but the current plasma-phone script never sets LANG
or LANGUAGE.
2019-12-05 15:12:31 +01:00

26 lines
851 B
Bash
Executable file

#!/bin/sh
[ -f /etc/profile ] && . /etc/profile
export QT_QPA_PLATFORM=wayland
export QT_QPA_PLATFORMTHEME=KDE
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
export EGL_PLATFORM=wayland
export QT_QUICK_CONTROLS_STYLE=Plasma
export QT_ENABLE_GLYPH_CACHE_WORKAROUND=1
export QT_QUICK_CONTROLS_MOBILE=true
export PLASMA_PLATFORM=phone:handset
export GRID_UNIT_PX=25
export FORCE_RIL_NUM_MODEMS=1
export PLASMA_DEFAULT_SHELL=org.kde.plasma.phone
# work around to fix : https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1507584
_ARCH=arm-linux-gnueabihf
if [ -d /usr/lib/$_ARCH/libhybris-egl ]; then
export LD_LIBRARY_PATH=/usr/lib/$_ARCH/libhybris-egl:$LD_LIBRARY_PATH
fi
touch /tmp/simplelogin_starting
startplasma-wayland --xwayland --libinput --inputmethod maliit-server --exit-with-session=/usr/lib/$_ARCH/libexec/startplasma-waylandsession