Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-13-2008, 07:50 AM   #1
Registered: Dec 2008
Posts: 52

Rep: Reputation: 15
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.
Old 12-14-2008, 01:20 AM   #2
Simon Bridge
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
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.

Last edited by Simon Bridge; 12-14-2008 at 01:22 AM.
Old 12-14-2008, 01:25 AM   #3
Senior Member
Registered: Aug 2005
Location: Peoples Republic of Kalifornia
Distribution: Slackware64 Current
Posts: 1,038

Rep: Reputation: 127Reputation: 127
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.
Old 12-15-2008, 09:02 AM   #4
Registered: Dec 2008
Posts: 52

Original Poster
Rep: Reputation: 15
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I set default font size in Debian Sid - using xorg.conf not xfree86 walterbyrd Debian 3 02-20-2008 01:24 PM
how does pixel aspect relate to frame size in mplayer/how do you find vid frame size? BrianK Linux - General 3 10-31-2007 01:08 PM
set standard/default size of swing JPanel kpachopoulos Programming 4 03-11-2006 08:08 AM
how to set gnome-terminal to open in full screen by default ankur_linuxfan Linux - Software 0 01-18-2005 05:45 AM
how to set mozilla default font size mfeat Linux - Software 2 05-28-2004 09:55 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration