Friday, March 21, 2008

How to change default gnome-term size?

I found this on internet. Just want to paste here for further reference. Hope this link to original post alway works so that people knows to where the credit should be granted.

gnome-terminal is an xterm emulator, and it follows a termcap file for this. I don't know anything about termcaps, but the file can be found in
/usr/share/vte/termcap/xterm
on Fedora (I think). Anyway, there's a lot of stuff in this file you probably don't want to touch, but you can change the line that describes the terminal geometry:

xterm-xfree86|xterm-new|xterm terminal emulator (XFree86):\
:am:km:mi:ms:xn:\
:co#80:it#8:li#24:\

:co#80 specifies 80 columns, and li#24 specifies 24 lines. Change this to 120 and 30 or whatever you want. Now all terminals should open for this default size.

Monday, March 17, 2008