Git Product home page Git Product logo

ddccontrol's Introduction

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: sudo dnf install ddccontrol ddccontrol-gtk
  • on openSUSE: sudo zypper in ddccontrol

Installation from sources

Install build dependencies:

  • on Ubuntu: sudo apt install intltool i2c-tools libxml2-dev libpci-dev libgtk2.0-dev liblzma-dev
  • on others: TODO

Clone, build and install built version:

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

Monitor database is required for proper functionality. See for ddccontrol-db installation.

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.

ddccontrol's People

Contributors

anarcat avatar barak avatar benizi avatar code7r avatar eagleivg avatar ericek111 avatar gluttton avatar henryhu avatar hugochinchilla avatar kravemir avatar larstobi avatar mazepone avatar ondrejbudai avatar parke avatar rombert avatar stanislav-brabec avatar vapier avatar vitalyvb avatar viy2 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.