How to prevent a startup app from appearing on tint taskbar

I am running Tumbleweed fully updated, and the IceWm. I have replaced it’s taskbar with tint2. I like to have an analog clock on my desktop, so in IceWm’s startup file I run an instance of xclock. The problem is xclock appears on tint2’s taskbar and I haven’t found a way to prevent that. I am posting here as tint2 does not have an issue section on Github, and there doesn’t appear to be a mailing list. The problem is not really related to IceWm so asking there would be off-topic.
Has anyone here got any ideas how to prevent it from showing up on the tint taskbar ?

Thanks

@mccfrank Hi, I suspect it’s tint2’s clock you see there… check tint2’s config file and remove the clock from the panel items…

Nope. It’s Xclock which I run from the IceWM startup file. Tint2’s time is on the right hand side of the taskbar. It’s nothing to do with my problem.

A couple things.
Comment out the Xclock entry in the IceWm startup file. Restart to Runlevel 5.

After all desktop items have started, fire up Xclock… does it still show up on tint2 bar?

Might consider posting the content of the IceWm startup file and the tint2 config file.

If you do, please use the Preformatted Text format option for the content of each file. :+1:

Comment out the Xclock entry in the IceWm startup file. Restart to Runlevel 5.

After all desktop items have started, fire up Xclock… does it still show up on tint2 bar?

Yes it does.

I don’t understand the relevance of the IceWM startup file or the tint2 config file to the problem. Nevertheless

xscreensaver -no-splash &

sleep 1


/home/frank/speedkeys.sh

tint2 &

sleep 1

clipit  &


picom --daemon &

sleep 2


##volumeicon &

dbus-update-activation-environment --all &

gnome-keyring-daemon --start --components=secrets


xclock -analog -bg black -hd white -update 1 -chime &

mmaker -f -t Xterm icewm


#---- Generated by tint2conf 9580 ----
# See https://gitlab.com/o9000/tint2/wikis/Configure for 
# full documentation of the configuration options.
#-------------------------------------
# Gradients
# Gradient 1
gradient = vertical
start_color = #99c1f1 100
end_color = #000000 100

#-------------------------------------
# Backgrounds
# Background 1: 
rounded = 0
border_width = 0
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #000000 60
border_color = #000000 30
background_color_hover = #000000 60
border_color_hover = #000000 30
background_color_pressed = #000000 60
border_color_pressed = #000000 30

# Background 2: Default task, Iconified task
rounded = 4
border_width = 1
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #777777 20
border_color = #777777 30
background_color_hover = #aaaaaa 22
border_color_hover = #eaeaea 44
background_color_pressed = #555555 4
border_color_pressed = #eaeaea 44

# Background 3: Active task
rounded = 4
border_width = 1
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #777777 20
border_color = #ffffff 40
background_color_hover = #aaaaaa 22
border_color_hover = #eaeaea 44
background_color_pressed = #555555 4
border_color_pressed = #eaeaea 44

# Background 4: Urgent task
rounded = 4
border_width = 1
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #aa4400 100
border_color = #aa7733 100
background_color_hover = #cc7700 100
border_color_hover = #aa7733 100
background_color_pressed = #555555 4
border_color_pressed = #aa7733 100

# Background 5: Tooltip
rounded = 1
border_width = 1
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 72
background_color = #1c71d8 100
border_color = #ffffff 100
gradient_id = 1
background_color_hover = #ffffaa 100
border_color_hover = #000000 100
background_color_pressed = #ffffaa 100
border_color_pressed = #000000 100

# Background 6: Launcher, Panel
rounded = 1
border_width = 1
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #1c71d8 100
border_color = #ffffff 100
gradient_id = 1
background_color_hover = #ffffaa 100
border_color_hover = #000000 100
background_color_pressed = #ffffaa 100
border_color_pressed = #000000 100

#-------------------------------------
# Panel
panel_items = FLTSC
panel_size = 100% 34
panel_margin = 0 0
panel_padding = 1 0 4
panel_background_id = 6
wm_menu = 1
panel_dock = 0
panel_pivot_struts = 0
panel_position = bottom center horizontal
panel_layer = top
panel_monitor = primary
panel_shrink = 0
autohide = 0
autohide_show_timeout = 0
autohide_hide_timeout = 0.5
autohide_height = 2
strut_policy = follow_size
panel_window_name = tint2
disable_transparency = 1
mouse_effects = 1
font_shadow = 1
mouse_hover_icon_asb = 100 50 50
mouse_pressed_icon_asb = 100 0 11
scale_relative_to_dpi = 0
scale_relative_to_screen_height = 0

