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
cmus: Starting CMUS without a session bus results in MPRIS error #20744
Comments
Do you have the dbus service enabled? |
This issue doesn't affect me personally; it was reported by someone on #voidlinux, who encountered it after trying to run cmus from the console on a fresh Void install. i found that enabling the My inclination is to say this is an upstream issue, but i'm interested to know how Void handles cases like this - whether the procedure is to try to work around the problem in the packaging, or whether users should be told to raise the issue with upstream. |
Coming back to this, I thik the default procedure is to report the issue and seek a fix. If the fix is deemed important and has been accepted by upstream, we can try to patch it before a release. |
@galmio: Could you please open an issue with upstream about this? My personal feeling is that it's reasonable for people to want to run |
@galmio: i'm not a |
An error message is shown but cmus continues to function without problems. Also you can disable MPRIS in cmus with You could consider removing
from the template so that this message doesn't show up but this disables the MPRIS feature for everyone else. Another fix would be to patch the default setting for |
I ran into this bug as well when switching over to Artix Linux. Using Arch with systemd worked fine and a session bus was started automatically. When using s6 and runit, a session bus is not created automatically. I opted to disable MPRIS with the |
In my case I was starting x session via |
@ap4y the script can probably be improved a bit, but idk how it interacts with people who have their own setup for starting a bus. Maybe we can create a |
Issues become stale 90 days after last activity and are closed 14 days after that. If this issue is still relevant bump it or assign it. |
Installing and running
cmus
from the console results in an error message: "an error occured while initializing MPRIS". This line of the cmus source suggests thatcmus
requires the presence of a session bus (cf. the documentation forsd_bus_default_user
), and indeed, runningdbus-launch /bin/cmus
results in no error being reported on startup.How should this be addressed? Should the
cmus
package be modified, or should upstream not be assuming the presence of a session bus?The text was updated successfully, but these errors were encountered: