regolith-linux / regolith-desktop

Meta package for the Regolith Desktop Environment
1.51k stars 31 forks source link

notify-send doesn't work with Regolith 3.2 Ubuntu 24.04 #1068

Open lcswillems opened 5 days ago

lcswillems commented 5 days ago

Describe the bug

I've upgraded to Regolith 3.2 and Ubuntu 24.04. notify-send doesn't work anymore, no popup appears.

When I log in to Ubuntu / Gnome directly, notify-send works.

To Reproduce

Open the terminal and run the command notify-send hello

Expected behavior

A notification should appear.

Installation Details

SoumyaRanjanPatnaik commented 5 days ago

Do you have a notification daemon installed? The default for regolith is rofication (exists in the regolith-rofication package). You can also use something else, like dunst or sway-notification-center.

lcswillems commented 5 days ago

If it was a question of daemon installed, why would it work when I log in directly with Ubuntu and not work when I log in with Regolith?

kgilmer commented 4 days ago

If it was a question of daemon installed, why would it work when I log in directly with Ubuntu and not work when I log in with Regolith?

Likely because the Ubuntu session runs a different notification frontend that has a pop-up notification UI. Regolith does not at this time by default, and as @SoumyaRanjanPatnaik pointed out, instead we use rofication. The default approach in Regolith is to show the notification count in the bar and then allow users to view notifications via <super> n.

You can replace the default notification backend with something else if you prefer (dunst provides a pop-up widget UI), described here.

lcswillems commented 4 days ago

@kgilmer Somehow now it works again. I don't know exactly what I did (I didn't install dunst or rofication) and now I have the popup notifications appearing on my screen. How is it possible that it works again without having installed dunst or rofication?