phosphor-service-brightness
Display and keyboard backlight brightness control.
Surfaces brightness-controllable backlights as Qt and QML types: display panels under /sys/class/backlight, keyboard backlights under /sys/class/leds, and external monitors over DDC/CI. Internal panels read from sysfs and write through logind's Session.SetBrightness, so no root or udev rule is needed, and writes are non-optimistic. A shell binds the device model to render a brightness slider or OSD. External-monitor support is a compile-time option via libddcutil on a worker thread.
Key types
BrightnessHostBrightnessDevicekind, brightness, percentage, and setters.BrightnessDeviceModelQAbstractListModel over the host's devices, tracking async add/remove.Dependencies
QtCoreQtQmlQtDBusphosphor-dbus
See also
References
- Full API reference → Doxygen-generated page for
PhosphorServiceBrightness. - Namespace index Every symbol under
PhosphorServiceBrightness::.