eonpatapon / mpDris2

MPRIS V2.1 support for mpd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ability to change DesktopEntry

muffinmad opened this issue · comments

It looks like DesktopEntry is used by clients to launch proper application. For example, your awesome GS extension does that. So there must be the option to specify DesktopEntry, not just mpdris2 which leads to launch of another instance of mpdris2.

DesktopEntry is also used for other things, such as selecting the displayed name & icon. Changing it would mean you'd end up with two entries for the same app (with one of them being mpdris2 in disguise).

@grawity I have the following in my /usr/bin/mpDris2:

    __root_props = {
...
        "DesktopEntry": ("ncmpcpp", None),
...
    }

Clicking on mediaplayer extension and on GS media notification works fine. Where can I see two entries for the same app?