File indexing completed on 2024-04-21 16:20:01

0001 #!/bin/sh
0002 
0003 # SPDX-FileCopyrightText: 2019-2021 Aleix Pol <apol@kde.org>
0004 # SPDX-FileCopyrightText: 2019-2021 Bhushan Shah <bshah@kde.org>
0005 # SPDX-FileCopyrightText: 2019-2020 Jonah BrĂ¼chert <jbb@kaidan.im>
0006 # SPDX-License-Identifier: GPL-2.0-or-later
0007 
0008 [ -f /etc/profile ] && . /etc/profile
0009 
0010 export QT_QPA_PLATFORM=wayland
0011 export QT_QPA_PLATFORMTHEME=KDE
0012 export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
0013 export EGL_PLATFORM=wayland
0014 
0015 export QT_QUICK_CONTROLS_STYLE=org.kde.breeze
0016 export QT_ENABLE_GLYPH_CACHE_WORKAROUND=1
0017 export QT_QUICK_CONTROLS_MOBILE=true
0018 export PLASMA_INTEGRATION_USE_PORTAL=1
0019 export PLASMA_PLATFORM=phone:handset
0020 
0021 # if coredumpd knows about the dumps, make sure drkonqi catches them
0022 if [[ $(cat /proc/sys/kernel/core_pattern) =~ /systemd-coredump ]]
0023 then
0024         export KDE_COREDUMP_NOTIFY=1
0025 fi
0026 
0027 # TODO port away from PLASMA_DEFAULT_SHELL into QT_QPA_PLATFORM=offscreen plasma-apply-lookandfeel --apply org.kde.plasma.phone
0028 export PLASMA_DEFAULT_SHELL=org.kde.plasma.phoneshell
0029 startplasma-wayland --xwayland --lockscreen --inputmethod maliit-keyboard --exit-with-session=@KDE_INSTALL_FULL_LIBEXECDIR@/startplasma-waylandsession