kwinwrapper.in 892 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
#!/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
13
export PLASMA_PLATFORM=phone:handset
Bart Ribbers's avatar
Bart Ribbers committed
14
export QT_VIRTUALKEYBOARD_STYLE=Plasma
15
16
17
18

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

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

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