|
From: Ethan A M. <merritt@u.washington.edu> - 2006-02-28 04:19:29
|
On Monday 27 February 2006 06:46 pm, James R. Van Zandt wrote:
> >"~/.Xdefaults-<hostname>" file for each server.
>
> Actually, a file for each client. I use this mechanism to
> set a different background color for each machine, so I can tell
> at a glance which windows came from which machine.
I used to do that, but somewhere along the way I switched over
to ssh-ing from inside whatever terminal I was currently in.
At that point it's too late to change colorschemes.
But I do have all my login scripts reset the title bar of
the current window to the machine just logged into.
> >Huh. I see that the code does try to open such files, but apparently
> >it only does so if the window manager has not already initialized the
> >database: ...
>
> Hmm. That doesn't match the X manual:
> Is that a recent change to the code?
[trimmed to show relevant lines]
1.1 (lhecking 26-Mar-99): if (server_defaults)
1.1 (lhecking 26-Mar-99): dbDef = XrmGetStringDatabase(server_defaults);
1.1 (lhecking 26-Mar-99): else {
1.15 (lhecking 19-Oct-00): strcat(buffer, "/.Xdefaults");
1.1 (lhecking 26-Mar-99): dbDef = XrmGetFileDatabase(buffer);
Which I think means it dates back at least to version 3.7 days.
--
Ethan A Merritt
Biomolecular Structure Center
University of Washington, Seattle 98195-7742
|