Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Change default font size in xterm

1,356 views
Skip to first unread message

Edward C. Jones

unread,
Feb 20, 2011, 2:10:01 PM2/20/11
to
I have just installed squeeze.

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 UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/4D616147...@comcast.net

Csanyi Pal

unread,
Feb 20, 2011, 2:30:03 PM2/20/11
to
"Edward C. Jones" <edcj...@comcast.net> writes:

> 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.)?

I'm trying right now the same using file: ~/.Xresources

man xterm

When I edited this file I must run the
xrdb -merge .Xresources
command to take effect of this setup.

--
Regards, Paul
<http://csanyi-pal.info>


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/877hcuj...@debian-asztal.excito

Rob Owens

unread,
Feb 20, 2011, 3:30:02 PM2/20/11
to
On Sun, Feb 20, 2011 at 01:45:27PM -0500, Edward C. Jones wrote:
> I have just installed squeeze.
>
> 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.)?
>
This works for me:

uxterm -font a14 -geometry 80x25

I forget why I use uxterm. I think I got funny graphics when using Mutt
in xterm. Anyway, xterm has a huge man page. Take a look.

-Rob


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/20110220202...@aurora.owens.net

Edward C. Jones

unread,
Feb 21, 2011, 6:00:02 PM2/21/11
to
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
file:

*VT100.utf8Fonts.font2:
-misc-fixed-medium-r-normal--8-80-75-75-c-50-iso10646-1
*VT100.utf8Fonts.font:
-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-is
*VT100.utf8Fonts.font3:
-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646
*VT100.utf8Fonts.font4:
-misc-fixed-medium-r-normal--13-120-75-75-c-80-iso10646
*VT100.utf8Fonts.font5:
-misc-fixed-medium-r-normal--18-120-100-100-c-90-iso106
*VT100.utf8Fonts.font6:
-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso1064

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:

xterm.VT100.font: -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1

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.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/4D62E9CE...@comcast.net

0 new messages