Skip to content

laloch/QMLddcutil

 
 

Repository files navigation

QMLddcutil

Simple app using the ddcutil lib

ddcutil allows you to set the settings of monitors without using the On Screen Display.

The first prerequisite is to be able to access your monitor using the comand line tool.

Setting up ddcutil (CLI)

#/etc/modules-load.d/ddc.conf
    i2c_dev

after reboot, lsmod should report i2c-dev.

  • create a udev rule setting ownership for /dev/i2c-* files to members of the i2c group.
#/etc/udev/rules.d/10-local_i2c_group.rules
    KERNEL=="i2c-[0-9]*", GROUP="i2c"
  • create the i2c group, and add yourself to the group.
# groupadd i2c
# gpasswd -a $(whoami) i2c
# udevadm control -R    #reload udev rules or simply reboot

ddcutil detect should now find your DDC/CI capable monitors.

QMLddcutil

The GUI tool is pretty much a toy/demo app. Please don't suppose it to be rock solid.

For now provided as a QtCreator project: open the .pro file, configure, run.

Things that need to be improved:

  • multi monitor support: several methods of the ddccontroller class do not make any use of the data stored for other monitors than the first one listed by ddcutil. <- should be present, needs testing Tested by @laloch
  • loading the app is somewhat slow: it would be nice to have the GUI popup to inform that work is beeing done by the ddccontroller instance in the back. busy indicator + detect moved to another thread by @laloch
  • many other settings from the monitor can be added to the GUI.

About

Simple app using the ddcutil lib

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 81.4%
  • QML 12.6%
  • QMake 6.0%