changing gnome-terminal default window size

Published December 8th, 2009 by Chad

I actually like the default window size for the gnome-terminal in Ubuntu now. But I used to not like it. There was a time when I would run a command, see that the output of the command wasn’t displayed nicely, resize the window manually, and rerun the command. Annoying. If you would like to change the default gnome-terminal window size just follow these steps.

  • Open terminal window.
  • Type: sudo gedit /usr/share/vte/termcap/xterm
  • Find the following line: :co#80:it#8:li#24:\
  • Change to your desired window size (the number after :co is the number of columns and the number after :li is for the number of lines): :co#200:it#8:li#50:\
  • Save and close the file.

Every gnome-terminal you open now with use this new window size as the default. This will only work after you have closed all of the opened gnome-terminal windows first. Enjoy.

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>