[plug] Some random Linux questions

Russell Steicke r.steicke at bom.gov.au
Fri Jun 7 15:08:58 WST 2002


On Fri, Jun 07, 2002 at 02:10:12PM +0800, Cameron Patrick wrote:
...
> (1) Most of the time when I start an xterm, it turns up with a black
> background and white text.  However, after being logged in for a while,
> starting an xterm results in a white xterm with black text and screwed
> up key bindings (arrow keys, home, end, F1=>F12 all don't work).

Xterm can read a lot of config out of X resources.  X resources are essentially a
key-value mapping maintained by the X server.  To check whether this is the cause,
type 'xrdb -query' just after you login, then again when the xterms look different,
and compare the output.  Something may be loading X resources for you in the middle
of a session.

If this is the problem, see the RESOURCES secion in the X man page (for the
resources syntax), and the xrdb man page.  The xterm resources are explained well
in the xterm man page.

Also check the ~/.Xdefaults and ~/.Xresources files.  (I've never been able to work
out when these are referenced by the X server, but they seem to be sometimes.)
Everything should run fine without these files, so just rename them if they seem to
cause you trouble.



-- 
Russell Steicke

-- Fortune says:
Q:	What's the difference between Bell Labs and the Boy Scouts of America?
A:	The Boy Scouts have adult supervision.



More information about the plug mailing list