2023-08-15 19:57:56 +00:00
|
|
|
#!/bin/bash
|
2019-10-14 13:45:45 +00:00
|
|
|
|
2021-12-23 16:02:41 +00:00
|
|
|
# SPDX-FileCopyrightText: 2019-2021 Aleix Pol <apol@kde.org>
|
|
|
|
|
# SPDX-FileCopyrightText: 2019-2021 Bhushan Shah <bshah@kde.org>
|
|
|
|
|
# SPDX-FileCopyrightText: 2019-2020 Jonah Brüchert <jbb@kaidan.im>
|
|
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
2019-10-14 13:45:45 +00:00
|
|
|
[ -f /etc/profile ] && . /etc/profile
|
|
|
|
|
|
|
|
|
|
export QT_QPA_PLATFORM=wayland
|
|
|
|
|
export QT_QPA_PLATFORMTHEME=KDE
|
|
|
|
|
export EGL_PLATFORM=wayland
|
|
|
|
|
|
2020-12-04 16:40:41 +00:00
|
|
|
export QT_QUICK_CONTROLS_STYLE=org.kde.breeze
|
2019-10-14 13:45:45 +00:00
|
|
|
export QT_ENABLE_GLYPH_CACHE_WORKAROUND=1
|
|
|
|
|
export QT_QUICK_CONTROLS_MOBILE=true
|
2020-09-18 14:27:32 +00:00
|
|
|
export PLASMA_INTEGRATION_USE_PORTAL=1
|
2019-12-04 19:37:59 +00:00
|
|
|
export PLASMA_PLATFORM=phone:handset
|
2019-10-14 13:45:45 +00:00
|
|
|
|
2022-03-05 17:33:35 +00:00
|
|
|
# if coredumpd knows about the dumps, make sure drkonqi catches them
|
|
|
|
|
if [[ $(cat /proc/sys/kernel/core_pattern) =~ /systemd-coredump ]]
|
|
|
|
|
then
|
|
|
|
|
export KDE_COREDUMP_NOTIFY=1
|
|
|
|
|
fi
|
2021-09-07 02:29:57 +00:00
|
|
|
|
|
|
|
|
# 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
|
2023-07-17 11:57:26 +00:00
|
|
|
startplasma-wayland --xwayland --inputmethod maliit-keyboard
|