mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-02 17:54:45 +00:00
Cleanup environment for plasma-phone
This commit is contained in:
parent
1bb438ca6c
commit
f30f0a689d
1 changed files with 6 additions and 5 deletions
|
|
@ -83,17 +83,18 @@ EOF
|
||||||
mkdir -p %{buildroot}%{_sharedstatedir}/environment/plasma-phone
|
mkdir -p %{buildroot}%{_sharedstatedir}/environment/plasma-phone
|
||||||
cat > %{buildroot}%{_sharedstatedir}/environment/plasma-phone/plasma-phone.conf <<EOF
|
cat > %{buildroot}%{_sharedstatedir}/environment/plasma-phone/plasma-phone.conf <<EOF
|
||||||
LIBEXEC_PATH="%{_libexecdir}:%{_libdir}/libexec:%{_kf5_libexecdir}"
|
LIBEXEC_PATH="%{_libexecdir}:%{_libdir}/libexec:%{_kf5_libexecdir}"
|
||||||
|
QT_PLUGIN_PATH=${QT_PLUGIN_PATH+$QT_PLUGIN_PATH:}\`qtpaths --plugin-dir\`:%{_libdir}/kde5/plugins
|
||||||
|
|
||||||
|
DBUS_SESSION_BUS_ADDRESS=unix:path=%t/dbus/user_bus_socket
|
||||||
|
|
||||||
QT_QPA_PLATFORM=wayland
|
QT_QPA_PLATFORM=wayland
|
||||||
QT_QPA_PLATFORMTHEME=KDE
|
QT_QPA_PLATFORMTHEME=KDE
|
||||||
QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
||||||
XDG_CURRENT_DESKTOP=KDE
|
XDG_CURRENT_DESKTOP=KDE
|
||||||
KSCREEN_BACKEND=QScreen
|
KSCREEN_BACKEND=QScreen
|
||||||
|
|
||||||
# Not sure about these, but startkde does it
|
KDE_FULL_SESSION=1
|
||||||
QT_PLUGIN_PATH=${QT_PLUGIN_PATH+$QT_PLUGIN_PATH:}`qtpaths --plugin-dir`
|
KDE_SESSION_VERSION=5
|
||||||
# TODO: Do we really need this?
|
|
||||||
QT_PLUGIN_PATH=$QT_PLUGIN_PATH:/usr/lib/kde5/plugins/
|
|
||||||
export QT_PLUGIN_PATH
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Default configuration for the UI
|
# Default configuration for the UI
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue