tint2 has a configuration file in ~/.config/tint2/tint2rc. A skeleton configuration file with the default settings is created the first time you run tint2. You can then change this file to your liking. Full documentation on how to configure tint2 is found here.
You can configure the fonts, colors, looks, location and more in this file. The tint2 package also contains a GUI configuration tool that can be launched by running tint2conf from Rofi or your favourite launcher.
With version 0.12, it has become possible to add application launchers to tint2. It is necessary to add the following configuration options to your tint2 config file:
panel_items = LTSBC
And under the new section #Launchers:
launcher_icon_theme = LinuxLex-8
launcher_padding = 5 0 10
launcher_background_id = 9
launcher_icon_size = 85
launcher_item_app = /some/where/application.desktop
launcher_item_app = /some/where/anotherapplication.desktop
panel_items is a new configuration option which defines which items tint2 shows and in what order:
Running Tint2 in ArchLabs:¶
You can run tint2 by simply typing the command:
If you want to run tint2 when starting Openbox, you will need to edit ~/.config/openbox/autostart and add the following line:
Multiple tint2 panels can be simultaneously running by using executing tint2 with different configuration files:
tint2 -c <path_to_first_config_file>
tint2 -c <path_to_second_config_file>
To make tint2 look its best, some form of compositing is required. If your tint2 has a large black rectangular box behind it you are either using a window manager without native compositing (like Openbox) or it is not enabled.
Xcompmgr can be started like this:
You will have to kill and restart tint2 to enable transparency.
If Xcompmgr is used solely to provide tint2 with transparency effects it can be run at boot by changing the autostart section in ~/.config/openbox/autostart to this:
Other (better) ways to make Xcompmgr run at startup are discussed in the Openbox article.
To force tint2 to stay on top of the application (overlay), you need to set the panel_layer option appropriately. This can be helpful when you switch from a fullscreen window to a normal application using Alt-Tab. There is a discussion on this at Crunchbang Forum
Third Party Extensions:¶
It is also possible to extend tint2 with other applications. To add third party extensions, check the “Pages” section in the Official Tint2 Wiki link below.