Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jun 2004 22:20:07 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        "Michael A. Smith" <msmith@code-fu.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: setting xterm font from the command line
Message-ID:  <20040623221647.V88483@wonkity.com>
In-Reply-To: <40DA34AA.20906@code-fu.com>
References:  <40DA34AA.20906@code-fu.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 23 Jun 2004, Michael A. Smith wrote:

> I'm trying to set the xterm font from the command line using the -fn option.
>
> $ xterm -fn fontname
>
> What I can't seem to find is the exact fontname of any font on my system 
> (FreeBSD 5.2.1R). I've tried many combinations of my fonts: lowercase mixed 
> case, spaces, hyphes, underscores, etc... and it can never find the font. For 
> example:
>
> $ xterm -fn Bitstream-Vera-Sans-Mono
> xterm:  unable to open font "Bitstream-Vera-Sans-Mono", trying "fixed"
>
> Where can I find the font list that xterm is checking?

Use xfontsel to choose the font and then specify the exact same thing 
that it shows:

xterm -fn '-bitstream-charter-*-r-normal-*-*-*-*-*-*-*-*-*'

-Warren Block * Rapid City, South Dakota USA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040623221647.V88483>