Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

XTerm font is very small. How can I set it larger?

share|improve this question
up vote 48 down vote accepted

If you don't already have one, create a file in your home directory named .Xresources to store your preferences for various X programs. Append a line to the file such as

xterm*font:     *-fixed-*-*-*-18-*

This informs xterm to use the 'fixed' font at size 18.

From here, you can either restart X or run xrdb -merge ~/.Xresources in a terminal to incorporate the changes you've made. All new xterms should now have the font change.

If you run man xterm and go down to the RESOURCES section, you can find a wealth of additional, configurable xterm options.

share|improve this answer
Thanks noffle it worked....but how can i set the dimensions of the xterm windows to a fixed ones? – Sudo Jul 10 '12 at 9:32
The X resource for dimensions is geometry. So something like the following in your .Xresources would work: xterm*geometry: 110x50. – noffle Jul 10 '12 at 14:07
Thanks noffle i really appreciate your help :) – Sudo Jul 10 '12 at 16:13
You're welcome. Consider creating a separate question in the future for the geometry issue rather than tacking it into a comment: it makes it harder for others to find. – noffle Jul 10 '12 at 17:06
Thanks for mentioning 'xrdb -merge' part, that did the trick! – HidekiAI May 10 at 12:16

You can also Ctrl-Right mouse click for temporary change of font size

share|improve this answer
!! mind blown – underscore_d Dec 16 '15 at 1:34

Use -fa and -fs parameters:

xterm -fa 'Monospace' -fs 14
share|improve this answer

From messing with /etc/X11/app-defaults/XTerm file and man page for Xterm I found two methods.

Method 1: A simpler method but not permanent: hold Ctrl key and right click button. This should bring up a menu for VT fonts, which stays on only as long as you hold right click key. You should see 7 choices, the largest being huge, which is what I'm using because my vision isn't exactly good.

Source: xterm(1) man page, part VT Fonts, which states "The fontMenu pops up when when the “control” key and pointer button three are pressed in a window."

Method 2: Permanent. Look through /etc/X11/app-defaults/XTerm, find what sizes lines such as *VT100.font1: , choose one, and write somewhere xterm*font: 10x20 (10x20 , again this is my choice for reasons I already stated).

About my system: I'm running Ubuntu 13.10

share|improve this answer
Didn't notice that dolzenko has already posted method 1 before. Oh, well. – Serg Aug 6 '14 at 8:37

you can also simply test them with :

xterm -fn "--clean--*---*---*---*-*"

after sel with xfontsel

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.