Tuesday, December 15, 2009

Get More Out of Gnome-Terminal

I really like cli apps. You can have many many apps running at the same time and use very little resources. Gnome-terminal has some really cool features that alot of us don't know about. I'm going to show you how to set up something like this-



That will launch all at once using a desktop launcher.

The three apps i use most are finch midnight-commander and moc.
So I want to launch all three in the same tabbed terminal window at the same time.

First thing to do is open a single terminal. Right click in the window and select "open tab" and repeat until you have the desired number.
Then issue this command:

gnome-terminal --save-config=.mytabs

This will create a file .mytabs in your home directory.

Now open the file to edit:

nano .mytabs

You should see this:

 
 
 
 
The lines you are concerned with are the blocks that go from [Terminal 00000] to height=#. Each of those blocks represent a tab.
Under the line Profile=default add two lines that look like this:

Command='finch'
Title=Message

Changing the command and title to your needs.

ctrl+x to close
y to save 
and enter.

Next create a custom launcher on your desktop. And make it look like this:





Now when you launch this It should look like the picture at the top!

happy tuxing ;)

0 comments: