To set the font when starting xterm
, first get a list of your installed fonts with:
fc-list
You don't mention which distribution you are running, so I'm not sure what fonts you will have. On Ubuntu on WSL, it looks like "DejaVuSansMono" is installed by default, and it's a nice fixed-width terminal-type font.
You can try it out by launching xterm and specifying the font face (and likely size) with:
xterm -fs 14 -fa DejaVuSansMono
If that font works for you, you can make it permanent by creating a ~/.Xresources
with:
xterm*faceName: DejaVuSansMono
xterm*faceSize: 14
And then merge it into your X resources database with:
xrdb -merge ~/.Xresources
Also note that the "repeating characters" problem appears to be fixed in the latest Preview WSLg.
xterm
as a "simple case" app to make sure WSLg (or other GUI methods) are working. In my case, by the way, mine printsd
repeatedly on startup (sometimes, but not always).