Friday, January 4, 2008

Change the Default Gnome Terminal size

Gnome terminal comes really small (80x24) which is really small. Further, the GUI provided with it does not let you change the default size easily. So, you have two options:
  1. Keep changing the size manually with the mouse every time you launch a terminal (because Gnome terminal doesn't save its size)
  2. Look for those configuration file and change them
We'll do option 2, apparently option 1 is silly, boring and counter productive.

Gnome terminal follows termcap specifications, so you should find your xterm termcap file and edit it. (We'll get back to what a termcap is in some other posts)

The file in Ubuntu and most other distros is found in
/usr/share/vte/termcap
you'll find this in the file:
:co#80:it#8:li#24:\
change whatever after co# and li# to your desired settings
for me i love this one
:co#90:it#8:li#26:\

And restart you machine..
Done!!!

Other possibilities are also available..
One thing you can do is to right click on the Gnome Terminal launcher in your Gnome Panel and chose properties, which look like something like this:
Then add this next to "Command" --geometry 90x26, so you'll get this:
And this will work also...
At the end of the day, you have permanently changed the Gnome terminal size :)

... Done!!!

No comments: