2

I have a new computer, but I fail to get native notifications to work with Firefox. It works fine on the old machine. notify-send and Google Chrome work fine on the new machine, too.

I have installed sway (window manager) and mako via apt. libnotify4 is installed, too. mako is running. But when I send a notification (from https://www.bennish.net/web-notifications.html), the notification is displayed by Firefox directly (which is super annoying with a tiling window manager). This message is printed to the console:

(firefox:78314): libnotify-WARNING **: 18:23:58.963: Failed to connect to proxy

Could it be blocked by snap or apparmor? As I said, all other apps can send notifications just fine, so it must be a problem with my Firefox.

Purging and reinstalling Firefox didn't help.

iGEL
  • 496

1 Answers1

3

The issue is related to Firefox being installed as a snap application by default starting with Ubuntu 22.04. The good news is that native messaging support for the snap will be implemented soon, but in the mean time, you can work around by removing the snap version and install a .deb version instead. This post shows how the .deb version of Mozilla can be installed, and how upgrades can be prevented from changing the .deb version to the snap version.

Thanks to user68186 for providing the link with the news (2022-07-29) this is being worked upon

Update 2022-08-24 Resolved in Firefox 104.0.3.

vanadium
  • 97,564