Changeset View
Changeset View
Standalone View
Standalone View
startkde/startkde.cmake
Show First 20 Lines • Show All 345 Lines • ▼ Show 20 Line(s) | 343 | if test $? -ne 0; then | |||
---|---|---|---|---|---|
346 | test -n "$ksplash_pid" && kill "$ksplash_pid" 2>/dev/null | 346 | test -n "$ksplash_pid" && kill "$ksplash_pid" 2>/dev/null | ||
347 | xmessage -geometry 500x100 "Could not sync environment to dbus." | 347 | xmessage -geometry 500x100 "Could not sync environment to dbus." | ||
348 | exit 1 | 348 | exit 1 | ||
349 | fi | 349 | fi | ||
350 | 350 | | |||
351 | # We set LD_BIND_NOW to increase the efficiency of kdeinit. | 351 | # We set LD_BIND_NOW to increase the efficiency of kdeinit. | ||
352 | # kdeinit unsets this variable before loading applications. | 352 | # kdeinit unsets this variable before loading applications. | ||
353 | LD_BIND_NOW=true @CMAKE_INSTALL_FULL_LIBEXECDIR_KF5@/start_kdeinit_wrapper --kded +kcminit_startup | 353 | LD_BIND_NOW=true @CMAKE_INSTALL_FULL_LIBEXECDIR_KF5@/start_kdeinit_wrapper --kded +kcminit_startup | ||
354 | qdbus org.kde.KSplash /KSplash org.kde.KSplash.setStage kinit | ||||
graesslin: don't forget to do the same in startplasmacompositor | |||||
354 | if test $? -ne 0; then | 355 | if test $? -ne 0; then | ||
355 | # Startup error | 356 | # Startup error | ||
356 | echo 'startkde: Could not start kdeinit5. Check your installation.' 1>&2 | 357 | echo 'startkde: Could not start kdeinit5. Check your installation.' 1>&2 | ||
357 | test -n "$ksplash_pid" && kill "$ksplash_pid" 2>/dev/null | 358 | test -n "$ksplash_pid" && kill "$ksplash_pid" 2>/dev/null | ||
358 | xmessage -geometry 500x100 "Could not start kdeinit5. Check your installation." | 359 | xmessage -geometry 500x100 "Could not start kdeinit5. Check your installation." | ||
359 | exit 1 | 360 | exit 1 | ||
360 | fi | 361 | fi | ||
361 | 362 | | |||
▲ Show 20 Lines • Show All 56 Lines • Show Last 20 Lines |
don't forget to do the same in startplasmacompositor