View Full Version : [SOLVED] how to change xterm fonts?
sujoy
March 10th, 2008, 07:54 PM
i dont really like the default xterm font and would love to use this one instead.
http://gnome-look.org/content/show.php/Matrix+font?content=66302
so how can i change the default xterm font to this one?
finferflu
March 10th, 2008, 09:43 PM
The link you provided is broken...
Anyway, you can change the font for xterm using the -fn flag:
xterm -fn <fontname>
Where <fontname> is an entry like this (example with Dejavu Sans):
-*-dejavu sans-medium-r-*-*-11-*-*-*-*-*-*-*
You can find out the exact entry using xfontsel.
Gigamo
March 10th, 2008, 09:49 PM
Or set this in your ~/.Xdefaults:
xterm*font: DejaVu Sans Mono:pixelsize=10
kerry_s
March 10th, 2008, 10:09 PM
just remember in terminal, you want to use a fixed-width or monospace font. if not the text may appear squished together.
sujoy
March 11th, 2008, 03:21 AM
sorry for the broken link.
yes i tried the -fn option but cant seem to use TTF fonts with it.
also
XTerm*font: matrix
gives me a "cannot find font,using fixed" error message
EDIT:
found the solution ..
xterm -fa "fontname"
or
XTerm*faceName: <fontname>
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.