• ElectroLisa@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    8
    ·
    3 hours ago

    You can configure Keychron peripherals via their website - Keychron Launcher.

    It works on Linux, but there are two caveats:

    1. Requires Chromium web browser. I’ve tested it with Ungoogled Chromium and it worked fine.
    2. In some Linux distributions you will have to set up udev rules, to allow access to USB devices

    I’ve tested it with my Keychain K3 keyboard and M4 mouse and it works.

    I agree a compatibility with ex. Piper would be neat though

    • pastaq@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      13 minutes ago

      Be careful with this. These udev rules usually grant uaccess to your entire keyboard. uaccess is explicitly disabled for keyboards by default because it presents the event device to all of userspace, which allows any unprivileged app to log all key presses. This includes any malicious scripts running in a browser. If you do want to set up these rules, use them only for the single session you’re setting up your device and don’t type any passwords with it active, or change them immediately after (you won’t be able to remove them without your sudo password).

      For the same reason, stop using OpenRGB for devices that don’t have kernel drivers.