tint2 is a system panel for linux. It is described by its developers as "simple panel/taskbar unobtrusive and light". It can be configured to include (or not include) among other things a system tray, a task list a battery monitor and a clock. Its look can also be configured a great deal, and it does not have many dependencies. This makes it ideal for window manager users who want a panel but don't have one by default, like Openbox users.
tint2 is in the community repository. Use pacman to install it:
# pacman -S tint2
tint2 has a configuration file in Template:Filename. A skeleton configuration file with the default settings is created on the first time tint2 is ran. 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.
You can run tint2 by simply typing the command:
#!/bin/sh # # ~/.xinitrc # # Executed by startx (run your window manager from here) tint2 & exec ck-launch-session openbox-session
# Launch tint2 with openbox if which tint2 >/dev/null 2>&1; then (sleep 2 && tint2) & fi
Note: if you do not have an autostart.sh file in ~/.config/openbox, you can copy the default one from /etc/xdg/autostart.sh.
Refer to Openbox help for more information on autostart.sh options for Openbox.
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 isn't enabled.
To enable compositing under Openbox you can install Xcompmgr:
# pacman -S xcompmgr
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.sh to this:
# Launch Xcomppmgr and tint2 with openbox if which tint2 >/dev/null 2>&1; then (sleep 2 && xcompmgr) & (sleep 2 && tint2) & fi
Various other (better) ways to make Xcompmgr run at startup are discussed in the Openbox article.