-
Notifications
You must be signed in to change notification settings - Fork 2
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
DBus-Error UnknownInterface on Manjaro Linux #4
Comments
Hi @StT191 , thanks for your report! Is the library working for you on KDE? It is hard for me to test this on Linux KDE as I'm using a M1 MacBook to compile and run everything. I used the Chromium source code as inspiration. But it seems there are some issues with Chromium screen locks and KDE as well. Can you check if the D-Bus interface is actually there for your desktop? I found some issues that might be related: |
Hi @pevers, All the tests from the I also recorded the dbus-monitor log during the test-run. It might help with debugging:
|
Hi @StT191 , that's very helpful! I think I've spotted the mistake: DBusAPI::FreeDesktopPowerApi => dbus::Message::call_with_args(
"org.freedesktop.PowerManagement",
"/org/freedesktop/PowerManagement/Inhibit",
"org.freedesktop.PowerManagment.Inhibit",
"UnInhibit",
(handle,),
), PowerManagment , doh . Took me a while to find the mistake haha. Thank you so much for your report and I'll file a PR to fix it. |
Hi @StT191 , I published a new version of the crate that should fix this. Thanks again for reporting this. |
Running
cargo test
fails on my machine:OS: Manjaro Linux 22.0.0 x86_64
Kernel: 6.0.2-2-MANJARO
Desktop: KDE Plasma 5.25.5
I get the following output:
The text was updated successfully, but these errors were encountered: