Skip to content

Getting Started

Federico edited this page May 24, 2019 · 21 revisions

Clightd is a bus interface that lets you easily set screen brightness, gamma temperature and get ambient brightness through webcam frames capture.
Als sensors are supported too.

Naming

Clightd naming is explained in Clight wiki.
Note that it uses "d" suffix because it was born as Clight's backend daemon.
As of today, it is a generic DBus interface that is in no way uniquely linked to Clight.

Build deps

  • libsystemd >= 221 (systemd/sd-bus.h) or elogind (elogind/sd-bus.h)
  • libudev or libeudev (libudev.h)
  • libmodule >= 3.1.0 (module/module_easy.h, module/modules_easy.h, module/map.h)
  • polkit-gobject-1
  • cmake >= 3.5
  • gcc or clang
  • pkg-config

Needed only if built with gamma support:

  • libxrandr (X11/extensions/Xrandr.h)
  • libx11 (X11/Xlib.h)

Needed only if built with dpms support:

  • libxext (X11/extensions/Xext.h)
  • libx11 (X11/Xlib.h)

Needed only if built with ddcutil support:

  • ddcutil >= 0.9.5 (ddcutil_c_api.h)

Runtime deps:

  • shared objects from build libraries
  • polkit

Clone this wiki locally