On Wed, 7 Jan 2004, William Hunter wrote:

> First off, a thank you to those who helped solve my last problem with
> libnet-pm. Your suggestions worked and I've now got it updated.
>
> Now, onto the next problem :)
>
> Currently I start KDE when using Apple's X11 by having the following lines
> in my .xinitrc file. It works a treat:
>
>     export KDEWM=/sw/bin/kwin
>     exec quartz-wm --only-proxy &
>     exec /sw/bin/startkde
>
I'm not sure you want the "exec" on the quartz-wm line.
Normally that means "replace my shell process with this new process" if
you follow it with another command, so nothing after that would execute.
If it's working as-is I would guess that the shell is ignorming it since
you've put the command in the background, but I wouldn't depend on this
behavior always.

> I've also seen it done like this, which also works:
>
>     export KDEWM=/sw/bin/kwin
>     /sw/bin/startkde >/tmp/kde.log 2>&1
>
> Which is 'better' or is there a 'better' third way?
>
You're in UNIX-land, so there are a million ways.  I'd probably do this:

#!/bin/sh
exec > .xnoise 2>&1     # messages from everything you run in this shell...
xrdb -merge .Xresources # If applicable
# Whatever else you want
export KDEWM=/sw/bin/kwin
quartz-wm --only-proxy &
exec /sw/bin/startkde

Wayne


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to