Xfce4-notifyd in appvms shows notifications wrong

I noticed that I wasn’t receiving any notifications from AppVMs. To test it, I ran notify-send "test" multiple times. After spamming it for a while, the notifications eventually appeared, seemingly after they had piled up in a queue.

Additionally, the notifications show up on my laptop’s built-in display instead of my primary external display.

This issue only occurs in Debian-based VMs (like debian-minimal and Whonix). When I use Fedora-41-XFCE, notifications do appear, but still not on my main display—they only show up on the laptop screen.

In dom0, notifications are shown correctly.

Debian-minimal does not have notify-send installed.
If you have installed it you will have to ensure that the full
Notifications framework is installed. If not, you will see an error on
use.
I can comment on Whonix.
I dont see any issue with full Debian templates, which work as expected.

Usually you get a notification to appear on a specific screen by setting
the value of $DISPLAY - your laptop is likely 0.0, the attached monitor
0.1
So you could try DISPLAY=:0.1 notify-send "test"
I cant guarantee this will feed through from qube to dom0, but it’s
worth a try.

I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.

Then you could sidestep the issue by using the new centralized notification system which forwards all in-qube notifications to dom0. It’s going to be the default in R4.3, but it’s already available for R4.2 as well.

1 Like

This is awesome, thanks! Gonna try it later.

However, I was able to solve the problem by configuring xfce4-notifyd to show notification on the upper left. I noticed that only upper left or bottom right configurations show notification. If i configured the “normal” upper right or bottom left it did not work.

1 Like