emersion / mako

A lightweight Wayland notification daemon
https://wayland.emersion.fr/mako
MIT License
2.24k stars 138 forks source link

Thunderbird system notification #436

Open kopr12 opened 2 years ago

kopr12 commented 2 years ago

Thunderbird has an option, enabled by default, to use system notification daemon for notifications. For some reason, it doesn't seem to recognize Mako, or I don't know what exactly is going on, but it uses it's own notification system instead. Any ideas as why ?

pescepalla commented 2 years ago

Yes, and it creates a fullscreen window on Sway

Edit: You need to explicitly call mako at startup if you have more than one notification daemon installed, that's why it didn't work for me. Then, Thunderbird needs to have the "Show an alert" and "Use system notifications" options ticked.

kopr12 commented 2 years ago

I tried everything humanly possible, it doesn't work.

Anyway, I've installed Mailbox Alert addon and that one does the job I need.

DaAngus commented 2 years ago

Setting alerts.useSystemBackend to false, restarting thunderbird and changing it to true as mentioned here https://github.com/emersion/mako/issues/126#issuecomment-699699581 worked for me. Persistent after reboot.

o-alquimista commented 2 months ago

Setting alerts.useSystemBackend to false, restarting thunderbird and changing it to true as mentioned here #126 (comment) worked for me. Persistent after reboot.

Doesn't work for me, but then I am using the Flatpak distribution of Thunderbird.

Did anyone have any luck reporting this to Mozilla? That's my next step.


EDIT: libnotify is installed (and so are the flatpak runtimes from freedesktop and GNOME). Mako starts with Sway. Firefox (not a flatpak) sends its notifications through mako, as expected.

EDIT 2: https://bugzilla.mozilla.org/show_bug.cgi?id=1913245