Skip to main content

Nanoleaf screen mirroring for KDE Plasma on Linux.

Project description

Nanoleaf Screen Mirror for KDE

Public Nanoleaf USB screen mirroring app for KDE Plasma 6 on Linux (Arch / CachyOS and other distros via source install).

Mirrors your display edge colors to supported Nanoleaf USB strips in real time, with a tray app, setup wizard, calibration, and diagnostics.

What you need

  • Linux with KDE Plasma 6 (Wayland recommended)
  • A supported Nanoleaf USB strip: NL82K1 (0x37fa:0x8201) or NL82K2 (0x37fa:0x8202)
  • USB permissions via udev (see Hardware setup)

Install (Arch / CachyOS)

When published on AUR:

paru -S --needed python-dacite nanoleaf-kde-sync
paru -Syu

Until AUR account is available — local build from this repo:

paru -S --needed python-dacite
./scripts/build_arch_package.sh

Install udev rules after package install:

./scripts/setup_udev.sh

Quick start

nanoleaf-kde-sync-init-config
nanoleaf-kde-sync-doctor
nanoleaf-kde-sync-smoke-test
nanoleaf-kde-sync

Service-only mode:

nanoleaf-kde-sync-service

Core commands

  • nanoleaf-kde-sync — tray app (recommended)
  • nanoleaf-kde-sync-service — headless runtime service
  • nanoleaf-kde-sync-init-config — generate default config
  • nanoleaf-kde-sync-doctor — environment/device diagnostics
  • nanoleaf-kde-sync-smoke-test — quick functional sanity check
  • nanoleaf-kde-sync-autostart — manage KDE autostart integration
  • nanoleaf-kde-sync-reset — reset config/calibration/diagnostic cache safely

First-run setup

  1. Start the tray app (nanoleaf-kde-sync).
  2. Complete the setup wizard.
  3. Keep manual strip zone count set to your real hardware value.
  4. Run a calibration test pattern and assign TL/TR/BR/BL anchors.

Manual strip count is authoritative for runtime, mapping, and calibration. Device-reported count is diagnostics-only unless you explicitly apply a new value.

See the User guide for a full walkthrough.

HDR / SDR notes

  • Display preset = SDR: SDR-safe defaults.
  • Display preset = HDR: HDR-first defaults.
  • Display preset = Auto: follows compositor capability.

On Plasma HDR desktops, verify SDR white reference and compositor HDR settings in app diagnostics before tuning brightness.

Fresh install / reinstall / uninstall helpers

Pacman-managed reinstall from a local checkout:

./scripts/reinstall_local.sh
./scripts/uninstall_local.sh
# optional full purge:
./scripts/uninstall_local.sh --purge-config

See Arch / AUR packaging for maintainer and AUR publish steps.

Reset commands

nanoleaf-kde-sync-reset app-config --stop-runtime
nanoleaf-kde-sync-reset calibration --stop-runtime
nanoleaf-kde-sync-reset diagnostics --stop-runtime

Documentation

Installed packages also ship docs under /usr/share/doc/nanoleaf-kde-sync/.

Release gate

Run ./scripts/release_gate.sh before tagging a release. CI must be green on main.

Developer setup

python -m venv .venv
source .venv/bin/activate
pip install -e .[test]
pre-commit install
pre-commit run --all-files

Supported environment

  • Linux
  • KDE Plasma 6 (Wayland recommended)
  • Supported Nanoleaf USB strips: NL82K1 (0x37fa:0x8201), NL82K2 (0x37fa:0x8202)

Known limitations

  • Single-monitor flow only (no multi-monitor support).
  • Device strip count auto-detection is diagnostics-only; not auto-applied.
  • Desktop-entry launch context is still preferred for reliable KWin authorization.

License

Source-available non-commercial license — see LICENSE. Redistribution terms apply; read before packaging or mirroring.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nanoleaf_kde_sync-1.9.3.tar.gz (469.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nanoleaf_kde_sync-1.9.3-py3-none-any.whl (355.4 kB view details)

Uploaded Python 3

File details

Details for the file nanoleaf_kde_sync-1.9.3.tar.gz.

File metadata

  • Download URL: nanoleaf_kde_sync-1.9.3.tar.gz
  • Upload date:
  • Size: 469.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for nanoleaf_kde_sync-1.9.3.tar.gz
Algorithm Hash digest
SHA256 826a0cd7e4dafbf00aa01d6587ae3e49381417fa7e12c50edf3e67d5f52fd5bf
MD5 6cc7870213f7baf32bcfa19e0395cf9b
BLAKE2b-256 edde33502b20c1ceead37db6241aae639da6579267185db44ebc504430cc9f35

See more details on using hashes here.

Provenance

The following attestation bundles were made for nanoleaf_kde_sync-1.9.3.tar.gz:

Publisher: release.yml on SpinGiantCRM/Nanoleaf-Screen-Mirror-for-KDE

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nanoleaf_kde_sync-1.9.3-py3-none-any.whl.

File metadata

File hashes

Hashes for nanoleaf_kde_sync-1.9.3-py3-none-any.whl
Algorithm Hash digest
SHA256 eeba8c3dd0c09d46f445021afdcc2b01c3d7aec94d17968c90168f1731a87cca
MD5 64d25641f45411ed328ffdfcb6eb2f1e
BLAKE2b-256 73323e4be17b69b818cec975ab406ee19d85ef68a3c91c0bc1bc423c50154380

See more details on using hashes here.

Provenance

The following attestation bundles were made for nanoleaf_kde_sync-1.9.3-py3-none-any.whl:

Publisher: release.yml on SpinGiantCRM/Nanoleaf-Screen-Mirror-for-KDE

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page