You are not logged in.
Pages: 1
Hi everyone, Happy New Year.
I recently updated all my xfce applications to 4.20 except panel which is giving me some grief. None of my status tray icons render at all, although the empty space is there and they do respond to clicking. I tried resetting my xfce panel xml, removing my gtk3.css, changing icon themes, etc.
I noticed this in the 4.20 release notes:
Systray icons will be missing for multiple applications (required to use StatusNotifier instead of GtkStatusIcon)
I'm guessing that's like kde's status notifier or something, which I also tried installing as a shot in the dark, to no avail... Maybe I'm just missing a support package for wayland's way of doing it?
Strangely enough, status icons render correctly on a vanilla xfce install in a VM, so I'm fairly certain it has something to do with my local system. I hope someone may be able to share some insight.
For whatever it's worth, my window buttons on panel-4.20 also have buggy width until multiple windows are opened. Maybe that's related, but it doesn't bother me nearly as much as the status tray.
---
Since I'm new here and don't want to just take and take by asking for support, please feel free to visit my other thread where I share some xfce utilities that I've written, which may hopefully be of some interest to you.
https://forum.xfce.org/viewtopic.php?id=18002
- Thank you
Last edited by adelmonte (2025-01-05 14:21:29)
Offline
I recently updated all my xfce applications to 4.20 except panel
Why did you choose not to upgrade the panel? I don't think its intended to work this way.
I noticed this in the 4.20 release notes:
Systray icons will be missing for multiple applications (required to use StatusNotifier instead of GtkStatusIcon)
I'm guessing that's like kde's status notifier or something, which I also tried installing as a shot in the dark, to no avail... Maybe I'm just missing a support package for wayland's way of doing it?
This comment is specific to wayland. Are you running Xfce on wayland?
Strangely enough, status icons render correctly on a vanilla xfce install in a VM, so I'm fairly certain it has something to do with my local system. I hope someone may be able to share some insight.
I don't think you can effectively run an older version of xfce4-panel on 4.20 - it was never tested to do so and there were _significant_ changes between 4.18 amd 4.20.
Also, since I'm not sure if this belongs in a separate thread, I use the xdg-desktop-portal-kde picker system wide. It works perfectly with xdg-desktop-portal 1.16.0.3 using the environment variable
GTK_USE_PORTAL=1
The Arch wiki suggests this variable was changed in 1.18 to
GDK_DEBUG=portals
but neither option works whatsoever on that version. This variable gets it to work, but unfortunately breaks most xfce functions
XDG_CURRENT_DESKTOP=KDE
Probably does belong in another thread - maybe you can create a new one not to confuse these two.
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Hi ToZ, thanks for your prompt response.
Sorry to be confusing, I meant to express that I upgraded everything to 4.20 but the status tray icons weren't working so I reverted that single package for now.
I run X11 but I should mention that the status tray icons also didn't appear when I was experimenting with wayfire either.
Offline
With respect to wayland, see: https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/877. However, they should work on X11. Which programs are causing an issue? Let me see if I can duplicate it.
Also, you can run xfce4-panel like this to display debug output (run with panel version 4.20):
xfce4-panel -q && PANEL_DEBUG=1 xfce4-panel
...and post back the output.
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
~ xfce4-panel -q && PANEL_DEBUG=1 xfce4-panel
xfce4-panel(main): version 4.20.0 on gtk+ 3.24.43 (3.24.43), glib 2.82.4 (2.82.4)
xfce4-panel(module-factory): Forcing all plugins to run internal
xfce4-panel(module-factory): reading /usr/share/xfce4/panel/plugins
xfce4-panel(application): found window manager after 1 tries
xfce4-panel(base-window): 0x5eb7b4bbfe70: rgba visual=0x5eb7b4a9cf80, compositing=true
xfce4-panel(base-window): 0x5eb7b4bbfe70: rgba visual=0x5eb7b4a9cf80, compositing=true
xfce4-panel(display-layout): 0x5eb7b4bbfe70: display=:0.0{comp=true}, screen-0[0x5eb7b4a8c610]=[2080,1387] (eDP-1=[0,0;2080,1387])
xfce4-panel(positioning): 0x5eb7b4bbfe70: screen=0x5eb7b4a8c610, monitors=1, output-name=Automatic, span-monitors=false, base=960,1186
xfce4-panel(positioning): 0x5eb7b4bbfe70: working-area: screen=0x5eb7b4a8c610, x=0, y=0, w=2080, h=1387
xfce4-panel(struts): 0x5eb7b4bbfe70: bottom=64, start_x=0, end_x=4158
xfce4-panel(module): new item (type=construct-func, name=whiskermenu, id=2)
xfce4-panel(module): new item (type=object-type, name=tasklist, id=3)
xfce4-panel(module): new item (type=object-type, name=separator, id=7)
xfce4-panel(module): new item (type=construct-func, name=genmon, id=4)
xfce4-panel(module): new item (type=object-type, name=pulseaudio, id=8)
xfce4-panel(module): new item (type=object-type, name=systray, id=6)
xfce4-panel(module): new item (type=object-type, name=separator, id=16)
xfce4-panel(module): new item (type=object-type, name=pager, id=5)
xfce4-panel(module): new item (type=construct-func, name=notification-plugin, id=10)
xfce4-panel(module): new item (type=construct-func, name=genmon, id=22)
xfce4-panel(module): new item (type=construct-func, name=genmon, id=19)
xfce4-panel(module): new item (type=construct-func, name=genmon, id=21)
xfce4-panel(clock): trying to instantiate d-bus sleep monitor
xfce4-panel(module): new item (type=object-type, name=clock, id=13)
xfce4-panel(module): new item (type=construct-func, name=genmon, id=9)
xfce4-panel(module): new item (type=construct-func, name=genmon, id=11)
xfce4-panel(base-window): 0x5eb7b4e96430: rgba visual=0x5eb7b4a9cf80, compositing=true
xfce4-panel(base-window): 0x5eb7b4e96430: rgba visual=0x5eb7b4a9cf80, compositing=true
xfce4-panel(display-layout): 0x5eb7b4e96430: display=:0.0{comp=true}, screen-0[0x5eb7b4a8c610]=[2080,1387] (eDP-1=[0,0;2080,1387])
xfce4-panel(positioning): 0x5eb7b4e96430: screen=0x5eb7b4a8c610, monitors=1, output-name=DP-1-1, span-monitors=false, base=2880,1053
xfce4-panel(positioning): 0x5eb7b4e96430: monitor DP-1-1 not found, hiding window
xfce4-panel(module): new item (type=object-type, name=tasklist, id=12)
xfce4-panel(module): new item (type=object-type, name=separator, id=17)
xfce4-panel(clock): trying to instantiate d-bus sleep monitor
xfce4-panel(module): new item (type=object-type, name=clock, id=15)
xfce4-panel(base-window): 0x5eb7b51156a0: rgba visual=0x5eb7b4a9cf80, compositing=true
xfce4-panel(base-window): 0x5eb7b51156a0: rgba visual=0x5eb7b4a9cf80, compositing=true
xfce4-panel(display-layout): 0x5eb7b51156a0: display=:0.0{comp=true}, screen-0[0x5eb7b4a8c610]=[2080,1387] (eDP-1=[0,0;2080,1387])
xfce4-panel(positioning): 0x5eb7b51156a0: screen=0x5eb7b4a8c610, monitors=1, output-name=DP-1-2, span-monitors=false, base=4800,1055
xfce4-panel(positioning): 0x5eb7b51156a0: monitor DP-1-2 not found, hiding window
xfce4-panel(module): new item (type=object-type, name=tasklist, id=14)
xfce4-panel(base-window): 0x5eb7b528ca40: rgba visual=0x5eb7b4a9cf80, compositing=true
xfce4-panel(base-window): 0x5eb7b528ca40: rgba visual=0x5eb7b4a9cf80, compositing=true
xfce4-panel(display-layout): 0x5eb7b528ca40: display=:0.0{comp=true}, screen-0[0x5eb7b4a8c610]=[2080,1387] (eDP-1=[0,0;2080,1387])
xfce4-panel(positioning): 0x5eb7b528ca40: screen=0x5eb7b4a8c610, monitors=1, output-name=(null), span-monitors=false, base=1808,76
xfce4-panel(positioning): 0x5eb7b528ca40: working-area: screen=0x5eb7b4a8c610, x=0, y=0, w=2080, h=1387
xfce4-panel(display-layout): 0x5eb7b528ca40: display=:0.0{comp=true}, screen-0[0x5eb7b4a8c610]=[2080,1387] (eDP-1=[0,0;2080,1387])
xfce4-panel(positioning): 0x5eb7b528ca40: screen=0x5eb7b4a8c610, monitors=1, output-name=(null), span-monitors=false, base=1808,76
xfce4-panel(positioning): 0x5eb7b528ca40: working-area: screen=0x5eb7b4a8c610, x=0, y=0, w=2080, h=1387
xfce4-panel(module): new item (type=construct-func, name=genmon, id=20)
xfce4-panel(clock): d-bus service org.freedesktop.ConsoleKit not active
xfce4-panel(clock): d-bus service org.freedesktop.ConsoleKit not active
xfce4-panel(clock): keeping proxy for org.freedesktop.login1
xfce4-panel(clock): keeping proxy for org.freedesktop.login1
xfce4-panel(systray): rgba visual is 0x5eb7b4a9cf80
xfce4-panel(systray): registered manager on screen 0
^Cxfce4-panel(main): received signal Interrupt <2>, quitting panel
xfce4-panel(application): saving /panels/panel-0: ids=false, providers=true
xfce4-panel(application): saving /panels/panel-1: ids=false, providers=true
xfce4-panel(application): saving /panels/panel-2: ids=false, providers=true
xfce4-panel(application): saving /panels/panel-3: ids=false, providers=true
xfce4-panel(systray): unregistered manager
xfce4-panel(application): finalized
Here are some pictures. Strangely enough some of the icons appeared while attempting the debug mode multiple times (output was no different).
Also here's some pictures of my window buttons. It seems like they wont expand to the expected width unless at least one of the titles is over a certain length. Then they all pop open properly.
Last edited by adelmonte (2025-01-04 23:53:58)
Offline
With respect to the systray, what apps should show up there? Or:
xfconf-query -c xfce4-panel -lv | grep "$(xfconf-query -c xfce4-panel -lv | grep systray | awk '{print $1}')"
Also try this to see if you get some additional systray debug messages:
xfce4-panel -q && PANEL_DEBUG=systray xfce4-panel
With respect to the window buttons issue, do you have any content in ~/.config/gtk-3.0/gtk.css that would affect them (see: https://docs.xfce.org/xfce/xfce4-panel/tasklist? Also, what Gtk (Appearance) theme are you using?
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Good call on the gtk3.css, apparently I had an old min-width setting for the window buttons that didn't work before 4.20. Window buttons are fixed, just the status tray icons now.
I'm using nordic-bluish-accent
https://github.com/EliverLara/Nordic
~ xfconf-query -c xfce4-panel -lv | grep "$(xfconf-query -c xfce4-panel -lv | grep systray | awk '{print $1}')"
/plugins/plugin-6 systray
/plugins/plugin-6/hidden-items [redshift,xpad,firewall-applet]
/plugins/plugin-6/hidden-legacy-items [clipman,xpad,redshift-gtk]
/plugins/plugin-6/hide-new-items false
/plugins/plugin-6/icon-size 21
/plugins/plugin-6/known-items [org.rnd2.cpupower_gui,flameshot,stacer,KDocker,chrome_status_icon_1,blueman,nm-applet,firewall-applet,xpad,redshift]
/plugins/plugin-6/known-legacy-items [wi-fi network connection “local_network ” active: local_network (78%),wi-fi network connection “local_network ” active: local_network (79%),wi-fi network connection “local_network ” active: local_network (96%),keepassxc,wi-fi network connection “local_network ” active: local_network (93%),wi-fi network connection “local_network ” active: local_network (94%),wi-fi network connection “local_network ” active: local_network (92%),wi-fi network connection “local_network ” active: local_network (90%),blueman-tray,wi-fi network connection “local_network ” active: local_network (88%),requesting a wi-fi network address for “local_network ”…,networkmanager applet,wi-fi network connection “local_network ” active: local_network (80%),wi-fi network connection “local_network ” active: local_network (76%),wi-fi network connection “local_network ” active: local_network (75%),vlc,wi-fi network connection “local_network ” active: local_network (83%),wi-fi network connection “local_network ” active: local_network (86%),wi-fi network connection “local_network ” active: local_network (87%),redshift-gtk,wi-fi network connection “local_network ” active: local_network (84%),wi-fi network connection “local_network ” active: local_network (89%),blueman,cpupower-gui,wi-fi network connection “local_network ” active: local_network (81%),wi-fi network connection “local_network ” active: local_network (85%),signal-desktop,xpad,wi-fi network connection “local_network ” active: local_network (82%),clipman]
/plugins/plugin-6/menu-is-primary false
/plugins/plugin-6/single-row false
/plugins/plugin-6/square-icons true
/plugins/plugin-6/symbolic-icons false
~ xfce4-panel -q && PANEL_DEBUG=systray xfce4-panel
xfce4-panel(main): version 4.20.0 on gtk+ 3.24.43 (3.24.43), glib 2.82.4 (2.82.4)
xfce4-panel(module-factory): Forcing all plugins to run internal
xfce4-panel(module-factory): reading /usr/share/xfce4/panel/plugins
xfce4-panel(application): found window manager after 1 tries
xfce4-panel(base-window): 0x5dbc75b7a9c0: rgba visual=0x5dbc75a55c50, compositing=true
xfce4-panel(base-window): 0x5dbc75b7a9c0: rgba visual=0x5dbc75a55c50, compositing=true
xfce4-panel(display-layout): 0x5dbc75b7a9c0: display=:0.0{comp=true}, screen-0[0x5dbc75a44f80]=[2080,1387] (eDP-1=[0,0;2080,1387])
xfce4-panel(positioning): 0x5dbc75b7a9c0: screen=0x5dbc75a44f80, monitors=1, output-name=Automatic, span-monitors=false, base=960,1186
xfce4-panel(positioning): 0x5dbc75b7a9c0: working-area: screen=0x5dbc75a44f80, x=0, y=0, w=2080, h=1387
xfce4-panel(struts): 0x5dbc75b7a9c0: bottom=64, start_x=0, end_x=4158
xfce4-panel(module): new item (type=construct-func, name=whiskermenu, id=2)
xfce4-panel(module): new item (type=object-type, name=tasklist, id=3)
xfce4-panel(module): new item (type=object-type, name=separator, id=7)
xfce4-panel(module): new item (type=construct-func, name=genmon, id=4)
xfce4-panel(module): new item (type=object-type, name=pulseaudio, id=8)
xfce4-panel(module): new item (type=object-type, name=systray, id=6)
xfce4-panel(module): new item (type=object-type, name=separator, id=16)
xfce4-panel(module): new item (type=object-type, name=pager, id=5)
xfce4-panel(module): new item (type=construct-func, name=notification-plugin, id=10)
xfce4-panel(module): new item (type=construct-func, name=genmon, id=22)
xfce4-panel(module): new item (type=construct-func, name=genmon, id=19)
xfce4-panel(module): new item (type=construct-func, name=genmon, id=21)
xfce4-panel(clock): trying to instantiate d-bus sleep monitor
xfce4-panel(module): new item (type=object-type, name=clock, id=13)
xfce4-panel(module): new item (type=construct-func, name=genmon, id=9)
xfce4-panel(module): new item (type=construct-func, name=genmon, id=11)
xfce4-panel(base-window): 0x5dbc75ef6c30: rgba visual=0x5dbc75a55c50, compositing=true
xfce4-panel(base-window): 0x5dbc75ef6c30: rgba visual=0x5dbc75a55c50, compositing=true
xfce4-panel(display-layout): 0x5dbc75ef6c30: display=:0.0{comp=true}, screen-0[0x5dbc75a44f80]=[2080,1387] (eDP-1=[0,0;2080,1387])
xfce4-panel(positioning): 0x5dbc75ef6c30: screen=0x5dbc75a44f80, monitors=1, output-name=DP-1-1, span-monitors=false, base=2880,1053
xfce4-panel(positioning): 0x5dbc75ef6c30: monitor DP-1-1 not found, hiding window
xfce4-panel(module): new item (type=object-type, name=tasklist, id=12)
xfce4-panel(module): new item (type=object-type, name=separator, id=17)
xfce4-panel(clock): trying to instantiate d-bus sleep monitor
xfce4-panel(module): new item (type=object-type, name=clock, id=15)
xfce4-panel(base-window): 0x5dbc75f77300: rgba visual=0x5dbc75a55c50, compositing=true
xfce4-panel(base-window): 0x5dbc75f77300: rgba visual=0x5dbc75a55c50, compositing=true
xfce4-panel(display-layout): 0x5dbc75f77300: display=:0.0{comp=true}, screen-0[0x5dbc75a44f80]=[2080,1387] (eDP-1=[0,0;2080,1387])
xfce4-panel(positioning): 0x5dbc75f77300: screen=0x5dbc75a44f80, monitors=1, output-name=DP-1-2, span-monitors=false, base=4800,1055
xfce4-panel(positioning): 0x5dbc75f77300: monitor DP-1-2 not found, hiding window
xfce4-panel(module): new item (type=object-type, name=tasklist, id=14)
xfce4-panel(base-window): 0x5dbc76026230: rgba visual=0x5dbc75a55c50, compositing=true
xfce4-panel(base-window): 0x5dbc76026230: rgba visual=0x5dbc75a55c50, compositing=true
xfce4-panel(display-layout): 0x5dbc76026230: display=:0.0{comp=true}, screen-0[0x5dbc75a44f80]=[2080,1387] (eDP-1=[0,0;2080,1387])
xfce4-panel(positioning): 0x5dbc76026230: screen=0x5dbc75a44f80, monitors=1, output-name=(null), span-monitors=false, base=1808,76
xfce4-panel(positioning): 0x5dbc76026230: working-area: screen=0x5dbc75a44f80, x=0, y=0, w=2080, h=1387
xfce4-panel(display-layout): 0x5dbc76026230: display=:0.0{comp=true}, screen-0[0x5dbc75a44f80]=[2080,1387] (eDP-1=[0,0;2080,1387])
xfce4-panel(positioning): 0x5dbc76026230: screen=0x5dbc75a44f80, monitors=1, output-name=(null), span-monitors=false, base=1808,76
xfce4-panel(positioning): 0x5dbc76026230: working-area: screen=0x5dbc75a44f80, x=0, y=0, w=2080, h=1387
xfce4-panel(module): new item (type=construct-func, name=genmon, id=20)
xfce4-panel(clock): d-bus service org.freedesktop.ConsoleKit not active
xfce4-panel(clock): d-bus service org.freedesktop.ConsoleKit not active
xfce4-panel(clock): keeping proxy for org.freedesktop.login1
xfce4-panel(systray): requested cells=0, rows=1, icon_size=31, children=0
xfce4-panel(systray): allocate rows=1, icon_size=31, w=1, h=31, horiz=true, border=0
xfce4-panel(clock): keeping proxy for org.freedesktop.login1
xfce4-panel(systray): rgba visual is 0x5dbc75a55c50
xfce4-panel(systray): registered manager on screen 0
xfce4-panel(systray): socket blueman[0x5dbc760eec40] (composited=true, relative-bg=false
xfce4-panel(systray): added blueman[0x5dbc760eec40] icon
xfce4-panel(systray): socket redshift-gtk[0x5dbc75c334c0] (composited=true, relative-bg=false
xfce4-panel(systray): added redshift-gtk[0x5dbc75c334c0] icon
xfce4-panel(systray): socket wi-fi network connection “local_network ” active: local_network (81%)[0x5dbc75ec5c50] (composited=true, relative-bg=false
xfce4-panel(systray): added wi-fi network connection “local_network ” active: local_network (81%)[0x5dbc75ec5c50] icon
xfce4-panel(systray): socket clipman[0x5dbc75ec70e0] (composited=true, relative-bg=false
xfce4-panel(systray): added clipman[0x5dbc75ec70e0] icon
xfce4-panel(systray): socket signal-desktop[0x5dbc75ec8650] (composited=true, relative-bg=false
xfce4-panel(systray): added signal-desktop[0x5dbc75ec8650] icon
xfce4-panel(systray): socket xpad[0x5dbc75ec9a20] (composited=true, relative-bg=false
xfce4-panel(systray): added xpad[0x5dbc75ec9a20] icon
xfce4-panel(systray): requested cells=3, rows=1, icon_size=31, children=3
xfce4-panel(systray): hidden children changed (3 -> 0)
xfce4-panel(systray): allocate rows=1, icon_size=31, w=93, h=31, horiz=true, border=0
xfce4-panel(systray): allocated blueman[0x5dbc760eec40] at (1581,5;22,22)
xfce4-panel(systray): allocated wi-fi network connection “local_network ” active: local_network (81%)[0x5dbc75ec5c50] at (1612,5;22,22)
xfce4-panel(systray): allocated signal-desktop[0x5dbc75ec8650] at (1643,5;22,22)
xfce4-panel(systray): allocated redshift-gtk[0x5dbc75c334c0] at (-9999,-9999;31,31)
xfce4-panel(systray): allocated xpad[0x5dbc75ec9a20] at (-9999,-9999;31,31)
xfce4-panel(systray): allocated clipman[0x5dbc75ec70e0] at (-9999,-9999;31,31)
xfce4-panel(systray): allocate rows=1, icon_size=31, w=93, h=31, horiz=true, border=0
xfce4-panel(systray): allocated blueman[0x5dbc760eec40] at (1530,5;22,22)
xfce4-panel(systray): allocated wi-fi network connection “local_network ” active: local_network (81%)[0x5dbc75ec5c50] at (1561,5;22,22)
xfce4-panel(systray): allocated signal-desktop[0x5dbc75ec8650] at (1592,5;22,22)
xfce4-panel(systray): allocated redshift-gtk[0x5dbc75c334c0] at (-9999,-9999;31,31)
xfce4-panel(systray): allocated xpad[0x5dbc75ec9a20] at (-9999,-9999;31,31)
xfce4-panel(systray): allocated clipman[0x5dbc75ec70e0] at (-9999,-9999;31,31)
Offline
I think the issue is that the icons are the same colour as your panel background. Try changing the panel background colour to confirm.
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Well after realizing the icons would render after restarting the programs, I thought it was some kind of dbus race issue upon boot. Cleaned up my dbus configs based on journal warnings but didn't really get anywhere.
I figured that if the status tray icons worked on a vanilla install, then it must be my xfce4-panel.xml, but I had already tried deleting it once. I was foolish enough not to realize that I needed to restart both panel and xfconfd for the basic panel config to regenerate. I remade my previous settings and now the status tray works fine. The issue was corrupt xml from the upgrade.
Thanks for your help ToZ
Offline
The issue was corrupt xml from the upgrade.
Thanks for sharing the issue and solution.
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Pages: 1
[ Generated in 0.011 seconds, 7 queries executed - Memory usage: 658.28 KiB (Peak: 691.13 KiB) ]