mikas notebook

June 26, 2008

Linux: configuring xterm

Filed under: linux — admin @ 2:30 am

select font and size:
# xfontsel

decide font type and size and copy the values out of the dialog box. something like this:

-*-fixed-medium-r-*-*-18-*-*-*-*-*-iso8859-*

test it:

# xterm -font -*-fixed-medium-r-*-*-18-*-*-*-*-*-iso8859-*

if it is okay, pass the parameters to you X:

# vim .Xresources
# vim .Xdefaults
# insert 'xterm*font: -*-fixed-medium-r-*-*-18-*-*-*-*-*-iso8859-*'

.Xdefaults

xterm*font: 		-misc-fixed-*-*-normal-*-18-120-100-100-c-90-iso8859-*
XTerm*.background: black
XTerm*.foreground: lightgrey
XTerm*utf8: 0
XTerm*.background: black
XTerm*.foreground: lightgrey
XTerm*cursorColor: orange
XTerm*borderColor: white
XTerm*scrollColor: black
XTerm*loginShell: true
XTerm*visualBell: true
XTerm*saveLines:  8192
XTerm*shading: 80
XTerm*allowSendEvents: true
XTerm*internalBorder:  0
XTerm*borderWidth:     0
XTerm*multiScroll:     true
XTerm*utmpInhibit:     false
XTerm*jumpScroll:      true
XTerm*waitForMap:      true
XTerm*scrollBar:       false

!! fix the alt-p problem.
XTerm*eightBitInput:  false
XTerm*metaSendsEscape: true

Powered by WordPress