Skip to content

Latest commit

 

History

History
91 lines (57 loc) · 2.34 KB

README.md

File metadata and controls

91 lines (57 loc) · 2.34 KB

Build Status

DDC/CI control

DDCcontrol is a software used to control monitor parameters, like brightness, contrast, RGB color levels and others.

DDCcontrol consists of:

  • ddccontrol - command-line tool for monitor parameters control
  • gddccontrol - GUI tool for monitor parameters control

Installation

The most convenient way to install DDCcontrol is to use packages from official distribution repositories.

Manual installation is more complicated, but contains latest version of software and more monitor profiles.

Installation from official packages

DDCcontrol tools, ddccontrol and gddccontrol can be installed from official distribution repositories with following command:

  • on Ubuntu: sudo apt install ddccontrol gddccontrol ddccontrol-db i2c-tools
  • on Fedora: TODO
  • on openSUSE: TODO

Installation from sources

Install build dependencies:

  • on Ubuntu: sudo apt install intltool i2c-tools
  • on others: TODO

Clone, build and install built version:

git clone https://github.com/ddccontrol/ddccontrol.git
cd ddccontrol
./autogen.sh
./configure --prefix=/usr/
make
sudo make install

Usage

From GUI using gddccontrol

gddccontrol is a graphical utility for monitor configuration. It is called Monitor Settings in list of applications.

Following configuration is needed to allow non-root user to use gddccontrol:

sudo adduser $USER i2c
sudo /bin/sh -c 'echo i2c-dev >> /etc/modules'

Utility can launched directly from commandline:

sudo gddccontrol

From command line using ddccontrol

ddccontrol allows monitor configuration directly from commandline. To probe I2C devices to find monitor buses use:

sudo ddccontrol -p

To read value of control 0x10 (brightness on VESA compliant monitors) for device dev:/dev/i2c-4:

sudo ddccontrol -r 0x10 dev:/dev/i2c-4

To set value of control 0x10 (brightness on VESA compliant monitors) to 75 for device dev:/dev/i2c-4:

sudo ddccontrol -r 0x10 -w 75 dev:/dev/i2c-4

See ddccontrol -h for more information.

License

The project is licensed under GNU General Public License v2.0 license. See COPYING for details.