Changeset View
Changeset View
Standalone View
Standalone View
startkde/startplasmacompositor.cmake
Show First 20 Lines • Show All 212 Lines • ▼ Show 20 Line(s) | |||||
213 | export KDE_SESSION_VERSION | 213 | export KDE_SESSION_VERSION | ||
214 | 214 | | |||
215 | KDE_SESSION_UID=`id -ru` | 215 | KDE_SESSION_UID=`id -ru` | ||
216 | export KDE_SESSION_UID | 216 | export KDE_SESSION_UID | ||
217 | 217 | | |||
218 | XDG_CURRENT_DESKTOP=KDE | 218 | XDG_CURRENT_DESKTOP=KDE | ||
219 | export XDG_CURRENT_DESKTOP | 219 | export XDG_CURRENT_DESKTOP | ||
220 | 220 | | |||
221 | #enforce wayland QPA | | |||
222 | QT_QPA_PLATFORM=wayland | | |||
223 | export QT_QPA_PLATFORM | | |||
224 | | ||||
225 | # kwin_wayland can possibly also start dbus-activated services which need env variables. | 221 | # kwin_wayland can possibly also start dbus-activated services which need env variables. | ||
226 | # In that case, the update in startplasma might be too late. | 222 | # In that case, the update in startplasma might be too late. | ||
227 | if which dbus-update-activation-environment >/dev/null 2>/dev/null ; then | 223 | if which dbus-update-activation-environment >/dev/null 2>/dev/null ; then | ||
228 | dbus-update-activation-environment --systemd --all | 224 | dbus-update-activation-environment --systemd --all | ||
229 | else | 225 | else | ||
230 | @CMAKE_INSTALL_FULL_LIBEXECDIR@/ksyncdbusenv | 226 | @CMAKE_INSTALL_FULL_LIBEXECDIR@/ksyncdbusenv | ||
231 | fi | 227 | fi | ||
232 | if test $? -ne 0; then | 228 | if test $? -ne 0; then | ||
Show All 14 Lines |