-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
[Linux] Media Keys not working, and Cider2 not showing in KDE Media Player #903
Comments
Hello @rycon 👋 We really appreciate you taking the time to report this issue, please double check your issue to make sure you are clear and concise in your description. This will help us to help you as quickly as possible. We'd like to ask you be patient and we will get back to you as soon as we can. In the meantime, take a look at our FAQs which may answer your question. Thanks again and we hope you enjoy the app! 😃 |
What package release are you using, e.g. AppImage, deb, rpm etc. |
I downloaded the Flatpak version 2.6.0.13 from Taproot |
I moved from Bazzite to Nobara, and the media keys on the latest rpm are working. The issue may still persist on the flatpak version, but I won't be able to provide more details. |
Same issue using the flatpak build on Arch, no media playing when using cider, no tray icon but it works on the AppImage build |
I had the same issue and it's a pretty common one among audio applications in Flatpak.
EDIT: Actually that is overkill. It seems like the Flatpak permissions are only missing the reference to which org.mpris.MediaPlayer2 object Cider is allowed to own. I guessed it as One can use Flatseal to grant this permission to the Cider Flatpak (sh.cider.genten). Ideally this permission should be pre-configured in the Flatpak. |
Cider also tries to connect to the D-Bus system socket and throws this error:
Yet I don't see why it should access that, as with the session bus no functionality is missing anymore to my knowledge. So I keep it disabled. |
Due to how Flatpak has been packaged, and how Electron Forge's maker does it, we cannot apply any explicit modification to fix these issues, and unfortunately it is out of our scope to create our own. |
@coredev-uk That is completely understandable, yet I think this issue is fixable. I looked into the root of the issue a bit more and found this: If you could change it to use Yet if you're opposed to this or there is some other technical reason as to why you can't modify how it registers, I want to suggest this second possible solution: You mention that you are using the Electron Forge Maker for Flatpak. So theoretically adding that setting something like this should work, but obviously I can't test it myself:
|
Since (afaik) most apps do not follow that name schema for mpris id, rather just the app name. So I will probably try and opt for the finishArgs that you mentioned. I have applied that change, and the experimental build on taproom should have it. |
That permission is now correctly set. Yet the Specifically this used to be in the manifest and is now gone:
Don't know if this was already an issue on the experimental builds, or if this change somehow overwrote existing parameters. |
Tried the experimental build as well and the app doesn't open.
|
Yeah fixing it rn, changing the finishArgs doesnt seem to add onto the preset, but replaces them entirely. |
There is a build compiling to taproom right now, this should contain the fix for this, and resolve any issues with the dep versions |
Please try the latest experimental release on Taproom. |
Latest experimental works as expected! |
Works perfectly, thanks a lot ! I still have no tray icon (only on the flatpak build) though, but that's a whole other issue |
Preflight Checklist
How did you download Cider?
Cider Taproom
Operating System
Bazzite Linux 41 (Fedora 41 based)
Commit Hash
No response
Build Timestamp
No response
Describe the Bug
Media controls such as play/pause, and skip forward/back don't work, and when playing music in Cider2, KDE's "Now Playing" Media Player is not showing at all.
Other media source such as youtube, spotify, and other apps show in KDE "now playing" and my media keys work as expected.
Other Details:
Steps to Reproduce
Anything else?
Cider2 with music playing, KDE media player not displayed at all (expected behaviour when KDE does not see media playing)
Youtube video playing, KDE media player displaying video detials, and media keys work
On Version 2.6.0.13
Latest Bazzite Linux version
The text was updated successfully, but these errors were encountered: