Luch on Linux
Luch builds from source on any distribution that has VA-API, PipeWire and Avahi. The installer in the repository does everything itself.
Soon A Luch package in Sisyphus (ALT Linux). Meanwhile you can install a ready RPM: how.
ALT Linux: a ready RPM
The luch package is already built on the project's server. Download the RPM from the package page and install it locally. When the package appears in Sisyphus, it will install with the usual apt-get install luch.
sudo apt-get install ./luch-*.rpmInstallation
git clone https://altlinux.space/Luch/luch-linux && cd luch-linux
./install.shinstall.sh builds and installs luchd, luchctl and luch-kms into ~/.cargo/bin, gives luch-kms the CAP_SYS_ADMIN capability (it asks for sudo), installs and starts the luchd user service and the GNOME extension. Log out and back in once so that GNOME Shell picks up the extension.
Rust 1.80 or newer is needed. The build dependencies and the GStreamer runtime modules for Ubuntu, Fedora, Arch and ALT are listed in the project README.
Why CAP_SYS_ADMIN: the kernel gives other programs' frame buffers only to privileged processes. Only the small luch-kms gets the capability, and luchd runs without privileges. Without it the modes through the portal remain.
How to use it
GNOME
Quick Settings, the "Luch" toggle. A press shows the whole screen in fast mode to the last or the only receiver, the arrow opens the list of modes. During a show the toggle shows the delay estimate.
Terminal
luchctl opens an interactive screen. Commands: list, mirror, stats, stop.
Your own shell
Everything is available over D-Bus: see the page for developers.
luchctl list
luchctl mirror # fast mode to the only receiver
luchctl mirror "XGIMI MoGo 4 Laser" window # or monitor, window, virtual
luchctl stats # delay, frames per second, bitrate
luchctl stopThe GNOME extension at work: the "Luch" toggle in Quick Settings shows the laptop screen on a projector.
ALT Atomic
ALT Atomic has a Luch package, so it installs like an ordinary application. In ALT Atomic Niri Luch comes out of the box: there is nothing to install, just open the receiver app and the device appears in the list.
In Atomic Niri Luch is built into the Niti panel: a widget with the receivers, the mode and the size, a page in Quick Settings and a page in Tuner, where the choice is remembered for each receiver. More: the "Luch" page in the Atomic Niri documentation (in Russian).