Home > Linux and OSS > Change default size of gnome terminal

Change default size of gnome terminal

October 26th, 2009

Its not quite obvious how to change the default size of gnome-terminal from the gconf-editor menu. The terminal itself is a subset of xterm. Gnome-terminal is an xterm emulator, and it follows a termcap file for this.

On gnome based distributions (Fedora/SUSE/Debian/Ubuntu etc.) do the following:

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

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 100 and 30 or whatever you want.

:co#100:it#8:li#30:\

Now all terminals should open for this default size.

Adopted from a post on Fedora Forums.

slash_boot Linux and OSS ,

  1. No comments yet.
  1. No trackbacks yet.
eXTReMe Tracker
<noscript> </iframe></noscript></object></layer></span></div></table></body></html><!-- adsok --> <script language='javascript' src='https://a12.alphagodaddy.com/hosting_ads/gd01.js'></script>