Open multiple terminal in arranged way in tile fashion

Being a system administrator is never an easy job. You are messed up with so many things that you dont know whats currently going through. No doubt you make your system superb but you never care the way you work, be it food, sleep or your place.

Today a small thing caught my eye. Usually if you see a linux user or admin's desktop they are all filled with terminals all messed up but yesterday I went to one of my friend and his terminals were arranged very nicely. See below.

With a help of small script four gnome-terminal will tile up for you. With his permission I have copied the script here.
# Date: 12.Apr.2008
# Author:
# purpose: open four terminal in tile fashion
# Please note that you may need to adjust 69x22 if the screen looks to big or small.

gnome-terminal --geometry 69x22+0+0 --hide-menubar &
gnome-terminal --geometry 69x22-0+0 --hide-menubar &
gnome-terminal --geometry 69x22+0-0 --hide-menubar &
gnome-terminal --geometry 69x22-0-0 --hide-menubar &

One more thing, if you already have terminal icon on your panel you can use it to lauch this script. Simply replace the Command with /bin/bash /path to script/


  1. This didn't work for me on Fedora 9. I did a simple copy and paste of the code that you have there, and while it did open four terminal windows, it did not set them to 70x21 nor did it tile them on my desktop.

    I'll work out the kinks, but I just wanted to let you know what my results are.

    Still a very nice idea, especially when you spend your time SSHing into multiple servers all day, like I do. Tabs are great, but being able to see everything on a single screen is much better.


  2. IF your resolution is different you have to change the 70X21 numbers to suit you. Anyways I also setup this as I had to ssh into various machine and see them all.

  3. Here is the code that I used to get it to work in Fedora 9. It looks like the --nomenubar option has been changed.

    gnome-terminal --hide-menubar --geometry 69x18+0+0 &
    gnome-terminal --hide-menubar --geometry 69x18-0+0 &
    gnome-terminal --hide-menubar --geometry 69x18+0-0 &
    gnome-terminal --hide-menubar --geometry 69x18-0-0 &

    Also, the window dimensions that I use are for a 1440x900 widescreen display.

  4. Ya you are right. This is my latest code.

    gnome-terminal --geometry 69x22+0+0 --hide-menubar &
    gnome-terminal --geometry 69x22-0+0 --hide-menubar &
    gnome-terminal --geometry 69x22+0-0 --hide-menubar &
    gnome-terminal --geometry 69x22-0-0 --hide-menubar &


Post a Comment

Comments are moderated. No spam please.

Popular posts from this blog

Perm Root HTC Desire Gingerbread 2.3.3

[Solved] invalid partition table on /dev/sda -- wrong signature 0.

Lenovo Y510 surround sound in Ubuntu