shift-shell/bin/kwinwrapper.in
Aleix Pol 0998bcfa27 Specify the maliit-keyboard as the input method to use
I wonder why we were specifying maliit-server now, definitely was
unused.
Using maliit-keyboard we'll get to leverage the input-method-v1 support
we have now in kwin, allowing to move the keyboard into a separate
process and making the development of the virtual keyboard increasinly
modular.
2020-08-18 02:10:15 +02:00

26 lines
892 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 QT_VIRTUALKEYBOARD_STYLE=Plasma
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
if [ -d @KDE_INSTALL_FULL_LIBDIR@/libhybris-egl ]; then
export LD_LIBRARY_PATH=@KDE_INSTALL_FULL_LIBDIR@/libhybris-egl:$LD_LIBRARY_PATH
fi
touch /tmp/simplelogin_starting
startplasma-wayland --xwayland --libinput --inputmethod maliit-keyboard --exit-with-session=@KDE_INSTALL_FULL_LIBEXECDIR@/startplasma-waylandsession