Re: XQuartz v2.3.2.1 Questions
Re: XQuartz v2.3.2.1 Questions
- Subject: Re: XQuartz v2.3.2.1 Questions
- From: Jeremy Huddleston <email@hidden>
- Date: Wed, 4 Feb 2009 15:43:30 -0800
Yeah, but you should NOT do that. Instead, create a directory
(~/.xinitrc.d) and fill it with executable files that you want to get
sourced by the system xinitrc (see /usr/X11/lib/X11/xinit/xinitrc.d/
98-
user.sh)
If I want a remote window manager to take control when X11 starts up
(don't want twm or quartz-wm to start), how would you recommend
doing so
without making a private .xinitrc file or editing the system-wide
/usr/X11/lib/X11/xinit/xinitrc file to remove the startup of the local
window manager and other "nice programs" (i.e. xclock, xterm)?
See this link:
http://xquartz.macosforge.org/trac/wiki/X11-UsersFAQ#WantanotherX11.appserver
This example looks like the type of thing I want to do. It appears
both
X11 servers would still execute the same xinitrc file and the
environment
variable X11_PREFS_DOMAIN would then need to be tested within xinitrc
and/or shell scripts it executes to determine which X11 server is
starting. Is this correct?
yes.
If so, would it be acceptable to edit the
system-wide xinitrc file to check the environment variable and start
(or
not) the local window manager depending on which X11 server is
starting?
No. You should make a file in ~/.xinitrc.d or /usr/X11/lib/X11/
xinitrc/xinitrc.d to do that (like the example given for gimp).
Furthermore, does xinitrc and/or the scripts in
/usr/X11/lib/X11/xinit/xinitrc.d directory get replaced with
upgrades of
XQuartz?
Yes. Hence why it's best to create your own file in xinitrc.d for
your purpose, so it won't get overwritten on an update.
One other thing (for now)... I read an article that indicated that
if you
wanted to allow a remote window manager to start properly, the
easiest way
is to start an xterm from within .xinitrc (along with not starting the
local window manager).
Yeah, that's the best I've been able to come up with. I tried things
like 'ssh -Y 10.0.10.2 metacity' in the xinitrc, but I couldn't get
that to work... it should be possible in theory... but I gave up.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden