Grant Taylor <gtaylor@tnetconsulting.net> writes:
"P" == pedro1492@lycos.com writes:
Is there some other configuration file that might work?
I'm not sure of the relationship between ~/.Xdefaults and
~/.Xresources and any variant of the two.
There is a chance that XTerm is being started with a different -name
value. This means that it will be looking for <thatName>*geometry.
I do this to have different configurations for different programs in
XTerm. I. e.
myProgram.vt100.geometry: 80x25 myProgram.vt100.font: 10x20 myProgram.vt100.utf8Fonts.font: 10x20
The ancient program launches xterm with a command like this:
sh -c xterm -name fubar -T title -n app
As such, after .Xresources is changed, it's necessary to use
$ xrdb -merge < ~/.Xresources for the changes to take effect.
Not to mention that Xrdb is easier to experiment with, IMO; like:
$ printf %s\\n "XTerm.vt100.geometry: 80x32" | xrdb -merge
I'm not sure of the relationship between ~/.Xdefaults and
~/.Xresources and any variant of the two.
The difference is that ~/.Xdefaults is read by libXt-based
programs (such as XTerm) each time one is started, whereas
.Xresources is read by xrdb(1), typically once during user
session initialization (from /etc/X11/Xsession or the like.)
Noel Hunt <noel.hunt@gmail.com> writes:
I'm not sure of the relationship between ~/.Xdefaults and
~/.Xresources and any variant of the two.
The difference is that ~/.Xdefaults is read by libXt-based programs
(such as XTerm) each time one is started, whereas .Xresources is
read by xrdb(1), typically once during user session initialization
(from /etc/X11/Xsession or the like.)
There seems to be some misunderstanding about how xrdb works. It
reads no file by default, the user must supply a file as argument, or
make it available on stdin. Hence, the name of the file is
irrelevant; I think '.Xresources' was simply a convention.
I believe xrdb loads a special resource named 'RESOURCE_MANAGER' into
the X server and clients will read resources from that, rather than
read files. Without this resource present, clients will read from
files (via the X11 libraries), in particular, the older method of
reading from the file '.Xdefaults'.
FTR, I stand by my suggestion to /avoid/ using Go*gle Grou*s in place
of a proper newsreader for participating in Usenet discussions, as it
makes a really poor substitute.
I wasn't aware that ~/.Xdefaults gets ignored when server-side X resources are present, thanks.
That said, libXt applications will still (try to) read .Xdefaults-${HOSTNAME} -- and, of course, whatever appropriate under XAPPLRESDIR, HOME, or /etc/X11/app-defaults; consider, e. g.:
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 65 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 05:09:57 |
| Calls: | 862 |
| Files: | 1,311 |
| D/L today: |
921 files (14,318M bytes) |
| Messages: | 264,602 |