Installing x11-base/xorg-x11-1.6.5-r1 (and apparently other versions) results in the app-defaults files being installed at /usr/share/X11/app-defaults/$foo. However, at least some X applications, including xterm, are actually looking for it at /usr/lib/X11/app-defaults. This causes several problems including failure of xterm active-icon mode and failure of the xterm vt100 font menu. Reproducible: Always Steps to Reproduce: 1. On a standard install, pull up the vt100 font menu (ctrl-rightbutton by default). Observe the header says 'no app-defaults'. 2. Start an xterm with +ai and iconize it. Note that it does not iconize. 3. Create a symbolic link to /usr/share/X11/app-defaults at /usr/lib/X11/app-defaults. Start a new xterm +ai and note that active-icon now works properly.
I can't reproduce this w/ xterm-266 and x11-base/xorg-x11-7.4-r1. Specifically, the ctrl-rightclick does give me a set of working font choices. iconize doesn't exist in my WM, so not testing that presently. /usr/lib/X11/app-defaults already exists as a symlink here: /usr/lib/X11/app-defaults -> ../../../etc/X11/app-defaults Said symlink is owned by x11-misc/xxkb-1.11-r1. Please upgrade and retest?
(In reply to comment #1) > I can't reproduce this w/ xterm-266 and x11-base/xorg-x11-7.4-r1. > Specifically, the ctrl-rightclick does give me a set of working font choices. > iconize doesn't exist in my WM, so not testing that presently. > > /usr/lib/X11/app-defaults already exists as a symlink here: > /usr/lib/X11/app-defaults -> ../../../etc/X11/app-defaults > Said symlink is owned by x11-misc/xxkb-1.11-r1. > > Please upgrade and retest? > I'm already on x11-base/xorg-x11-7.4-r1, but I have x11-terms/xterm-262. Testing 266... babylon5:root:~:6 # ls -l /usr/bin/xterm -rwxr-xr-x 1 root root 428816 Nov 28 10:55 /usr/bin/xterm* babylon5:root:~:7 # eix -I x11-terms/xterm [I] x11-terms/xterm Available versions: 262 (~)266 {Xaw3d toolbar truetype unicode} Installed versions: 266(10:55:10 11/28/10)(truetype unicode -Xaw3d -toolbar) Xterm-266 is still using /usr/lib/X11/app-defaults. On a new install, I did not get a symlink /usr/lib/X11/app-defaults -> ../../../etc/X11/app-defaults. I did get an /etc/X11/app-defaults directory, but it contained only app-defaults for Xgps and Xgpsspeed. After moving Xgps and Xgpsspeed to /usr/share/X11/app-defaults where all the other app-defaults files are, removing the /etc/X11/app-defaults directory, and manually symlinking /etc/X11/app-defaults and /usr/lib/X11/app-defaults (or in this case /usr/lib64/X11/app-defaults) to /usr/share/X11/app-defaults, it works properly. Given that Xgps and Xgpsspeed got installed in /etc/X11/app-defaults, it looks as though there are now THREE different locations on the system where X apps are looking for app-defaults, and apparently none of them are checking all three possible locations. Either /etc/X11/app-defaults or /usr/share/X11/app-defaults makes sense (/etc/X11/app-defaults makes a great deal of sense, actually); /usr/lib/X11/app-defaults really does not, except for historical reasons.