Re: What's the Right Way to read resources on X startup?
Re: What's the Right Way to read resources on X startup?
- Subject: Re: What's the Right Way to read resources on X startup?
- From: Richard Cobbe <email@hidden>
- Date: Tue, 22 Jun 2010 07:47:27 -0400
- Mail-followup-to: email@hidden
On Mon, Jun 21, 2010 at 09:41:42AM -0400, robert delius royar wrote:
> Sun, 20 Jun 2010 (21:09 -0400 UTC) Richard Cobbe wrote:
>
> >I'm running XQuartz 2.5.1_rc1 on MacOS 10.6.4. What's the Right Way (tm)
> >to load X resources on startup? I'm particularly interested in avoiding a
> >race condition between the xresources load and the start of the initial
> >client application.
> >
> >In more detail:
> >
> >I have some resource settings, some of which affect xterm, in ~/.Xresources
> >-- the location where /opt/X11/lib/X11/xinit/xinitrc appears to look for
> >them.
>
> If you move your xterm-specific resource settings to ~/Xterm, does
> that solve your problem? I believe Thomas Dickey mentioned the
> ~/Xterm file a few years ago as the prefered way to set
> user-specific xterm resources at start up. It works for me on
> Debian and on OS X 10.4, 10.5, and 10.6.
No, that doesn't help. Aside from the usability problem (do I really have
to have one file per X app cluttering up my home directory? Can we at
least make them dotfiles?), it fails to produce the desired behavior in a
very strange way.
Previously, when I started XQuartz, I got an xterm that was 80x24, black on
white, default (i.e., unreadably tiny) font, instead of an xterm that's
80x63, pale yellow on dark blue, and the 9x15 font.
With configuration moved from ~/.Xresources to ~/Xterm, I now get an xterm
that's 80x63, white on black, unreadably tiny font. What's interesting is
that this xterm is at least *half* aware of my resource settings: if I
ctrl-click to bring up a menu, then that menu shows up as pale yellow text
on a white background, which is of course completely unreadable.
Back to the drawing board, it seems.
Richard
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden