lian-linux

Crates.iolian-linux
lib.rslian-linux
version0.2.0
created_at2025-07-10 17:55:44.955065+00
updated_at2025-07-12 18:50:22.641728+00
descriptionAn app to control Lian Li lights in Linux
homepage
repositoryhttps://github.com/korupi/lianlinux.git
max_upload_size
id1746857
size54,926
(w1ltshire)

documentation

README

lianlinux

An app to control Lian Li Hub lights on Linux

[!WARNING] This project is a Work in Process, so expect bugs, etc. I'm working on fixing any bugs and extending functionality of lianlinux.

[!IMPORTANT]
I only have LianLi-UNI FAN-SL-v1.8 hub, so I can't support other devices. Contributions are welcome!

About

LianLinux is an app written in Rust to control Lian Li hub RGB light on Linux.

Installation

Please note that at the moment there's no config system, so unless it's implemented you have to set the colors manually.

cargo install lian-linux

Then, create a file in /etc/udev/rules.d/ called 51-lianlinux.rules with the following content to allow the daemon to access the device:

SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0cf2", ATTRS{idProduct}=="a100", MODE="0666", GROUP="plugdev"

Usage

Run the daemon:

lian-linux daemon

Manipulate your controller's lights:

lian-linux light <MODE> [HEX COLOR]

Example:

Static mode with red color (FF0000):

lian-linux light static FF0000

Runway mode with red and blue colors (FF0000, 0000FF):

lian-linux light runway FF0000,0000FF

Possible modes

  • static - requires one HEX color
  • breathing - requires one HEX color
  • rainbow
  • morph
  • runway - requires two HEX colors

Roadmap

  • Basic working version
  • Configs
  • Support all modes

cargo fmt