#-------------------------------------
# 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 = 0
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 = 2 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

#-------------------------------------
# Task
task_text = 1
task_icon = 1
task_centered = 1
urgent_nb_of_blink = 100000
task_maximum_size = 150 35
task_padding = 2 2 4
task_tooltip = 1
task_thumbnail = 1
task_thumbnail_size = 210
task_font_color = #ffffff 100
task_background_id = 2
task_active_background_id = 3
task_urgent_background_id = 4
task_iconified_background_id = 2
mouse_left = toggle_iconify
mouse_middle = none
mouse_right = close
mouse_scroll_up = toggle
mouse_scroll_down = iconify

#-------------------------------------
# System tray (notification area)
systray_padding = 0 0 6
systray_background_id = 0
systray_sort = ascending
systray_icon_size = 28
systray_icon_asb = 100 20 40
systray_monitor = 1
systray_name_filter = 

#-------------------------------------
# Launcher
launcher_padding = 2 4 12
launcher_background_id = 6
launcher_icon_background_id = 0
launcher_icon_size = 26
launcher_icon_asb = 100 10 10
launcher_icon_theme = Adwaita
launcher_icon_theme_override = 0
startup_notifications = 0
launcher_tooltip = 1
launcher_item_app = tint2conf.desktop
launcher_item_app = thunderbird.desktop
launcher_item_app = ~/.local/share/applications/mc.desktop
launcher_item_app = ~/.local/share/applications/mc-root.desktop
launcher_item_app = /usr/share/applications/rox.desktop
launcher_item_app = ~/.local/share/applications/term.desktop
launcher_item_app = ~/.local/share/applications/Root-Term.desktop
launcher_item_app = /usr/share/applications/gimp.desktop
launcher_item_app = /usr/share/applications/org.gnome.gThumb.desktop
launcher_item_app = ~/.local/share/applications/htop.desktop
launcher_item_app = /usr/share/applications/pavucontrol.desktop
launcher_item_app = /usr/share/applications/mate-screenshot.desktop

#-------------------------------------
# Clock
time1_format = %H:%M: %S
time2_format = %A %B %d
time1_timezone = 
time2_timezone = 
clock_font_color = #ffffff 100
clock_padding = 2 0
clock_background_id = 0
clock_tooltip = 
clock_tooltip_timezone = 
clock_lclick_command = 
clock_rclick_command = orage
clock_mclick_command = 
clock_uwheel_command = 
clock_dwheel_command = 

#-------------------------------------
# Battery
battery_tooltip = 1
battery_low_status = 10
battery_low_cmd = xmessage 'tint2: Battery low!'
battery_full_cmd = 
battery_font_color = #ffffff 100
bat1_format = 
bat2_format = 
battery_padding = 1 0
battery_background_id = 0
battery_hide = 101
battery_lclick_command = 
battery_rclick_command = 
battery_mclick_command = 
battery_uwheel_command = 
battery_dwheel_command = 
ac_connected_cmd = 
ac_disconnected_cmd = 

#-------------------------------------
# Tooltip
tooltip_show_timeout = 0.5
tooltip_hide_timeout = 0.1
tooltip_padding = 4 4
tooltip_background_id = 5
tooltip_font_color = #dddddd 100



Don’t think there is anything in there to solve this problem.

Yea, understood :+1:

Anyway, I did a fresh install of TW into a VBox and used your config (for the most part).

Xclock (the clock itself) is shown as expected and does not appear on tint2.

BTW, “-analog” is redundant, since it’s the default.

I would move the call to Xclock up before the call to tint2 in the Icewm startup, and see how that goes.

Again, works here.

You might also strongly consider offering a screenshot of how Xclock (the visual clock as you suggest) is showing up on your tint2 taskbar. Your definition of “showing up on taskbar” might be misunderstood by others :+1:

Implemented your suggestion. No luck. See the screenshot.