Tuesday, April 28, 2009

Terminal

A little while ago I installed Ubuntu 8.10 onto my desktop, along with Windows XP. Truthfully speaking, the only reason I boot into Windows more often is because I have a program that lets me watch tv on my computer (which is nice seeing as how I don't currently have a real tv).

Anyway, after changing most of the Ubuntu settings so that things are the way I like them; I realized that I still hadn't "fixed" the terminal size. Well at first I did a little Google search to see what the necessary command(s) I would have to run were. However, most of what I found required me to make a launcher, which I didn't want to do. Though I have a feeling that this is the way I solved this issue when I installed Ubuntu onto a portable HD for my laptop.

Finally I found a much nicer way to change the default terminal size. Here it is;

1) Open up a terminal

2) Tyep the following:

sudo gedit /usr/share/vte/termcap/xterm
*in the above you could replace gedit with vim if you wanted, but I just like using gedit personally.

3) Find the following line:
:co#80:it#8:li#24

4) Change it to the following:
:co#A:it#8:li#B
Where A and B are the dimensions you desire. (Your teminal will have dimensions A x B)

No comments: