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: Harald Hanche-Olsen <email@hidden>
- Date: Wed, 23 Jun 2010 13:07:00 -0400 (EDT)
+ Richard Cobbe <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:
> >
> > 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.
The standard way, I think, is to set up environment variable(s) to
point applications in the right directory. I think you could set
XAPPLRESDIR=$HOME/Library/X11/app-defaults/
or something like that. There are also variables XFILESEARCHPATH and
XUSERFILESEARCHPATH whose syntaxes are more arcane; see the "X" manual
page for the details.
Personally, I prefer to have X11 not run any application on startup.
I just start X11 once per login session and never quit it. Thus I
never see the race conditions associated with X11 startup.
- Harald
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden