2019-10-14 13:45:45 +00:00
|
|
|
#!/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
|
2019-12-04 19:37:59 +00:00
|
|
|
export PLASMA_PLATFORM=phone:handset
|
2019-12-09 21:53:14 +00:00
|
|
|
export QT_VIRTUALKEYBOARD_STYLE=Plasma
|
2019-12-04 19:37:59 +00:00
|
|
|
|
|
|
|
|
export GRID_UNIT_PX=25
|
|
|
|
|
export FORCE_RIL_NUM_MODEMS=1
|
|
|
|
|
export PLASMA_DEFAULT_SHELL=org.kde.plasma.phone
|
2019-10-14 13:45:45 +00:00
|
|
|
|
|
|
|
|
# work around to fix : https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1507584
|
2019-12-10 14:26:03 +00:00
|
|
|
if [ -d @KDE_INSTALL_FULL_LIBDIR@/libhybris-egl ]; then
|
|
|
|
|
export LD_LIBRARY_PATH=@KDE_INSTALL_FULL_LIBDIR@/libhybris-egl:$LD_LIBRARY_PATH
|
2019-10-14 13:45:45 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
touch /tmp/simplelogin_starting
|
2019-12-10 14:26:03 +00:00
|
|
|
startplasma-wayland --xwayland --libinput --inputmethod maliit-server --exit-with-session=@KDE_INSTALL_FULL_LIBEXECDIR@/startplasma-waylandsession
|