
Originally Posted by
kobblestown
Sorry for being off-topic but do you know how can I discover the Xresources used by a particular program, say xterm? Is there some command that lists them?
As curaga suggested, read the manpage: it usually says a good deal. But there are a couple other things....
Code:
man $PROGNAME
man editres
man appres
#if you're wondering about classname, run and click!
xprop | grep WM_CLASS
Or, for a full all-in-one-pass command:
Code:
appres `xprop | grep WM_CLASS | awk -F'"' '{print $(NF-1)}'`
And the defaults are in {/etc,/usr/share}/X11/app-defaults/$WM_CLASS[$customization]
eg, add
Code:
*customization: -color
if you want to really make the Xaw stuff look better and activate full color prompts in xterm