firefox-devedition-flatpak icon indicating copy to clipboard operation
firefox-devedition-flatpak copied to clipboard

GNotifier add-on doesn't work

Open zygous opened this issue 8 years ago • 3 comments

With the official tarballed version of Firefox I can use the GNotifier add-on to get GNOME Shell notifications; with the Flatpak version I get a Firefox notification instead.

(I appreciate this might not be fixable given the premise of sandboxing Flatpak apps.)

zygous avatar Jan 19 '17 11:01 zygous

We need to have libnotify in the bundle or runtime. @alexlarsson any hint how to proceed with this?

xhorak avatar Jan 23 '17 08:01 xhorak

What runtime do you use? It is in the gnome one, but not in the fd.o one. Are you using flatpak-builder to build firefox? If so, you can just copy the snippet from the gnome sdk: https://git.gnome.org/browse/gnome-sdk-images/tree/org.gnome.Sdk.json.in?h=gnome-3-22#n518

alexlarsson avatar Jan 23 '17 09:01 alexlarsson

Firefox is using dlopen and relevant stuff to use libnotify. Thanks for the suggestion @alexlarsson. It does not fix this problem though /app/lib/libnotify.so.4 is installed now. I will have to debug it later.

xhorak avatar Jan 23 '17 16:01 xhorak