LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to set the default size of the frame of terminal in Ubuntu 8.04? (https://www.linuxquestions.org/questions/linux-general-1/how-to-set-the-default-size-of-the-frame-of-terminal-in-ubuntu-8-04-a-690308/)

cricketlong 12-13-2008 07:50 AM

How to set the default size of the frame of terminal in Ubuntu 8.04?
 
The frame is too small when I run terminal and have to resize it with cursor every time.

Simon Bridge 12-14-2008 01:20 AM

edit your ~/.bashrc file to change the defauld dimentions of the terminal.

However, it is normally set to 24 lines and 80 columns - could it be that the font you use is too small? In which case, edit the terminal profile from the terminal window Edit > Profiles

make a new profile, base it on default, and set the preferences how you want. Change the "open on new terminal" to your new profile, close the herminal and open a new one.

SqdnGuns 12-14-2008 01:25 AM

Or edit your shortcut/launcher to include this:

gnome-terminal --geometry=125x35

125is your width
35 is your height

Adjust till you find what you want.

cricketlong 12-15-2008 09:02 AM

It works well if I change the command to "gnome-terminal --geometry=125x35"


But I still don't know how to edit the file "~/.bashrc" to achieve that.Can you give me an example?
Thanks in advance.


All times are GMT -5. The time now is 11:08 PM.