To browse the list of fonts use
fc-list :fontformat=TrueType -f "%{family}\n" | sort -u | lessTest a font by specifyng in the xterm command -fa option
xterm -fa 'Luxi Mono' -fs 10Where fa refers to the fonts face name, and fs, the font size.
Once happy with your font, apply to your application in ~/.Xresources
For example to apply for XTerm
! my customisationsThe final step is to set these resource changes using xrdb
XTerm*faceName: DejaVu Sans Mono
XTerm*faceSize: 11
xrdb -merge .XresourcesSo, next time you invoke a plain xterm command you will be greeted with your new font.
No comments:
Post a Comment