Changeset View
Changeset View
Standalone View
Standalone View
startkde/startkde.cmake
Show First 20 Lines • Show All 313 Lines • ▼ Show 20 Line(s) | |||||
314 | kwrapper5 @CMAKE_INSTALL_FULL_BINDIR@/ksmserver $KDEWM $KSMSERVEROPTIONS | 314 | kwrapper5 @CMAKE_INSTALL_FULL_BINDIR@/ksmserver $KDEWM $KSMSERVEROPTIONS | ||
315 | if test $? -eq 255; then | 315 | if test $? -eq 255; then | ||
316 | # Startup error | 316 | # Startup error | ||
317 | echo 'startkde: Could not start ksmserver. Check your installation.' 1>&2 | 317 | echo 'startkde: Could not start ksmserver. Check your installation.' 1>&2 | ||
318 | test -n "$ksplash_pid" && kill "$ksplash_pid" 2>/dev/null | 318 | test -n "$ksplash_pid" && kill "$ksplash_pid" 2>/dev/null | ||
319 | xmessage -geometry 500x100 "Could not start ksmserver. Check your installation." | 319 | xmessage -geometry 500x100 "Could not start ksmserver. Check your installation." | ||
320 | fi | 320 | fi | ||
321 | 321 | | |||
322 | #Anything after here is logout/shutdown | 322 | #Anything after here is logout | ||
323 | #It is not called after shutdown/restart | ||||
323 | 324 | | |||
324 | wait_drkonqi=`kreadconfig5 --file startkderc --group WaitForDrKonqi --key Enabled --default true` | 325 | wait_drkonqi=`kreadconfig5 --file startkderc --group WaitForDrKonqi --key Enabled --default true` | ||
325 | 326 | | |||
326 | if test x"$wait_drkonqi"x = x"true"x ; then | 327 | if test x"$wait_drkonqi"x = x"true"x ; then | ||
327 | # wait for remaining drkonqi instances with timeout (in seconds) | 328 | # wait for remaining drkonqi instances with timeout (in seconds) | ||
328 | wait_drkonqi_timeout=`kreadconfig5 --file startkderc --group WaitForDrKonqi --key Timeout --default 900` | 329 | wait_drkonqi_timeout=`kreadconfig5 --file startkderc --group WaitForDrKonqi --key Timeout --default 900` | ||
329 | wait_drkonqi_counter=0 | 330 | wait_drkonqi_counter=0 | ||
330 | while qdbus | grep "^[^w]*org.kde.drkonqi" > /dev/null ; do | 331 | while qdbus | grep "^[^w]*org.kde.drkonqi" > /dev/null ; do | ||
Show All 26 Lines |