{"id":32,"date":"2009-03-09T10:18:51","date_gmt":"2009-03-09T08:18:51","guid":{"rendered":"http:\/\/www.mariusb.net\/blog\/2009\/03\/set-the-default-terminal-window-size-in-ubuntu-linux\/"},"modified":"2009-03-09T10:18:57","modified_gmt":"2009-03-09T08:18:57","slug":"set-the-default-terminal-window-size-in-ubuntu-linux","status":"publish","type":"post","link":"https:\/\/www.mariusb.net\/blog\/2009\/03\/set-the-default-terminal-window-size-in-ubuntu-linux\/","title":{"rendered":"Set the default terminal window size in Ubuntu (Linux)"},"content":{"rendered":"<p>The gnome-terminal uses a termcap file for its basic settings. To change these:<br \/>Code:<br \/><code>sudo gedit \/usr\/share\/vte\/termcap\/xterm<\/code><br \/>Now look for a line about 1\/3 of the way down the file that looks like this:<br \/>Code:<br \/><code>\t:co#80:it#8:li#24:\\<\/code><br \/>To change the number of columns, change the co# number, in this case 80.<br \/>To change the number of rows, change the li# number, in this case 24.<br \/>So as an example if you want a terminal window of 132&#215;25:<br \/>Code:<br \/><code>\t:co#132:it#8:li#25:\\<\/code><br \/>You must exit all gnome-terminal proceses before the changes take effect.<\/p>\n<p>Technorati Tags: <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/terminal\" rel=\"tag\">terminal<\/a>, <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/size\" rel=\"tag\">size<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The gnome-terminal uses a termcap file for its basic settings. To change these:Code:sudo gedit \/usr\/share\/vte\/termcap\/xtermNow look for a line about 1\/3 of the way down the file that looks like this:Code: :co#80:it#8:li#24:\\To change the number of columns, change the co# number, in this case 80.To change the number of rows, change the li# number, in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[5,4],"tags":[31,30],"class_list":["post-32","post","type-post","status-publish","format-standard","hentry","category-linux","category-ubuntu","tag-size","tag-terminal"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1SHVw-w","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.mariusb.net\/blog\/wp-json\/wp\/v2\/posts\/32","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mariusb.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mariusb.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mariusb.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mariusb.net\/blog\/wp-json\/wp\/v2\/comments?post=32"}],"version-history":[{"count":1,"href":"https:\/\/www.mariusb.net\/blog\/wp-json\/wp\/v2\/posts\/32\/revisions"}],"predecessor-version":[{"id":33,"href":"https:\/\/www.mariusb.net\/blog\/wp-json\/wp\/v2\/posts\/32\/revisions\/33"}],"wp:attachment":[{"href":"https:\/\/www.mariusb.net\/blog\/wp-json\/wp\/v2\/media?parent=32"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mariusb.net\/blog\/wp-json\/wp\/v2\/categories?post=32"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mariusb.net\/blog\/wp-json\/wp\/v2\/tags?post=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}