Xfce Forum

Sub domains
 

You are not logged in.

#1 2022-01-02 21:00:46

asdf123asdf
Member
Registered: 2022-01-02
Posts: 6

Tray icons do not appear in bars other than xfce4-panel

I've been using i3 with XFCE for a long time without problems. However, after updating my Xubuntu system from 18.04 to 21.10 I can no longer use any bar other than xfce4-panel and see the tray icons. I tried i3bar and polybar. Tried restarting the system without xfce4-panel, or with it and then killing it -- no luck.

Could anyone help me fix this issue please?

Offline

#2 2022-01-02 21:06:16

KBar
Member
Registered: 2021-11-05
Posts: 189

Re: Tray icons do not appear in bars other than xfce4-panel

Hello and welcome to the forum.

Could you post a screenshot of the issue? You can take and upload it to Imgur with xfce4-screenshooter.

Offline

#3 2022-01-02 21:18:40

asdf123asdf
Member
Registered: 2022-01-02
Posts: 6

Re: Tray icons do not appear in bars other than xfce4-panel

Not sure what to show really. Imagine NetworkManager tray icon. If I run xfce4-panel, I can see that tray icon in xfce4-panel. If I run any other panel (while xfce4-panel is not running) like i3bar or polybar, the tray icon is not shown in the panel.

Screenshots: https://imgur.com/a/aXDEOe7

Notice that with i3bar none of the tray icons are shown. Same with polybar.

Offline

#4 2022-01-03 14:20:55

asdf123asdf
Member
Registered: 2022-01-02
Posts: 6

Re: Tray icons do not appear in bars other than xfce4-panel

Anyone?

Offline

#5 2022-01-03 18:07:22

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 8,506

Re: Tray icons do not appear in bars other than xfce4-panel

This appears to be an issue with i3, not Xfce. Perhaps it would be better to ask the i3 community?

Offline

#6 2022-01-04 07:30:55

asdf123asdf
Member
Registered: 2022-01-02
Posts: 6

Re: Tray icons do not appear in bars other than xfce4-panel

Why do you think it's an i3 issue? Same problem happens with polybar too.

Offline

#7 2022-01-04 08:05:20

asdf123asdf
Member
Registered: 2022-01-02
Posts: 6

Re: Tray icons do not appear in bars other than xfce4-panel

I created a discussion in i3wm forum: https://github.com/i3/i3/discussions/4773

Offline

#8 2022-01-04 11:40:34

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 8,506

Re: Tray icons do not appear in bars other than xfce4-panel

asdf123asdf wrote:

Why do you think it's an i3 issue? Same problem happens with polybar too.

I just suggested i3 because the i3status bar is part of that window manager. You could also follow up with polybar. The issue here is that since it works with xfce4-panel its most likely an issue with those packages. Perhaps check your configuration files (did you start new or did you re-use config files from 18.04) and make sure they are properly set up. Specifically check the value of "tray_output" and make sure it is pointing to the correct xrandr output device.

Offline

#9 2022-01-04 12:26:27

asdf123asdf
Member
Registered: 2022-01-02
Posts: 6

Re: Tray icons do not appear in bars other than xfce4-panel

> did you start new or did you re-use config files from 18.04

I reused the i3 config from 18.04, but other than that it's a fresh installation. Nothing else is reused.

> Specifically check the value of "tray_output" and make sure it is pointing to the correct xrandr output device

I tried `tray_output primary` and `try_output HDMI-0` -- no luck. `xrandr` lists just one output which is `HDMI-0`.

Offline

#10 2022-01-04 14:26:49

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 8,506

Re: Tray icons do not appear in bars other than xfce4-panel

Does i3 do any logging? Can you get debug logs out of it to see what is happening?

Offline

#11 2022-01-04 16:53:29

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 8,506

Re: Tray icons do not appear in bars other than xfce4-panel

I just fired up my Xubuntu 21.10 VM, replaced xfwm4 with i3 (using the default config file) and the nm-applet icon appeared. As well as vlc when started. Of interest to note is that the default config does not have any tray_output settings in it.

Also, you can debug i3 by starting it with "i3 -d all".

Offline

Board footer

Powered by FluxBB