Re: XQuartz v2.3.2.1 Questions
Re: XQuartz v2.3.2.1 Questions
- Subject: Re: XQuartz v2.3.2.1 Questions
- From: email@hidden
- Date: Wed, 4 Feb 2009 16:33:45 -0500
>
> On Feb 3, 2009, at 19:04, Ted Allen wrote:
>
> >
> > I am attempting to modify the keymaps for both the builtin and
an
> > external keyboard for a Mac OS X 10.5.6 MacBook running XQuartz
> > v2.3.2.1. Here are the questions I have:
> >
> > Where is the default ".xinitrc" (or equivalent global
file) located
> > in v2.3.2.1?
>
> /usr/X11/lib/X11/xinit/xinitrc
>
> > Looks to be different than the version shipped by Apple.
>
> Same location, slightly more updated contents
>
> > The private ".xinitrc" file may still be created
and is executed.
>
> 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)?
>
> > Is there a way to create more than one X11 application entry
(i.e.
> > one that would run by default and utilize the standard ".xinitrc"
> > file and another that would be named differently and would start
> > utilizing a ".xinitrc" file with a different name or
in a different
> > location?
>
> I think this may be what you're looking for:
>
> 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? 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?
Furthermore, does xinitrc and/or the scripts in /usr/X11/lib/X11/xinit/xinitrc.d
directory get replaced with upgrades of XQuartz?
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). Is there a better solution
to allow the X11 server to start when the remote window manager (which
is coming back in via X11 forwarding over SSH initiated from the Mac) and
for the remote window manager to successfully launch its desktop? With
startup of the local window manager and all other applications (i.e. xterm)
removed from xinitrc, the remote window manager is never completes its
startup successfully.
Best Regards,
Ted Allen _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden