TINT2(1) General Commands Manual TINT2(1) (NAME) tint2 - / (DESCRIPTION) tint2 / X . Openbox ( GNOME KDE XFCE ) . : o (system tray) (launcher) o : o (Pager): ( ) o : o . : o ( ) o freedesktop.org o . (SYNOPSIS) tint2 [OPTION...] (OPTIONS) -c path_to_config_file . -v, --version . -h, --help . (CONFIGURATION) o <#introduction> o <#backgrounds-and-borders> o <#gradients> o <#panel> o <#launcher> o / <#taskbar-pager> o <#taskbar-buttons> o <#mouse- actions-for-taskbar-buttons> o <#system-tray> o <#clock> o (Tooltip) <#tooltip> o <#battery> o (Executor) <#executor> o <#button> o <#separator> o <#example- configuration> tint2 . tint2conf . tint2 $HOME/.config/tint2/tint2rc ( . tint2 'make install' ). -c : tint2 -c $HOME/tint2.conf. tint2 . tint2 killall -SIGUSR1 tint2 tint2 . . . (Backgrounds and borders) tint2 : o rounded = number_of_pixels : o border_width = integer : o border_sides = LRTB : ( ). . ( 0.12.12) o background_color = color opacity o color RGB #ff0000 o opacity (0 100) 0 100 . ( compton compiz) . o border_color = color opacity o color RGB #ff0000 o opacity (0 100) 0 100 o background_color_hover = color opacity (: background_color) ( 0.12.3) o color RGB #ff0000 o opacity (0 100) 0 100 . ( compton compiz) o border_color_hover = color opacity (: border_color) ( 0.12.3) o color RGB #ff0000 o opacity (0 100) 0 100 o background_color_pressed = color opacity (: background_color_hover) ( 0.12.3) o color RGB #ff0000 o opacity (0 100) 0 100 . ( compton compiz) o border_color_pressed = color opacity (: border_color_hover) ( 0.12.3) o color RGB #ff0000 o opacity (0 100) 0 100 o border_content_tint_weight = integer : ( ). 0 ( ) 100 ( ) . ( 16.0) o background_content_tint_weight = integer : ( ). 0 ( ) 100 ( ) . ( 16.0) . : 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 1 (1 2 ...) . (panel taskbar task clock systray) : 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 0 1 ..SS ( 0.13.0) . gradient = TYPE . . gradient_id = INDEX gradient_id_hover = INDEX gradient_id_pressed = INDEX INDEX 1 . : * : * : * : . color_stop . 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 (0% 100% x% ) 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 [...] o panel_items = LTSBC tint2 . : o L (Launcher) o T (Taskbar) o S (Systray ) o B o C o F (freespace) . . T . ( 0.12) o E (executor) . . ( 0.12.4) o P . . ( 0.14) o : . . ( 0.13.0) panel_items = STC ( ) . o panel_monitor = monitor (all or primary or 1 or 2 or ...) : tint2 o 1 o panel_monitor = all o primary_monitor_first = boolean (0 or 1) : . ( 0.12.4 1.0 primary ) [](images/panel_padding.jpg) o panel_position = vertical_position horizontal_position orientation o vertical_position : bottom top center o horizontal_position : left right center o orientation : horizontal vertical o panel_size = width height o width height ( 123) % ( 50%) . / 100% . : o scale_relative_to_dpi = integer : HiDPI . . DPI ( RandR) DPI - DPI . o scale_relative_to_screen_height = integer : scale_relative_to_dpi scale_relative_to_screen_height . scale_relative_to_dpi . # 94% 30 : panel_size = 94% 30 o panel_shrink = boolean (0 or 1) : 1 . ( 0.13) o panel_margin = horizontal_margin vertical_margin : / . ( ) 0 . [](images/panelsizemargin.jpg) o panel_padding = horizontal_padding vertical_padding spacing : . [](images/panel_padding.jpg) o font_shadow = boolean (0 or 1) o panel_background_id = integer : . o wm_menu = boolean (0 or 1) : tint2 . openbox . o panel_dock = boolean (0 or 1) : tint2 (dock) . openbox (modifier) moveButton tint2 ( ~/.config/openbox/rc.xml). o panel_pivot_struts = boolean (0 or 1) : tint2 STRUT ( ) ( strut_policy ). . o panel_layer = bottom/normal/top : tint2 bottom/normal/top . . bottom normal top . o strut_policy = follow_size/minimum/none : STRUT (maximized) . : (Xinerama) ( ) ( panel_pivot_struts ). o follow_size tint2 . o minimum . autohide . o none . o panel_window_name = string : . : 'tint2'. ( 0.12) o disable_transparency = boolean (0 or 1) : . . ( 0.12) o mouse_effects = boolean (0 or 1) : (hover) . ( 0.12.3) o mouse_hover_icon_asb = alpha (0 to 100) saturation (-100 to 100) brightness (-100 to 100) : ( mouse_effects = 1 ). ( 0.12.3) o mouse_pressed_icon_asb = alpha (0 to 100) saturation (-100 to 100) brightness (-100 to 100) : ( mouse_effects = 1 ). ( 0.12.3) o autohide = boolean (0 or 1) : . o autohide_show_timeout = float : . '.' . o autohide_hide_timeout = float : . '.' . o autohide_height = integer : ( ) . o launcher_item_app = path_to_application : launcher_item_app .desktop freedesktop.org . ~ . ($XDG_DATA_HOME/applications ~/.local/share/applications $XDG_DATA_DIRS/applications /usr/local/share/applications /usr/share/applications /opt/share/applications). o launcher_apps_dir = path_to_directory : .desktop ( ). . ~ . ( 0.12) o launcher_background_id = integer : . o launcher_icon_background_id = integer : . o launcher_padding = horizontal_padding vertical_padding spacing o launcher_icon_size = integer : . o launcher_icon_theme = name_of_theme : () . XSETTINGS ( ) tint2 launcher_icon_theme_override = 1 . o launcher_icon_theme_override = boolean (0 or 1) : launcher_icon_theme XSETTINGS (override) . ( 0.12) o launcher_icon_asb = alpha (0 to 100) saturation (-100 to 100) brightness (-100 to 100) : . o launcher_tooltip = boolean (0 or 1) : (tooltip) . o startup_notifications = boolean (0 or 1) : . ( 0.12) / (Taskbar / Pager) o taskbar_mode = single_desktop/multi_desktop o single_desktop : ( << >> workspace ) o multi_desktop : (pager). : o (drag-and-drop) o . o taskbar_hide_if_empty = boolean (0 or 1) : multi-desktop . ( 0.13) o taskbar_distribute_size = boolean (0 or 1) : multi-desktop . : (disabled). ( 0.12) o taskbar_padding = horizontal_padding vertical_padding spacing [](images/taskbar_padding.jpg) o taskbar_background_id = integer : . o taskbar_active_background_id = integer : . o taskbar_hide_inactive_tasks = boolean (0 or 1) : . ( 0.12) o taskbar_hide_different_monitor = boolean (0 or 1) : . tint2 . ( 0.12) o taskbar_hide_different_desktop = boolean (0 or 1) : . multi-desktop . ( 1.0) o taskbar_always_show_all_desktop_tasks = boolean (0 or 1) : taskbar_mode = multi_desktop . . . ( 0.12.4) o taskbar_sort_order = none/title/center : . ( 0.12) o none : . . o title : . o application : . ( 16.3) o center : . o mru : (MRU) . ( 0.12.4) o lru : . ( 0.12.4) o task_align = left/center/right : . : left. o taskbar_name = boolean (0 or 1) : . o taskbar_name_padding = padding : (padding) . o taskbar_name_background_id = integer : . o taskbar_name_font = [FAMILY-LIST] [STYLE-OPTIONS] [SIZE] : . o taskbar_name_font_color = color opacity (0 to 100) : . o taskbar_name_active_background_id = integer : . o taskbar_name_active_font_color = color opacity (0 to 100) : . : o task_icon = boolean (0 or 1) : . task_padding . o task_text = boolean (0 or 1) : . o task_centered = boolean (0 or 1) : . o task_tooltip = boolean (0 or 1) : (tooltip) . o task_thumbnail = boolean (0 or 1) : . ( 16.0) o task_thumbnail_size = width : . ( 16.0) o task_maximum_size = width height o width . width = 0 . o height . o task_padding = horizontal_padding vertical_padding spacing o urgent_nb_of_blink = integer : << >> (get attention). [](images/task_padding.jpg) o task_font = [FAMILY-LIST] [STYLE-OPTIONS] [SIZE] o task_font_color = color opacity (0 to 100) o task_icon_asb = alpha (0 to 100) saturation (-100 to 100) brightness (-100 to 100) : . o task_background_id = integer : . STATUS active / iconified / urgent : * task_STATUS_font_color = color opacity (0 to 100) o task_STATUS_icon_asb = alpha (0 to 100) saturation (-100 to 100) brightness (-100 to 100) : . o task_STATUS_background_id = integer : . (Mouse actions for taskbar buttons) : left, middle, right, scroll_up, scroll_down. : none, close, toggle, iconify, shade, toggle_iconify, maximize_restore, desktop_left, desktop_right, next_task, prev_task. mouse_event = action . : mouse_middle = none mouse_right = close mouse_scroll_up = toggle mouse_scroll_down = iconify : * none : wm_menu = 1 . * close : * toggle : * iconify : (minimize) * toggle_iconify : * maximize_restore : * shade : (shade) * desktop_left : * desktop_right : * next_task : * prev_task : (System Tray) o systray_padding = horizontal_padding vertical_padding spacing o systray_background_id = integer : . o systray_sort = ascending/descending/left2right/right2left : : / / ( left2right right2left ). o systray_icon_size = max_icon_size : number . 0 . o systray_icon_asb = alpha (0 to 100) saturation (-100 to 100) brightness (-100 to 100) : . o systray_monitor = integer (1, 2, ...) or primary : . 1 . ( 0.12) o systray_name_filter = string : . ^audacious$ audacious aud aud . ( 0.13.1) o time1_format = %H:%M : . o time1_format time2_format clock_tooltip 'strftime' . : o time1_format time2_format . o time1_timezone = :US/Hawaii o time1_timezone time2_timezone clock_tooltip_timezone . . /usr/share/zoneinfo . time1_timezone = :/different/zoneinfo/dir/US/Hawaii. ':' . o time1_font = [FAMILY-LIST] [STYLE-OPTIONS] [SIZE] o time2_format = %A %d %B o time2_timezone = :Europe/Berlin o time2_font = [FAMILY-LIST] [STYLE-OPTIONS] [SIZE] o clock_font_color = color opacity (0 to 100) o clock_padding = horizontal_padding vertical_padding o clock_background_id = integer : . o clock_tooltip = %a, %d. %b %Y : . o clock_tooltip_timezone = :UTC o clock_lclick_command = text : . o clock_rclick_command = text : . o clock_mclick_command = text : . ( 0.12.1) o clock_uwheel_command = text : . ( 0.12.1) o clock_dwheel_command = text : . ( 0.12.1) (Tooltip) o tooltip_padding = horizontal_padding vertical_padding o tooltip_show_timeout = float : . . . o tooltip_hide_timeout = float : . . . o tooltip_background_id = integer : . . o tooltip_font_color = color opacity (0 to 100) o tooltip_font = [FAMILY-LIST] [STYLE-OPTIONS] [SIZE] (Battery) o battery_hide = never/integer (0 to 100) : . o battery_low_status = integer: . o battery_low_cmd = xmessage 'tint2: Battery low!' : . o battery_full_cmd = notify-send "battery full" : . o bat1_font = [FAMILY-LIST] [STYLE-OPTIONS] [SIZE] o bat2_font = [FAMILY-LIST] [STYLE-OPTIONS] [SIZE] o battery_font_color = color opacity (0 to 100) o bat1_format = FORMAT_STRING : . : %p. ( 1.0) : o %s: (charging discharging full unknown). o %m: (). o %h: (). o %t: . / "hrs:mins" "Ful\" . o %p: . % . o %P: . %. o bat2_format = FORMAT_STRING : . : %t. ( 1.0) o battery_padding = horizontal_padding vertical_padding o battery_background_id = integer : . o battery_tooltip_enabled = boolean (0 or 1) : / . ( 0.12.3) o battery_lclick_command = text : . ( 0.12.1) o battery_rclick_command = text : . ( 0.12.1) o battery_mclick_command = text : . ( 0.12.1) o battery_uwheel_command = text : . ( 0.12.1) o battery_dwheel_command = text : . ( 0.12.1) o ac_connected_cmd = text : . ( 0.12.3) o ac_disconnected_cmd = text : . ( 0.12.3) o execp = new : . E panel_items . ( 0.12.4) o execp_command = text : . ( 0.12.4) o execp_interval = integer : execp_interval . . ( 0.12.4) o execp_continuous = integer : execp_continuous execp_continuous ping 127.0.0.1 . . ( 0.12.4) o execp_has_icon = boolean (0 or 1) : execp_has_icon = 1 . ( 0.12.4) o execp_cache_icon = boolean (0 or 1) : execp_cache_icon = 0 ( execp_command ). ( 0.12.4) o execp_icon_w = integer : execp_icon_w execp_icon_h . . . ( 0.12.4) o execp_icon_h = integer : execp_icon_w . ( 0.12.4) o execp_tooltip = text : (tooltip). . (stderr) ( ANSI bash: printf '\e[2J' C: printf("\x1b[2J");). . ( 0.12.4) o execp_font = [FAMILY-LIST] [STYLE-OPTIONS] [SIZE] : . ( 0.12.4) o execp_font_color = color opacity : . ( 0.12.4) o execp_markup = boolean (0 or 1) : Pango (rich text) . . . ( 0.12.4) o execp_background_id = integer : . ( 0.12.4) o execp_centered = boolean (0 or 1) : . ( 0.12.4) o execp_padding = horizontal_padding vertical_padding spacing_between_icon_and_text ( 0.12.4) o execp_monitor = integer (1, 2, ...), primary or all : . 1 . ( 17.0) o execp_lclick_command = text : . execp_command . ( 0.12.4) o execp_mclick_command = text : . execp_command . ( 0.12.4) o execp_rclick_command = text : . execp_command . ( 0.12.4) o execp_uwheel_command = text : . execp_command . ( 0.12.4) o execp_dwheel_command = text : . execp_command . ( 0.12.4) (Executor samples) execp = new execp_command = hostname execp_interval = 0 execp = new execp_command = df -h | awk '/\/$/ { print $6 ": " $2 " " $5}' execp_interval = 10 execp = new execp_command = echo /usr/share/icons/elementary-xfce/emblems/24/emblem-colors-blue.png; echo 'Click me pls' execp_has_icon = 1 execp_interval = 0 execp_centered = 1 execp_font = sans 9 execp_markup = 1 execp_font_color = #aaffaa 100 execp_padding = 2 0 execp_tooltip = I will tell you a secret... execp_lclick_command = zenity --info "--text=$(uname -sr)" execp_background_id = 2 execp = new execp_command = xprop -root -spy | awk '/^_NET_CURRENT_DESKTOP/ { print "Workspace " ($3 + 1) ; fflush(); }' execp_interval = 1 execp_continuous = 1 execp_command = xprop -root -spy | awk -v home="$HOME" '/^_NET_CURRENT_DESKTOP/ { print home "/.config/myPager/" ($3 + 1) ".png\n" ; fflush(); }' execp_interval = 1 execp_has_icon = 1 execp_cache_icon = 1 execp_continuous = 2 execp = new execp_command = ping -i 1 -c 1 -W 1 -O -D -n $(ip route | grep default | grep via | grep -o '[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*') | awk '/no/ { print "timeout"; fflush(); }; /time=/ { gsub(/time=/, "", $8); printf "%3.0f %s\n", $8, $9; fflush(); } ' execp_continuous = 0 execp_interval = 1 execp_markup = 1 # "stdbuf -oL" . execp = new execp_command = free -b -s1 | stdbuf -oL awk '/^Mem:/ { printf "Mem: %s %.0f%%\n", $2, 100 * ($2 - $7) / $2 }' | stdbuf -oL numfmt --to=iec-i --field=2 -d' ' execp_interval = 1 execp_continuous = 1 execp = new execp_command = stdbuf -oL bwm-ng -o csv -t 1000 | stdbuf -oL awk -F ';' '/total/ { printf "Net: %.0f Mb/s\n", ($5*8/1.0e6) }' execp_continuous = 1 execp_interval = 1 (Button) o button = new : . P panel_items . ( 0.14) o button_icon = text : ( ). ( 0.14) o button_text = text : ( ). ( 0.14) o button_tooltip = text : (tooltip) ( ). ( 0.14) o button_font = [FAMILY-LIST] [STYLE-OPTIONS] [SIZE] : . ( 0.14) o button_font_color = color opacity : . ( 0.14) o button_background_id = integer : . ( 0.14) o button_centered = boolean (0 or 1) : . ( 0.14) o button_padding = horizontal_padding vertical_padding spacing_between_icon_and_text ( 0.14) o button_max_icon_size = integer : . . ( 0.14) o button_lclick_command = text : . execp_command . ( 0.14) o button_mclick_command = text : . execp_command . ( 0.14) o button_rclick_command = text : . execp_command . ( 0.14) o button_uwheel_command = text : . execp_command . ( 0.14) o button_dwheel_command = text : . execp_command . ( 0.14) o separator = new : . : panel_items . ( 0.13.0) o separator_background_id = integer : . ( 0.13.0) o separator_color = color opacity : . ( 0.13.0) o separator_style = [empty | line | dots] : . ( 0.13.0) o separator_size = integer : . (padding) . line dots . ( 0.13.0) o separator_padding = side_padding cap_padding : . ( 0.13.0) (Example configuration) /etc/xdg/tint2/tint2rc . (AUTHORS) tint2 Thierry Lorthiois . ttm Pal Staurland . Daniel Moerner ( ). tint2 . (SEE ALSO) . HTML Markdown /usr/share/doc/tint2 /usr/local/share/doc/tint2 . . . 17.0.2 2021-12-04 TINT2(1)