Re: [Xquartz-dev] 2.3.2_rc5 quitting and restarting
Am 31.12.2008 um 16:00 schrieb Martin Costabel:
"Don't Run Any X Clients From ~/.xinitrc, or you are in deep trouble".
What is the difference between launching X clients from ~/.xinitrc and launching them from /usr/X11/lib/X11/xinit/xinitrc? And why is there a difference? Is it something good for? -- Greetings Pete Computers are good at following instructions, but not at reading your mind. - D. E. Knuth, The TeXbook, Addison-Wesley 1984, 1986, 1996, p. 9
+ Peter Dyballa <Peter_Dyballa@Freenet.DE>:
Am 31.12.2008 um 16:00 schrieb Martin Costabel:
"Don't Run Any X Clients From ~/.xinitrc, or you are in deep trouble".
What is the difference between launching X clients from ~/.xinitrc and launching them from /usr/X11/lib/X11/xinit/xinitrc? And why is there a difference? Is it something good for?
I can make a guess ... + Martin Costabel <costabel@wanadoo.fr>:
John Koren wrote:
Don't do that. Do this:
cd ~ /sw/bin/rxvt -tcw & . /usr/X11/lib/X11/xinit/xinitrc
This doesn't change anything. I observe the same behavior as John.
... and my guess is this: With the above method, rxvt may well be in the process of starting up while /usr/X11/lib/X11/xinit/xinitrc.d/10-fontdir.sh is running and messing about with fontpath settings behind rxvt's back. This sort of thing just might be a source of trouble. Other bits of setup, such as loading .Xresources, may also cause trouble when you start X clients this way. So the advice should be to not have a .xinitrc at all, but instead do mkdir ~/.xinitrc.d echo '/sw/bin/rxvt -tcw &' > ~/.xinitrc.d/rxvt.sh chmod +x ~/.xinitrc.d/rxvt.sh and restart X11. - Harald
On Dec 31, 2008, at 09:36, Harald Hanche-Olsen wrote:
... and my guess is this: With the above method, rxvt may well be in the process of starting up while /usr/X11/lib/X11/xinit/xinitrc.d/10- fontdir.sh is running and messing about with fontpath settings behind rxvt's back.
10-fontdir.sh only adds font paths (doesn't remove them).. so that isn't it.
This sort of thing just might be a source of trouble. Other bits of setup, such as loading .Xresources, may also cause trouble when you start X clients this way. So the advice should be to not have a .xinitrc at all, but instead do
mkdir ~/.xinitrc.d echo '/sw/bin/rxvt -tcw &' > ~/.xinitrc.d/rxvt.sh chmod +x ~/.xinitrc.d/rxvt.sh
and restart X11.
Yep.
On Dec 31, 2008, at 09:21, Peter Dyballa wrote:
Am 31.12.2008 um 16:00 schrieb Martin Costabel:
"Don't Run Any X Clients From ~/.xinitrc, or you are in deep trouble".
What is the difference between launching X clients from ~/.xinitrc and launching them from /usr/X11/lib/X11/xinit/xinitrc?
None. If ~/.xinitrc is present, it's used instead of /usr/X11/lib/X11/ xinit/xinitrc
participants (3)
-
Harald Hanche-Olsen
-
Jeremy Huddleston
-
Peter Dyballa