Thursday, 21 August 2008

Ubuntu: Change the default Terminal window size

The default size of the Terminal window is around 80 columns wide and 24 columns high. To alter this, edit the file /usr/share/vte/termcap/xterm. You can use the following command:

sudo gedit /usr/share/vte/termcap/xterm

Just a few lines from the top will be the line reading:

:co#80:it#8:li#24:\

Change the number right after co# to change the width. Change the number right after li# to change the height.

No comments: