Tint2 in Openbox

I am trying to get tint2 to show current desktop number in panel. It will display first desktop [1] but when I switch to another desktop it remains at 1.

#-------------------------------------
# Taskbar
taskbar_mode = single_desktop
taskbar_hide_if_empty = 0
taskbar_padding = 0 0 2
taskbar_background_id = 0
taskbar_active_background_id = 0
taskbar_name = 1
taskbar_hide_inactive_tasks = 0
taskbar_hide_different_monitor = 0
taskbar_hide_different_desktop = 0
taskbar_always_show_all_desktop_tasks = 0
taskbar_name_padding = 4 2
taskbar_name_background_id = 0
taskbar_name_active_background_id = 0
taskbar_name_font_color = #e3e3e3 100
taskbar_name_active_font_color = #ffffff 100
taskbar_distribute_size = 0
taskbar_sort_order = none
task_align = left

Wanted to know if anyone else is having the same problem?

My tint 2 has this
taskbar_mode = multi_desktop

1 Like

@mrgreen3
Not a perfect tint2 config file but you can refine it:
Expires in a month

1 Like