New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reverse DNS app ID #2842
Reverse DNS app ID #2842
Conversation
This seems to be necessary so that Unity can match the window to the desktop file after the rename.
Thanks! Can your revert the "quodlibet/quodlibet/qltk/dbus_.py" changes? I'd prefer if it just gets blocked in flatpak (is that a problem?), and once we move MPRIS into the core we might drop it altogether. |
This is only for the custom D-Bus API. The D-Bus objects that implement some external interface still use io.github.quodlibet.QuodLibet.
I played around with it and it turns out that yes, I can. ;) I left the other D-Bus names (search provider and the app menu) as-is since no one should write those names down and talk to them. |
Thanks :) |
Regarding the icon, it seems that with this change, every icon pack (Numix Square, for example) has to create a symlink from "quodlibet" to "io.github.quodlibet.QuodLibet". It's not a big hassle, but is that change necessary? |
afaik we could have only done it for the flatpak build, but then you would have two names depending on how things are installed. But maybe I've missed something? |
Well, there's no way to not rename the icon for Flatpak. Having both names sounds like a maintenance nightmare to me, especially considering how many places this PR ended up touching. Also, any icon theme would have to support both names anyway if they want to work for Flatpak installations. |
Makes sense! I'm looking forward to flatpak support. =) |
No need to wait :) https://flathub.org/apps/details/io.github.quodlibet.QuodLibet |
See issue #2792. I renamed everything I could find that needs to match the Flatpak app ID, in particular:
This does mean the
net.sacredchao.QuodLibet
D-Bus name goes away. Any third-party clients using that name that may or may not exist would have to be updated.I also added
StartupWMClass
to the desktop file. Without it, Unity had difficulties matching the window to the desktop file.I left Ex Falso alone for the moment.