Re: Change default font size in xterm
Edward C Jones said:
> I can change the font size in an xterm by a menu brought up by
> control-right-click. Unfortunately, I have to do this each time an xterm
> is created. How can I permanently change the default font size for all
> xterms? How can I change the window size (80x25 etc.)? To change the
> font size in an xterm, hit control-right-click and a VT Fonts menu will
> appear. Choose a new font. I prefer the Small font. I want to change
> the default font to Small so I don't have to reset the font every time I
> open a new xterm.
If you already have a .Xdefaults and/or a ./Xresources file in your home
directory then you know what you are doing and do not need my suggestions.
I start without without either a .Xdefaults or a ./Xresources file.
Look at /etc/X11/app-defaults/XTerm. There are the following 6 lines in this
I suspect but I am not sure that the fonts are defined here. But they are
also in /etc/X11/app-defaults/UXTerm.
I created a ./Xdefaults file in my home directory containing:
This is copied from the "font3" line above. Note the dots in
"xterm.VT100.font". They are important. Dots override
stars in X resource definitions.
Restart X and all is well.
If I remember correctly, this was easier to do in Debian 3.1 (sarge).
Right-click on the title bar or something.