X Window - how to get the standard font
N. Raghavendra
raghu at mri.ernet.in
Wed Apr 29 15:16:48 UTC 2009
At 2009-04-28T23:01:35+02:00, herbert langhans wrote:
> #xmessage -fn -*-fixed-*-*-*-*-20-*-*-*-*-*-iso8859-* 'hello world'
> - the same appears in the fontsize I like.
>
> Now the question:
> Can I set the bigger font somewhere, so that i.e. xmessage appears
> always in the preset, bigger font without typing the whole -fn
> -*-*.... string in? Somewhere in .xinitrc?
You can add the line
xmessage*font: -*-fixed-*-*-*-*-20-*-*-*-*-*-iso8859-*
to the file `~/.Xresources'. (I think that file is read at the start
of the X session, but to be certain you can add
xrdb -merge ${HOME}/.Xresources
to ~/.xinitrc or ~/.xsession, as the case may be. I personally keep
my Xresources elsewhere, and merge them as above.)
HTH,
Raghavendra.
--
N. Raghavendra <raghu at mri.ernet.in> | http://www.retrotexts.net/
Harish-Chandra Research Institute | http://www.mri.ernet.in/
See message headers for contact and OpenPGP information.
More information about the freebsd-questions
mailing list