Monday, 8 November 2010

Changing default terminal size in Linux

I currently use Ubuntu and finally got fed up of resizing the terminal to 132x43 every time I opened it.

To change the default Terminal Size edit
sudo vi /usr/share/vte/termcap/xterm

Look for the line :co#80:it#8:li#24

as you might have guessed "co" defines number of columns and "li" the number of lines, so for default of  132x43 changing this line to

:co#132:it#8:li#43

and re-open the terminal.

No comments: