-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, Sep 23, 2016 at 08:57:18AM +0000, Curt wrote:

[...]

> Nicolas Georges gave some interesting information once when I said that
> .Xdefaults was "deprecated" concerning what is read by what where and
> why (went over my head, of course).
> 
> Here it is:
> 
> Well, I was gonna give the link but it's short enough to quote:
> 
> (responding to my claim that .Xdefaults is deprecated)
> 
>  It is a bit more complicated than that.
> 
>  ~/.Xresources is loaded into the resources database of the X11 server
>  [...]

>  ~/.Xdefaults and ~/.Xdefaults-$HOSTNAME are read by the X11 libraries
>  directly.
> 
>  It makes a big difference for remote applications, since they will see the
>  .Xresources from the server but the .Xdefaults from the client.

Yes, here is a pretty good overview, with many links:

  http://superuser.com/questions/243914/xresources-or-xdefaults

To grok all that it's important to remember that the program (under X)
doesn't have to run on the same machine as the display (and you sometimes
want to tune the display part depending on the capabilities of the
display, not the machine where the program is running, e.g. imagine
a program showing one window in a low-res colour display (e.g. a GUI) and
another on a hi-res black-and-white (e.g. a hi-res X ray image). You'll
want different fonts on each, for example.

regards
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlfk9mgACgkQBcgs9XrR2kYuHwCcD3VKBx2ctFZCJE6h54B+uUpP
rE4An1yNBWSVc1zjM+8vfU+T3NxzeXLV
=6T34
-----END PGP SIGNATURE-----

Reply via email to