We have previously seen the installation of  the TINT2 taskbar under Ubuntu. Today we will see how to customize this lightweight taskbar by adding application launchers to it. Here is the default appearance of TINT2:

After modifications, it will look like this:

TINT2 Installation

To install TINT2 under Ubuntu 11.10, run this command:

sudo apt-get install conky wmctrl tint2

Then start taskbar with this command to create the config file for tint2:


Press now CTRL+C in the terminal to close the taskbar. Then run this sequence of commands to add app launchers to the tint2 panel:

mv ~/.config/tint2/tint2rc ~/.config/tint2/tint2rc-old

cd /tmp && wget http://dl.dropbox.com/u/47950494/upubuntu.com/tint2rc

mv tint2rc ~/.config/tint2/

cd /tmp && wget http://dl.dropbox.com/u/47950494/upubuntu.com/launch

chmod +x launch && sudo mv launch /usr/local/bin/

Launch now the TINT2 taskbar by running this command from the terminal to preview the new appearance for your taskbar:

tint2 &

Adding Application Launchers To TINT2

To add your own application launchers as well as adjusting launcher icon size, you need to edit first the tint2rc file with this command:

sudo gedit ~/.config/tint2/tint2rc

Then under the #LAUNCHER section, add your own application launcher by adding this line followed by the desktop shortcut name of your application:

launcher_item_app = /usr/share/applications/firefox.desktop

You can list all your application desktop shortcuts by running this command:

ls /usr/share/applications/

In this same section, you can set any launcher icon size of your choice:

When you finish, save your file and exit. You have to close tint2 and start it again after every modifications. You can force kill all tint2 processes with this command:

killall tint2

 If the Unity Launcher under Ubuntu 12.04 is covering the left side of the TINT2 taskbar, you can set it in auto-hide mode by doing the following instructions:

- Right-click any empty spot on your desktop and select "Change Desktop Background":

- Open the Behavior tab and turn on the auto-hide option:

Codes used in this tutorial are taken from here and here.

That's it!

Post a Comment