What would be an efficient and correct way to display info from a domU on dom0’s XFCE panel?
I have tried using a generic monitor widget polling a script in the domU but it seems too laggy (qvm-run introduces about 200-300ms delay). Additionally, synchronizing the reading of script output and its writing is somewhat challenging in such a setup.
I see that sys-net displays its own network manager applet in dom0’s panel. I wonder how this is done and if something similar is possible/suitalbe.
XY: I am trying to create a simple network monitor.
Nice topic! I thought about this myself, but did not afford the time to dig through the sources.
In dom0, the zone where those icons appear is: user 4218 4090 11:15 ? 00:00:00 /usr/lib64/xfce4/panel/wrapper-2.0 /usr/lib64/xfce4/panel/plugins/libsystray.so 6 14680074 systray Status Tray Plugin Provides status notifier items (application indicators) and legacy systray items
… where 4090 is the pid of the main xfce4-panel process.
So it is a wrapper that Qubes uses to pass icons to dom0…