You are not logged in.
Being from the if-it-ain't-broke-don't-fix-it school, I have been running the stock jessie version of tint2 (0.11+svn20121014-3). Recently it started hanging, so I updated to the hydrogen version (0.14.4-1) looking for a cure. Unfortunately, now the task icons in the task bar have disappeared.
I also get the same behaviour (no task icons) if I use version 0.12.12-3, so this appears to be related to a change between 0.11 and 0.12. I have compared my config against the configs in the distro package (/usr/share/tint2/icon_and_text_*.tint2rc) which do display icons and I don't spot any inconsistencies. Before incrementally modifying one of these to match my current config, I thought I'd ask for an assist.
How is this configuration file incompatible or incomplete?
# overshadow tint2rc
# "Two line version"
#---------------------------------------------
# BACKGROUND AND BORDER
#---------------------------------------------
# id = 0 default (full transparency), eg.
# rounded = 0
# border_width = 0
# background_color = #000000 0
# border_color = #000000 0
# id = 1 panel
rounded = 0
border_width = 0
background_color = #404040 50
border_color = #000000 0
# id = 2 taskbar (1/2)
rounded = 6
border_width = 3
background_color = #505050 30
border_color = #000000 0
# id = 3 taskbar (2/2)
rounded = 6
border_width = 3
background_color = #303030 30
border_color = #000000 0
# id = 4 clock
rounded = 2
border_width = 3
background_color = #303030 70
border_color = #000000 0
# id = 5 launcher
rounded = 8
border_width = 2
background_color = #303030 45
border_color = #000000 0
# id = 6 systray
rounded = 2
border_width = 2
background_color = #303030 10
border_color = #000000 0
# id = 7 tooltip
rounded = 8
border_width = 2
background_color = #000000 0
border_color = #000000 0
#---------------------------------------------
# PANEL
#---------------------------------------------
panel_background_id = 0
panel_monitor = all
panel_position = bottom center horizontal
panel_dock = 0
panel_layer = normal
panel_padding = 4 4 4
panel_margin = 0 0
#panel_size = 0 72
panel_size = 100% 72
autohide_height = 40
strut_policy = follow_size
panel_items = CTLS
wm_menu = 1
font_shadow = 0
#---------------------------------------------
# TASKBAR
#---------------------------------------------
taskbar_mode = single_desktop
taskbar_background_id = 0
taskbar_active_background_id = 0
taskbar_padding = 6 4 4
taskbar_name = 0
taskbar_name_font = ITC Kabel 16
taskbar_name_background_id = 0
taskbar_name_active_background_id = 0
taskbar_name_font_color = #d8d8d8 100
taskbar_name_active_font_color = #d8d8d8 100
#---------------------------------------------
# TASKS
#---------------------------------------------
task_text = 1
task_icon = 1
task_centered = 1
task_tooltip = 0
task_maximum_size = 200 25
task_padding = 8 10 8
task_font = ITC Kabel 18
task_background_id = 2
task_font_color = #ffffff 50
task_icon_asb = 100 -20 0
task_active_background_id = 2
task_active_font_color = #ffffff 90
task_active_icon_asb = 100 -10 0
task_urgent_background_id = 2
task_urgent_font_color = #ffffff 90
task_urgent_icon_asb = 100 -10 0
urgent_nb_of_blink = 8
task_iconified_background_id = 3
task_iconified_font_color = #ffffff 50
task_iconified_icon_asb = 100 -90 0
#---------------------------------------------
# SYSTRAYBAR
#---------------------------------------------
systray_background_id = 6
systray_padding = 8 2 1
systray_sort = left2right
systray_icon_size = 24
systray_icon_asb = 100 -100 0
#---------------------------------------------
# CLOCK
#---------------------------------------------
clock_background_id = 0
clock_padding = 10 6
clock_font_color = #ff00ff 100
time1_font = ITC Kabel 16
time1_format = %A %d %b
time2_font = ITC Kabel 16
time2_format = %l:%M %p . 00: F
clock_lclick_command = orage -t || gsimplecal
#---------------------------------------------
# TOOLTIP
#---------------------------------------------
tooltip_background_id = 7
tooltip_padding = 2 2
tooltip_font_color = #ffffff 80
tooltip_font = ITC Kabel 16
tooltip_show_timeout = 0
tooltip_hide_timeout = 0
#---------------------------------------------
# MOUSE ACTION ON TASK
#---------------------------------------------
mouse_middle = close
mouse_right = none
mouse_scroll_up = toggle
mouse_scroll_down = iconify
#---------------------------------------------
# LAUNCHERS
#---------------------------------------------
launcher_background_id = 0
launcher_padding = 6 4 6
launcher_icon_size = 48
launcher_icon_asb = 100 0 -10
launcher_tooltip = 0
launcher_icon_theme = awoken-apps
launcher_item_app = /home/user/.local/share/applications/x-www-browser.desktop
launcher_item_app = /home/user/.local/share/applications/x-mail-reader.desktop
launcher_item_app = /home/user/.local/share/applications/x-terminal-emulator.desktop
launcher_item_app = /home/user/.local/share/applications/x-file-manager.desktop
Last edited by cpoakes (2017-05-25 08:26:20)
Offline
Usual question....Any error messages if tint2 is started from a terminal?
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
Output:
xRandr: Found crtc's: 3
xRandr: Linking output LVDS1 with crtc 0
xRandr: crtc 1 seems disabled
xRandr: crtc 2 seems disabled
No XSETTINGS manager, tint2 uses config option 'launcher_icon_theme'.
real transparency on... depth: 32
panel items: CTLS
Systray composited rendering on
tint2 : nb monitor 1, nb monitor used 1, nb desktop 3
Loading icon theme cache...
Kernel uevent interface initialized...
systray window 6291472
tint2 : systray started
add_icon: 25166872 (volumeicon), pid 3708, visual 0xfaffe0, colormap 25165827, depth 32, width 24, height 24
add_icon: 31458752 (xfce4-power-manager), pid 3847, visual 0xfaffe0, colormap 31457283, depth 32, width 24, height 24
add_icon: 37757097 (NetworkManager Applet), pid 3824, visual 0xfaffe0, colormap 37748739, depth 32, width 24, height 24
Usual status messages. No errors indicated. All other visual elements as expected.
Last edited by cpoakes (2017-05-23 23:02:27)
Offline
How is this configuration file incompatible or incomplete?
Your configuration works for me in OpenBSD with version 0.12.2:
I have been running the stock jessie version of tint2 (0.11+svn20121014-3). Recently it started hanging
What was written to ~/.xsession-errors after the hang?
Was there anything relevant in the systemd journal or Xorg log?
Have you added the MX (or any other) repositories to this box?
apt-cache policy
Offline
No need for logs. This could be debugged with:
DEBUG_GEOMETRY=1 tint2 -c ...
And you will see that the task icon width and height are computed as -1. The reason is not obvious, but I can tell you that it's because task_maximum_size height is too small.
You can fix this by setting it to something like:
task_maximum_size = 200 200
But this is a bug, it shouldn't behave like this. I will open a bug report for it.
Another thing to add, which I have said in the past. For task icon issues, it's extremely useful to check the openbox Alt+Tab switcher. If the icons look the same as those shown in tint2, then it's not a tint2 problem. If they are different, there is something wrong in tint2 (either the config or the code).
Edit: fixed in https://gitlab.com/o9000/tint2/commit/b … c793991ffa
Last edited by o9000 (2017-05-24 19:10:33)
Offline
^Ovi, thanks for the corrections and diligence on tint2!
@HoaS - Thanks for your tests. I'll report back if the hang recurs in the new version.
Last edited by cpoakes (2017-05-25 08:36:42)
Offline