Quick Start
This guide walks you through basic UChroma usage. Make sure you've completed installation first.
Start the Daemon
The daemon must be running for any commands to work:
uchromadLeave it running in a terminal, or use systemd for background operation.
List Devices
uchroma devicesOutput:
[0]: Razer BlackWidow V3 (PM2142XXXXXX / v1.03)The number in brackets is the device index. Use it to target specific devices with -d 0.
Set Brightness
Query current brightness:
uchroma brightnessRazer BlackWidow V3: 100%Set brightness (0-100):
uchroma brightness 80Razer BlackWidow V3 brightness set to 80%Hardware Effects
List available effects:
uchroma fx listApply an effect:
uchroma fx waveEffect: waveEffects with parameters:
uchroma fx static --color red
uchroma fx reactive --color skyblue --speed 2
uchroma fx breathe --colors "purple,cyan"
uchroma fx starlight --colors "gold,white" --speed 3Turn off all effects:
uchroma fx disableCustom Animations
Custom animations use software renderers that draw frames and send them to the device. You can stack multiple layers with blend modes.
List Renderers
uchroma anim listAvailable renderers and arguments:
plasma │ Colorful moving blobs of plasma
────────────────┼─────────────────────────────────
author│ Stefanie Jane
version│ v1.0
────────────────┼─────────────────────────────────
color_scheme│ colors: default: ['#ff00ff', '#00ffff', ...]
gradient_length│ int: min: 0, default: 360
rainbow │ Flowing rainbow gradient
...Add a Layer
uchroma anim add plasmaCreated layer 0: PlasmaAdd more layers:
uchroma anim add rainbowCreated layer 1: RainbowView Active Layers
uchroma anim show Active Layers (2)
[0] Plasma
Colorful moving blobs of plasma
│ blend_mode: normal · opacity: 1.0
[1] Rainbow
Flowing rainbow gradient
│ blend_mode: normal · opacity: 1.0Modify a Layer
Change parameters on an active layer:
uchroma anim set 0 --gradient-length 180Updated layer 0Remove a Layer
uchroma anim rm 1Removed layer 1Pause/Resume
uchroma anim pauseAnimation pausedRun again to resume.
Stop All
uchroma anim stopAnimation stoppedProfiles
Save your current setup for later:
uchroma profile save gamingSaved profile: gaming
~/.config/uchroma/profiles/gaming.jsonList saved profiles:
uchroma profile listLoad a profile:
uchroma profile load gamingMultiple Devices
Target a specific device by index:
uchroma -d 0 brightness 100
uchroma -d 1 fx spectrumOr by name (partial match):
uchroma -d blackwidow fx wave
uchroma -d deathadder brightness 50Launch the GTK App
For a visual interface:
uchroma-gtkOr via make:
make gtkSee GTK App Guide for details.
Debug Output
For troubleshooting, dump full device info:
uchroma dumpEnable debug logging:
UCHROMA_LOG_LEVEL=DEBUG uchromadCommand Reference
| Command | Description |
|---|---|
uchroma devices | List connected devices |
uchroma brightness [VALUE] | Get/set brightness |
uchroma fx <effect> | Apply hardware effect |
uchroma fx list | List available effects |
uchroma anim add <renderer> | Add animation layer |
uchroma anim show | Show active layers |
uchroma anim set <N> [OPTIONS] | Modify layer N |
uchroma anim rm <N> | Remove layer N |
uchroma anim pause | Toggle pause |
uchroma anim stop | Stop all animations |
uchroma profile save <name> | Save current state |
uchroma profile load <name> | Restore saved state |
uchroma dump | Full device dump |
All commands support -d <device> to target specific devices.
Next Steps
- GTK App Guide — Visual interface walkthrough
- Configuration — Preferences and environment variables
- Troubleshooting — Common issues