tint2 - lightweight panel/taskbar
tint2 is a simple panel/taskbar made for modern X window managers. It was specifically made for Openbox but it should also work with other window managers (GNOME, KDE, XFCE etc.).
Features:
Goals:
tint2 [OPTION...]
-c path_to_config_file-v, --version-h, --helpThese are instructions for configuring tint2 directly by editing its config file.
You may also use instead the graphical interface tint2conf.
The first time you run tint2, it will create the config file in $HOME/.config/tint2/tint2rc (This applies if you have done a clean install. Running tint2 in the source directory without doing 'make install' will not create the config file.)
You can also specify another file on the command line with the -c option, e.g.: tint2 -c $HOME/tint2.conf. This can be used to run multiple instances of tint2 that use different settings.
If you change the config file while tint2 is running, the command killall -SIGUSR1 tint2 will force tint2 to reload it.
All the configuration options supported in the config file are listed below. Try to respect as much as possible the order of the options as given below.
The tint2 config file starts with the options defining background elements with borders:
rounded = number_of_pixels : the corner radius
border_width = integer : the border width in pixels
border_sides = LRTB : the sides to draw the border on (left, right, top, bottom). If not specified, all sides are used. (since 0.12.12)
background_color = color opacity
color is specified in hex RGB, e.g. #ff0000 is redopacity varies from (0 to 100), where 0 is fully transparent, 100 is fully opaque. Note that for a transparent panel you need to enable a desktop compositor (such as compton or compiz).border_color = color opacity
color is specified in hex RGB, e.g. #ff0000 is redopacity varies from (0 to 100), where 0 is fully transparent, 100 is fully opaquebackground_color_hover = color opacity (default: same as background_color) (since 0.12.3)
color is specified in hex RGB, e.g. #ff0000 is redopacity varies from (0 to 100), where 0 is fully transparent, 100 is fully opaque. Note that for a transparent panel you need to enable a desktop compositor (such as compton or compiz)border_color_hover = color opacity (default: same as border_color) (since 0.12.3)
color is specified in hex RGB, e.g. #ff0000 is redopacity varies from (0 to 100), where 0 is fully transparent, 100 is fully opaquebackground_color_pressed = color opacity (default: same as background_color_hover) (since 0.12.3)
color is specified in hex RGB, e.g. #ff0000 is redopacity varies from (0 to 100), where 0 is fully transparent, 100 is fully opaque. Note that for a transparent panel you need to enable a desktop compositor (such as compton or compiz)border_color_pressed = color opacity (default: same as border_color_hover) (since 0.12.3)
color is specified in hex RGB, e.g. #ff0000 is redopacity varies from (0 to 100), where 0 is fully transparent, 100 is fully opaqueborder_content_tint_weight = integer : Mixes the border color with the content color (for tasks, this is the average color of the window icon). Values must be between 0 (no mixing) and 100 (fully replaces the color). (since 16.0)
background_content_tint_weight = integer : Mixes the background color with the content color (for tasks, this is the average color of the window icon). Values must be between 0 (no mixing) and 100 (fully replaces the color). (since 16.0)
You can define as many backgrounds as you want. For example, the following config defines two backgrounds:
rounded = 1
border_width = 0
background_color = #282828 100
border_color = #000000 0
rounded = 1
border_width = 0
background_color = #f6b655 90
border_color = #cccccc 40
tint2 automatically identifies each background with a number starting from 1 (1, 2, ...). Afterwards, you can apply a background to objects (panel, taskbar, task, clock, systray) using the background id, for example:
panel_background_id = 1
taskbar_background_id = 0
task_background_id = 0
task_active_background_id = 2
systray_background_id = 0
clock_background_id = 0
Identifier 0 refers to a special background which is fully transparent, identifier 1 applies the first background defined in the config file etc.
(Available since 0.13.0)
Backgrounds also allow specifying gradient layers that are drawn on top of the solid color background.
First the user must define one or more gradients in the config file,
each starting with gradient = TYPE. These must be added before backgrounds.
Then gradients can be added by index to backgrounds,
using the gradient_id = INDEX, gradient_id_hover = INDEX and
gradient_id_pressed = INDEX, where INDEX is
the gradient index, starting from 1.
Gradients vary the color between fixed control points: * vertical gradients: top-to-bottom; * horizontal gradients: left-to-right; * radial gradients: center-to-corners.
The user must specify the start and end colors, and can optionally add extra color stops in between
using the color_stop option, as explained below.
gradient = vertical
start_color = #rrggbb opacity
end_color = #rrggbb opacity
gradient = horizontal
start_color = #rrggbb opacity
end_color = #rrggbb opacity
gradient = radial
start_color = #rrggbb opacity
end_color = #rrggbb opacity
color_stop = percentage #rrggbb opacity
# Gradient 1: thin film effect
gradient = horizontal
start_color = #111122 30
end_color = #112211 30
color_stop = 60 #221111 30
# Gradient 2: radial glow
gradient = radial
start_color = #ffffff 20
end_color = #ffffff 0
# Gradient 3: elegant black
gradient = vertical
start_color = #444444 100
end_color = #222222 100
# Gradient 4: elegant black
gradient = horizontal
start_color = #111111 100
end_color = #222222 100
# Background 1: Active desktop name
rounded = 2
border_width = 1
border_sides = TBLR
background_color = #555555 10
border_color = #ffffff 60
background_color_hover = #555555 10
border_color_hover = #ffffff 60
background_color_pressed = #555555 10
border_color_pressed = #ffffff 60
gradient_id = 3
gradient_id_hover = 4
gradient_id_pressed = 2
[...]
panel_items = LTSBC defines the items tint2 will show and the order of those items. Each letter refers to an item, defined as:
L shows the LauncherT shows the TaskbarS shows the Systray (also called notification area)B shows the Battery statusC shows the ClockF adds an extensible spacer (freespace). You can specify more than one. Has no effect if T is also present. (since 0.12)E adds an executor plugin. You can specify more than one. (since 0.12.4)P adds a push button. You can specify more than one. (since 0.14): adds a separator. You can specify more than one. (since 0.13.0)For example, panel_items = STC will show the systray, the taskbar and the clock (from left to right).
panel_monitor = monitor (all or primary or 1 or 2 or ...) : Which monitor tint2 draws the panel on
1panel_monitor = all to get a separate panel per monitorprimary_monitor_first = boolean (0 or 1) : Place the primary monitor before all the other monitors in the list. (since 0.12.4; removed in 1.0, use primary instead)

panel_position = vertical_position horizontal_position orientation
vertical_position is one of: bottom, top, centerhorizontal_position is one of: left, right, centerorientation is one of: horizontal, verticalpanel_size = width height
width and height can be specified without units (e.g. 123) as pixels, or followed by % as percentages of the monitor size (e.g. 50%). Use 100% for full monitor width/height.
Example:scale_relative_to_dpi = integer : If set to a non-zero value, HiDPI scaling is enabled. Each panel is visible on a different monitor. Thus each panel has a specific scaling factor. The scaling factor is computed as the ratio between the monitor DPI (obtained from the dimensions in pixels and millimeters from RandR) and a configured reference DPI - this is the DPI for which exising user configs looked normal, for backward compatibility.
scale_relative_to_screen_height = integer : Similar to scale_relative_to_dpi, except the scaling factor is computed as the ratio between the monitor height and scale_relative_to_screen_height. The effect is cumulative with scale_relative_to_dpi, i.e. if both option