Skip to content

Getting Started

Federico edited this page Nov 25, 2018 · 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.

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)
  • cmake >= 3.5
  • gcc or clang
  • pkg-config
  • polkit (it is used at compile time only to know if Clightd must have a dep on polkitd.service or polkit.service)

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 idle time support:

  • libxss (X11/extensions/scrnsaver.h)
  • libx11 (X11/Xlib.h)

Needed only if built with ddcutil support:

  • ddcutil >= 0.9.0 (ddcutil_c_api.h)

Runtime deps:

  • shared objects from build libraries
  • polkit

Clone this wiki locally