RPi Defining Default Terminal Size
Back to RPi Guides.
Defining the Default LXTerminal Window Size (Raspbian Wheezy/Debian Wheezy)
What does it do?
The LXTerminal app on the Raspbian Wheezy and Debian Wheezy images creates a window that by default is 80 columns by 24 rows in size. This is usually the "wrong" size for most displays. The individual window can be resized by clicking on an edge or corner and doing a "click-drag" operation to the size of your choice. This new size exists for the lifetime of the terminal window but reverts to 80 x 24 for any new windows that are created.
This page shows you how to modify the initial command window size.
- A booted Raspberry Pi with keyboard, mouse, monitor
- No elevated privileges are required for the default LXTerminal
- Access to root (sudo) for changing the size of "Root Terminal"
- Access to root (sudo) for changing the system wide default size for all users.
Changing the Default for Your Desktop Icon
If you have a "LXTerminal" desktop icon, edit the file ~/Desktop/lxterminalSEWOSW.desktop with your favorite editor (eg. leafpad, nano). Assume that you want the window to open with size 110 columns by 82 rows. Scroll towards the bottom of the file and change the line
Activate a new window from the desktop icon. You should see a window open with the new size you specified above.