Friday, July 24, 2020

Fonts and Colours in xterm

Set fonts and colors for xterms (FreeBSD & Mac OS)

FreeBSD

fc-list :fontformat=TrueType -f "%{family}\n" | sort -u | grep -i mono
DejaVu Sans Mono
Luxi Mono
Noto Mono

xterm -fa 'Noto Mono' -fs 12 &

vi ~/.Xresources
XTerm*foreground:   green
XTerm*background:   black
XTerm*faceName: Noto Mono
XTerm*faceSize: 12

xrdb -merge .Xresources

xterm

Mac

fc-list :fontformat=TrueType -f "%{family}\n" | sort -u | grep -i mono
Andale Mono
Bitstream Vera Sans Mono
Luxi Mono
PT Mono

xterm -fa 'Bitstream Vera Sans Mono' -fs 12 &

vi ~/.Xresources
XTerm*foreground:   green
XTerm*background:   black
XTerm*faceName: Bitstream Vera Sans Mono
XTerm*faceSize: 12

xterm


No comments:

Post a Comment

All comments are moderated. Use discretion.