通过修改vte设置来修改gnome-terminal的默认大小 - Leo's Utopia

通过修改vte设置来修改gnome-terminal的默认大小

leo.zhao posted @ Wed, 30 Dec 2009 21:07:36 +0000 in linux with tags terminal vte 默认大小 , 178 readers

编辑/usr/share/vte/termcap/xterm文件

将其中的xterm-xfree86|xterm-new|xterm terminal emulator (XFree86):项目的co和li设置为自己需要的值,例如我的设置是这样的

 

xterm-xfree86|xterm-new|xterm terminal emulator (XFree86):\
:am:km:mi:ms n:\
:co#100:it#8:li#40:\



其中co#100表示宽度100个字符,li#40表示40行高。经过这样的设置后所有的xterm类程序都会以100×40的缺省尺寸打开包括xterm,gnome-terminal,rxvt…… 

 


Login *


loading captcha image...
(type the code from the image)
Host by is-Programmer.com | Power by Chito 1.2.1 | © 2007 LinuxGem | Design by Matthew "Agent Spork" McGee