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

RH 5.1, How to change font size for xterm using fvwm2

320 views
Skip to first unread message

Richard O'Neill

unread,
Jul 27, 1998, 3:00:00 AM7/27/98
to
I just installed RH 5.1 and would like to use a larger font for xterm
windows. I tried changing /etc/X11/fvwm2/system.fvwmn2rc (New Shell) and
/root/.Xdefaults (xterm*font:), without success. I want to try either 10x20
or 12x24. Both fonts are
in the fonts subdirectories but all I ever get is the default, which is
about 7x14.

Thanks for any advice.
Dick

Bob Tennent

unread,
Jul 27, 1998, 3:00:00 AM7/27/98
to
What did you change in fvwm2rc? Look for calls of xterm (or nxterm or rxvt)
and -fn options to those. Actually, you should be making such changes
in your own copy of this file stored as .fvwm2rc in your home directory.

Using Xterm*font: ... in .Xdefaults should affect xterms created
*without* an explicit -fn option, which overides the default. This
presumably explains why the xterms created by pushing fvwm buttons
don't have the font you specified. Try executing xterm & at a
shell prompt.

Bob T.

BadlandZ

unread,
Jul 27, 1998, 3:00:00 AM7/27/98
to
Richard O'Neill (Dick....@Daytonoh.NCR.COM) Said something like:
: I just installed RH 5.1 and would like to use a larger font for xterm

: windows. I tried changing /etc/X11/fvwm2/system.fvwmn2rc (New Shell) and
: /root/.Xdefaults (xterm*font:), without success. I want to try either 10x20
: or 12x24. Both fonts are
: in the fonts subdirectories but all I ever get is the default, which is
: about 7x14.

First try by command line, to make sure it's working right.

"xterm -fn 10x20"
(assuming you have that font)

if it's ok, then you can edit your ~/.Xdefaults

Also, be aware, RedHat and many xwindowmanagers seem to be moving twards
starting "nxterm" or an "rxvt" when you request an "xterm" from some menu!
So you many want to edit those lines to reflect the font you choose also.

I personally like ansi fonts because I use a really silly looking bash
prompt (see http://chem20.chem.und.nodak.edu/themes for my silly prompt).
But, I edited my .Xdefaults on a RedHat 5.1 system to use VGA fonts, and
it works fine, the lines are:
--
XTerm*Font: vga
nxterm*Font: sabvga
--

you should be able to just stick your "10x20" in where I have vga or
sabvga, and they should work fine. (you many also want to look at "vga"
font, it's sorta big too, for people with bad eyes or that run thier
monitor at higher resolution than we should be... ;-)


: Thanks for any advice.
: Dick

--
"Robert W. Current" <r...@current.nu> - email
http://countersign.home.ml.org - Operation Countersign web site
http://chem20.chem.und.nodak.edu - personal web site
"Hey mister, turn it on, turn it up, and turn me loose." - Dwight Yoakam

Richard O'Neill

unread,
Jul 29, 1998, 3:00:00 AM7/29/98
to

BadlandZ <cur...@plains.NoDak.edu> wrote in article
<6piqea$10m2$3...@node2.nodak.edu>...


> Richard O'Neill (Dick....@Daytonoh.NCR.COM) Said something like:
> : I just installed RH 5.1 and would like to use a larger font for xterm
> : windows. I tried changing /etc/X11/fvwm2/system.fvwmn2rc (New Shell)
and
> : /root/.Xdefaults (xterm*font:), without success. I want to try either
10x20
> : or 12x24. Both fonts are
> : in the fonts subdirectories but all I ever get is the default, which is
> : about 7x14.
>
> First try by command line, to make sure it's working right.
>
> "xterm -fn 10x20"
> (assuming you have that font)
>

This worked OK. Someone else had suggested something similar which
worked also.


> if it's ok, then you can edit your ~/.Xdefaults
>
> Also, be aware, RedHat and many xwindowmanagers seem to be moving twards
> starting "nxterm" or an "rxvt" when you request an "xterm" from some
menu!
> So you many want to edit those lines to reflect the font you choose also.
>
> I personally like ansi fonts because I use a really silly looking bash
> prompt (see http://chem20.chem.und.nodak.edu/themes for my silly prompt).
> But, I edited my .Xdefaults on a RedHat 5.1 system to use VGA fonts, and
> it works fine, the lines are:
> --
> XTerm*Font: vga
> nxterm*Font: sabvga

Adding the nxterm*Font: 8x16 to the /root/.Xdefaults file solved the
problem. No more nose prints on my monitor. :-)

Thanks again,
Dick

0 new messages