Better linux desktop notification integration

Right now Plexamp sends notifications when a new song comes on. This is fine as handling notifications and muting them should be handled on the OS side. Sadly there are a couple of issues as it currently stands:

  • X-GNOME-UsesNotifications=true is missing from the .desktop file. This is something we can easily patch over on flathub
  • Application ID sent with the notifications is incorrect. This can be from a number of different things:
    • A very out of date electron version (pre v3.0.0)
    • package.json desktopName not being the same ID we have setup in flatpak (com.plexamp.Plexamp)

App: Plexamp flatpak Flathub—An app store and build service for Linux
OS: elementary 6 Odin
Linux: 5.8.0-63-generic #71~20.04.1-Ubuntu SMP x86_64 GNU/Linux

Hey Blake,

The flathub app is unofficial and not provided by Plex. The only official Plexamp release for Linux is the .appimage at present. I know we’ve looked into an official flatpak build in the past, but IIRC, last we checked the tooling didn’t support it.

I’m using the appimage on elementary OS 6, and notifications seem to be working fine, though I have them turned off within the app in favour of MPRIS controls.

Wow, I can’t believe I missed the “Send Notifications” setting :man_facepalming:

As for the flatpak, it’s a wrapper around the official appimage to make it easier to install and include some desktop integrations (like icons and .desktop file.) Notifications do work, but they don’t follow the built in OS notification settings.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.