shift-shell/bin/kwinwrapper.in
Bhushan Shah b7b963822c Fix plasma mobile session
KWin in plasma/kwin@ef72bae42f removed the libinput
option, if we start kwin with this option, it fails with unknown option
libinput and eventually gives up
2021-11-13 14:26:56 +05:30

19 lines
723 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=org.kde.breeze
export QT_ENABLE_GLYPH_CACHE_WORKAROUND=1
export QT_QUICK_CONTROLS_MOBILE=true
export PLASMA_INTEGRATION_USE_PORTAL=1
export PLASMA_PLATFORM=phone:handset
# TODO port away from PLASMA_DEFAULT_SHELL into QT_QPA_PLATFORM=offscreen plasma-apply-lookandfeel --apply org.kde.plasma.phone
export PLASMA_DEFAULT_SHELL=org.kde.plasma.phoneshell
startplasma-wayland --xwayland --lockscreen --inputmethod maliit-keyboard --exit-with-session=@KDE_INSTALL_FULL_LIBEXECDIR@/startplasma-waylandsession