On Mon, Apr 21, 2025 at 10:01:13AM -0400, Derek Martin wrote: > Like most of the programs that came with the original X Window > System, xterm relies on "X resources" for configuration. On most > modern Linux systems, you can create a file in your home directory > called .Xresources, and then define the resources you want for the > seemingly infinite configurable properties that xterm has. You > might need to call it .Xdefaults on your system; I usually just make > a symlink from one to the other just to be safe. For example, I > have the following
I think .Xresources and .Xdefaults are actually quite different, even though what you do usually works. .Xresources is for the X server: it loads the contents when your session starts, and then each app can query it with the X protocol (via the Xlib API). OTOH, .Xdefaults is read inividually by each app. So they have to be on different machines in the case of using X remotely: .Xresources on the server, .Xdefaults on the client. -- Ian