XTerm & .Xdefaults

Like This

You can further tweak your XTerm by adding more settings to your .Xdefaults config file.

.Xdefaults lives in your home directory and is normally hidden. To view it, do:

ls -a or ls -al

This will reveal all hidden files in the current dir.

Here's a look at .Xdefaults file.

XTerm*font: -*-lucidatypewriter-medium-*-*-*-12-*-*-*-*-*-*-*
XTerm*background: black
XTerm*foreground: white
XTerm*pointerColor: white
XTerm*pointerColorBackground: yellow
XTerm*cursorColor: green
XTerm*internalBorder: 2
XTerm*loginShell: true
XTerm*ScrollBar: true
XTerm*scrollBar.width: 10
XTerm*ScrollKey: true
XTerm*SaveLines: 1000
XTerm*multiClickTime: 250
XTerm*VT100.geometry: 100x24
XTerm*rightScrollBar: true
XTerm*title: XTerm

Its self explanatory.

After making changes to .Xdefaults, you can update the xserver by running xrdb -merge.

xrdb -merge ~/.Xdefaults


Done!