NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How to set font size of xterm



On Thu, 16 Apr 2020, Fekete Zolt?n wrote:

Date: Thu, 16 Apr 2020 07:20:56 +0200
From: Fekete Zolt?n <fekete.zoltan%minux.hu@localhost>
To: Clay Daniels <clays.shell%sdf.org@localhost>
Cc: netbsd-users <netbsd-users%netbsd.org@localhost>
Subject: Re: How to set font size of xterm

2020-04-16 06:32 id?pontban Clay Daniels ezt ?rta:
I kind of like the simplicity of xterm, and it comes with the basic
twm window manager I use. My problem is the small font size, but I
can't seem to figure out how to set the xterm font size.  Any clues?

Clay

Hi Clay,

The first approach I recommend is to start program xfontsel. There select a font you like, and copy its description.
Then try it out like this:
$ xterm -font *-fixed-*-*-*-18-*

You'll see the result in another xterm. Substitute my font description with your choosen one.

If you like it, put it into your resource file (~/.Xresources and/or ~/.Xdefaults):
xterm*font:     *-fixed-*-*-*-18-*

Restart your X session, and check if it works.

Read more: man xterm

Regards:
FeZ


FeZ, I'm going to play with xfontsel. It's actually quite complex..

What I am discovering is that the easiest one is to add the -fn 9x15 to my .xinitrc callout for each xterm.

Anyway, I have something to play with for a while.

Thanks all,
Clay


Home | Main Index | Thread Index | Old Index