[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: WindowMaker | Menu? - Xterms



timothy@smasher.rs.itd.umich.edu writes:

> Cool! Thanks alot! 
> Can you tell me where is the documentation for this .Xresources file?
> man .xresources, man -k xresources etc don't have anything. :(
> 
> Timothy
> 
> > Three solutions:
> > 1) decide that the default xterm isn't so ugly after all.
> > 2) Modify Xresources to make the xterm that appears with "xterm" be
> > what you want; putting the following into ~/.Xresources (and either
> > restarting X or running "xrdb -merge ~/.Xresources") will do that:
> > 
> > xterm*background:       black
> > xterm*foreground:       white
> > xterm*cursorColor:      green
> > 
> > (You can put these lines into /etc/X11/Xresources to affect every
> > account on your machine)
> > 

The real documentation?  It's in the Xlib documentation published by
the X consortium.  Trust me, you don't want that.

The basic format of the file is as in the lines above - my
~/.Xresources file looks like this:

*scrollBar: true   ! make everything have a scrollbar
xterm.vt100*translations: #override \
       <Key>BackSpace: string(\177) \n\
       <Key>Delete: string(0x1b) string("[3~") \n
xterm*background: bisque3
xterm*foreground: black
netscape*blinkingEnabled:       False
DctrlIcon*geometry: +1092+670
pmon*geometry: +1052+670

Blank lines are ignored - exclamation points begin comments.  A
particular application obeys resources if they begin with "*" or with
the application's executable name or with the application's class name 
(an application's Class name can be found with 'xlsclients -l').  What 
each resource does is application specific.  The xterm man page has
several good examples of xresource lines.


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: