View | Details | Raw Unified | Return to bug 178930
Collapse All | Expand All

(-)startkde (-4 / +21 lines)
Lines 4-8 Link Here
4
#
4
#
5
5
6
PATH=/opt/kde3/bin:${PATH/:\/opt\/kde3\/bin}
7
export PATH
8
6
# When the X server dies we get a HUP signal from xinit. We must ignore it
9
# When the X server dies we get a HUP signal from xinit. We must ignore it
7
# because we still need to do some cleanup.
10
# because we still need to do some cleanup.
8
trap 'echo GOT SIGHUP' HUP
11
trap 'echo GOT SIGHUP' HUP
Lines 19-25 Link Here
19
# people's heads. We use colours from the standard KDE palette for those with
22
# people's heads. We use colours from the standard KDE palette for those with
20
# palettised displays.
23
# palettised displays.
21
if test -z "$XDM_MANAGED" || echo "$XDM_MANAGED" | grep ",auto" > /dev/null; then
24
if test -z "$XDM_MANAGED" || echo "$XDM_MANAGED" | grep ",auto" > /dev/null; then
22
  xsetroot -solid "#000000"
25
  : # xsetroot -solid "#C0C0C0"
23
fi
26
fi
24
27
25
# we have to unset this for Darwin since it will screw up KDE's dynamic-loading
28
# we have to unset this for Darwin since it will screw up KDE's dynamic-loading
Lines 62-68 Link Here
62
kcminputrc Mouse cursorTheme ''
65
kcminputrc Mouse cursorTheme ''
63
kcminputrc Mouse cursorSize ''
66
kcminputrc Mouse cursorSize ''
64
kpersonalizerrc General FirstLogin true
67
kpersonalizerrc General FirstLogin true
65
ksplashrc KSplash Theme Default
68
ksplashrc KSplash Theme ksplashx-suse
66
kcmrandrrc Display ApplyOnStartup false
69
kcmrandrrc Display ApplyOnStartup false
67
kcmrandrrc [Screen0]
70
kcmrandrrc [Screen0]
68
kcmrandrrc [Screen1]
71
kcmrandrrc [Screen1]
Lines 160-165 Link Here
160
EOF
163
EOF
161
fi
164
fi
162
165
166
case "$ksplashrc_ksplash_theme" in
167
   ksplashx-*)
168
       if test -x /opt/kde3/bin/ksplashx; then
169
         /opt/kde3/bin/ksplashx ${ksplashrc_ksplash_theme#ksplashx-}
170
       else
171
         ksplashrc_ksplash_theme=Default
172
       fi
173
       ;;
174
esac
175
163
# Source scripts found in <localprefix>/env/*.sh and <prefixes>/env/*.sh
176
# Source scripts found in <localprefix>/env/*.sh and <prefixes>/env/*.sh
164
# (where <localprefix> is $KDEHOME or ~/.kde, and <prefixes> is where KDE is installed)
177
# (where <localprefix> is $KDEHOME or ~/.kde, and <prefixes> is where KDE is installed)
165
#
178
#
Lines 283-289 Link Here
283
echo 'startkde: Starting up...'  1>&2
296
echo 'startkde: Starting up...'  1>&2
284
297
285
# run KPersonalizer before the session, if this is the first login
298
# run KPersonalizer before the session, if this is the first login
286
if test "$kpersonalizerrc_general_firstlogin" = "true"; then
299
if false && test "$kpersonalizerrc_general_firstlogin" = "true"; then
287
    # start only dcopserver, don't start whole kdeinit (takes too long)
300
    # start only dcopserver, don't start whole kdeinit (takes too long)
288
    echo 'startkde: Running kpersonalizer...'  1>&2
301
    echo 'startkde: Running kpersonalizer...'  1>&2
289
    dcopserver
302
    dcopserver
Lines 302-307 Link Here
302
  case "$ksplashrc_ksplash_theme" in 
315
  case "$ksplashrc_ksplash_theme" in 
303
    None)
316
    None)
304
       ;; # nothing
317
       ;; # nothing
318
    ksplashx-*)
319
      ;; # started earlier
305
    Simple)
320
    Simple)
306
       if test "$kpersonalizerrc_general_firstlogin" = "true"; then
321
       if test "$kpersonalizerrc_general_firstlogin" = "true"; then
307
           ksplashsimple 
322
           ksplashsimple 
Lines 384-392 done Link Here
384
echo 'startkde: Shutting down...'  1>&2
399
echo 'startkde: Shutting down...'  1>&2
385
400
386
# Clean up
401
# Clean up
402
if test -e /opt/kde3/bin/artsshell; then
403
  artsshell -q terminate
404
fi
387
kdeinit_shutdown
405
kdeinit_shutdown
388
dcopserver_shutdown --wait
406
dcopserver_shutdown --wait
389
artsshell -q terminate
390
407
391
echo 'startkde: Running shutdown scripts...'  1>&2
408
echo 'startkde: Running shutdown scripts...'  1>&2
392
409

Return to bug 178930