Ability to change DesktopEntry
muffinmad opened this issue · comments
Andrii Kolomoiets commented
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.
Mantas Mikulėnas commented
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).
Andrii Kolomoiets commented
@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?