Skip to content

Does not work in non-cosmic desktops #99

@Kommynct

Description

@Kommynct

Would be nice if it was desktop agnostic, when launched in hyprland it says:

2025-04-28T20:49:17Z ERROR cosmic_settings_subscriptions::upower::kbdbacklight] Error listening to KbdBacklight: org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable

thread 'tokio-runtime-worker' panicked at src/subscriptions/polkit_agent.rs:23:66:
called `Result::unwrap()` on an `Err` value: MethodError(OwnedErrorName("org.freedesktop.PolicyKit1.Error.Failed"), Some("An authentication agent already exists for the given subject"), Msg { type: Error, serial: 16, sender: UniqueName(":1.253"), reply-serial: 32, body: Signature("s"), fds: [] })
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1]    204107 abort (core dumped)  cosmic-osd

RUST_BACKTRACE=1 cosmic-osd
[2025-04-28T20:52:43Z ERROR cosmic_settings_subscriptions::upower::kbdbacklight] Error listening to KbdBacklight: org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable

thread 'tokio-runtime-worker' panicked at src/subscriptions/polkit_agent.rs:23:66:
called `Result::unwrap()` on an `Err` value: MethodError(OwnedErrorName("org.freedesktop.PolicyKit1.Error.Failed"), Some("An authentication agent already exists for the given subject"), Msg { type: Error, serial: 19, sender: UniqueName(":1.253"), reply-serial: 32, body: Signature("s"), fds: [] })
stack backtrace:
   0: rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::result::unwrap_failed
   3: cosmic_osd::subscriptions::polkit_agent::subscription::{{closure}}::{{closure}}
   4: tokio::runtime::task::raw::poll
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
[1]    204495 abort (core dumped)  RUST_BACKTRACE=1 cosmic-osd

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions