View Full Version : [ubuntu] gnome and xterm
frritchi
June 24th, 2009, 05:54 PM
Hi,
I normally launch xterm from within gnome with the command:
"xterm -fg orange -bg black"
After the xterm opens I press cntrl, right click on the terminal and choose "large" for VT fonts.
How can I set xterm to start with the large font?
Thanks,
Frank
kerry_s
June 24th, 2009, 06:28 PM
you can create a alias in ~/.bashrc>
alias xtrem='xterm -fg orange -bg black -fa "mono-10" '
or
create a ~/bin/xterm override>
mkdir ~/bin
nano ~/bin/xterm
#!/bin/sh
/usr/bin/xterm -fg orange -bg black -fa "mono-10" "$@" &
chmod +x ~/bin/xterm
(note: you must log out & back in)
or
use a .Xresources file
XTerm*faceName: Mono
XTerm*faceSize: 10
XTerm*background: black
XTerm*foreground: orange
add to ~/.profile:
if [ -f $HOME/.Xresources ]; then
xrdb -merge $HOME/.Xresources
fi
(note: you must log out & back in)
(Xresources might be Xdefaults, i think both work though)
frritchi
June 24th, 2009, 07:16 PM
Hi Kerry,
Unfortunately that seems to change the font. (I did install Microsoft fonts) Is there a way to determine which is the default font xterm uses, or what it is when I change the size to large?
Thanks,
Frank
kerry_s
June 25th, 2009, 01:51 AM
Hi Kerry,
Unfortunately that seems to change the font. (I did install Microsoft fonts) Is there a way to determine which is the default font xterm uses, or what it is when I change the size to large?
Thanks,
Frank
sorry, i'm use to using mono. stock fonts are fixed:
bashrc:
alias xtrem='xterm -fg orange -bg black -fn 9x15 '
Xresources:
XTerm*font: 9x15
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.