Click to See Complete Forum and Search --> : Changing fonts in Xterm etc.


lucmove
08-15-2003, 06:26 AM
I have little experience using Linux and of the biggest problems I've always had is changing the fonts in several places. Changing them in KDE, K-term and other K's is very easy, but not so much in Gnome. But I don't care much for Gnome, I prefer WM or FVWM2. What spoils my pleasure is that fonts look terribly tiny in the menus, Xterm and rxvt. I've looked for docs about that, but it seems to be a little hard to find. I'd really appreciate it if someone pointed me to some really enlightening page.

Many thanks.
Luciano ES
Santos, SP - Brasil

rid3r
08-15-2003, 06:59 AM
Hi Luciano.
See if you have an .Xdefaults (hidden) file in your home directory:
$ cd
$ ls -a
$ less .Xdefaults
you may find a line like this:
xterm*font: -adobe-courier-medium-r-*-*-12-*-*-*-*-*-*-*
Just edit the default font for xterm (run xfontsel to choose one).

The other way is to set an alias in your $HOME/.bashrc :
alias xterm="xterm -sb -fg gray -bg black -fn -adobe-courier-medium-r-*-*-12-*-*-*-*-*-*-*"
Not as elegant as .Xdefaults.

The last method is for the lazy an hopeless like me:
[nabis@trinity:nabis]$ xterm -fn fixed