You are not logged in.
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
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.
Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please!
Offline
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
Anyone?
Offline
This appears to be an issue with i3, not Xfce. Perhaps it would be better to ask the i3 community?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Why do you think it's an i3 issue? Same problem happens with polybar too.
Offline
I created a discussion in i3wm forum: https://github.com/i3/i3/discussions/4773
Offline
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.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
> 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
Does i3 do any logging? Can you get debug logs out of it to see what is happening?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
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".
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 573.52 KiB (Peak: 590.37 KiB) ]