Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

share|improve this question
add comment

3 Answers

up vote 14 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
1  
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
add comment

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

share|improve this answer
add comment

you can also simply test them with :

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

after sel with xfontsel

share|improve this answer
add comment

Your Answer

 
discard

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.