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 | XDG_SESSION_TYPE=wayland | ||||
222 | export XDG_SESSION_TYPE | ||||
223 | | ||||
221 | # kwin_wayland can possibly also start dbus-activated services which need env variables. | 224 | # kwin_wayland can possibly also start dbus-activated services which need env variables. | ||
222 | # In that case, the update in startplasma might be too late. | 225 | # In that case, the update in startplasma might be too late. | ||
223 | if which dbus-update-activation-environment >/dev/null 2>/dev/null ; then | 226 | if which dbus-update-activation-environment >/dev/null 2>/dev/null ; then | ||
224 | dbus-update-activation-environment --systemd --all | 227 | dbus-update-activation-environment --systemd --all | ||
225 | else | 228 | else | ||
226 | @CMAKE_INSTALL_FULL_LIBEXECDIR@/ksyncdbusenv | 229 | @CMAKE_INSTALL_FULL_LIBEXECDIR@/ksyncdbusenv | ||
227 | fi | 230 | fi | ||
228 | if test $? -ne 0; then | 231 | if test $? -ne 0; then | ||
Show All 14 Lines |