Marco Fioretti declaimed:
> On Fri, Jul 12, 2002 14:14:12 at 02:14:12PM -0700, paul wrote:
>
> > Here's what I do on the RedHat/Gnome system at school:
> > - Log into to Failsafe Xterm mode. This gives me an xterm with no window
> > frame, but if I move the mouse over it, I can enter commands.
> > - Run an executable script named xsession-default like this:
> > $ ./xsession-default
> >
>
> Paul,
> thanks for the tip, I'll try it monday.
> In the meantime, two questions:
> 1) Performance: (just out of curiosity) will this leave some piece of
> GNOME consuming RAM?CPU?
>
GNOME will certainly be running in all of its glory. You can either
leave the menubar collapsed or delete it (could be hard to get back, but
I find myself frequently running
$ rm -rf ~/.gnome*
to reset all my GNOME settings. Of course, I don't care about them...
If you don't like the icons on your desktop then you need to kill gmc
and/or keep it from launching automatically.
As far as CPU usage goes, I don't think GNOME has too many active
processes so the only hit would be consuming your swap space. But my
someone else may have a better grasp on this than I.
> 2) From your script
> > wait $wmpid
>
> what is the meaning of that line?
Someone on this list (sean?) suggested this for my .xsession file. It's
a technique so that I can start working before all my little toys finish
launching. See the man pages for the 'wait' command.
/usr/local/bin/blackbox & wmpid=$! # <- save blackbox's pid
xtoolwait bbkeys -i # <- run a bunch of stuff
xtoolwait -display :0.1 bbkeys -display :0.1 -i
xtoolwait bblaunch -d 0 xosview -font fixed +net -geometry 214x210+938+652
xtoolwait bbtime -w
xtoolwait bbpal -p debian -w -s
xtoolwait bbpager -s -w
xtoolwait bbpal -p sun -w -s
#xtoolwait wmcdplay -w
#xtoolwait wmmixer -w
#xtoolwait wmxmms
xtoolwait bbpal -p rathead -w -s
xtoolwait bbcd -w -s
DISPLAY=:0.1 bbpal -p rathead -w -s
wait $wmpid # <- wait for blackbox to quit
# e.g., user exits, before
# finishing script
--
Paul Mackinney
[EMAIL PROTECTED]