kwinwrapper.in 952 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
#!/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

10
export QT_QUICK_CONTROLS_STYLE=org.kde.breeze
11 12
export QT_ENABLE_GLYPH_CACHE_WORKAROUND=1
export QT_QUICK_CONTROLS_MOBILE=true
13
export PLASMA_INTEGRATION_USE_PORTAL=1
14
export PLASMA_PLATFORM=phone:handset
Bart Ribbers's avatar
Bart Ribbers committed
15
export QT_VIRTUALKEYBOARD_STYLE=Plasma
16 17 18 19

export GRID_UNIT_PX=25
export FORCE_RIL_NUM_MODEMS=1
export PLASMA_DEFAULT_SHELL=org.kde.plasma.phone
20 21

# work around to fix : https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1507584
22 23
if [ -d @KDE_INSTALL_FULL_LIBDIR@/libhybris-egl ]; then
    export LD_LIBRARY_PATH=@KDE_INSTALL_FULL_LIBDIR@/libhybris-egl:$LD_LIBRARY_PATH
24 25 26
fi

touch /tmp/simplelogin_starting
27
startplasma-wayland --xwayland --libinput --lockscreen --inputmethod maliit-keyboard --exit-with-session=@KDE_INSTALL_FULL_LIBEXECDIR@/startplasma-waylandsession