I wrote this to control the brightness of an external lcd - monitor from my notebook. It is just a wrapper to control ddcci-tool from the taskbar with a popup- Slider. Basically, it does:
ddcci-tool -r 0x10 -w brightness_in_% /dev/i2c-1
OR
xrandr --output VGA1 --brightness [0-1]
You should change "/dev/i2c-1" to your device.
Language : Javascript
Version: still alpha
from https://github.com/ddccontrol/ddccontrol
sudo apt install ddccontrol gddccontrol ddccontrol-db i2c-tools
download ddci-tool http://jaffar.cs.msu.su/oleg/ddcci/
- the fedory binary worked for me in mint 16 cinnamon edition http://jaffar.cs.msu.su/oleg/ddcci/ddcci-tool
- install the tool in a reachable path, i.e, /usr/bin
- do
modprobe i2c-dev
or add i2c-dev to /etc/modules to make it permanent - give your user rw - access to the i2c -dev by adding them to the group i2c:
usermod -Ga i2c YourUsername
- using the "newer" sourceforge version, named
ddccontrol
, rather than ddcci-tool
- I had to apt some libraries
- when running
make
I had some trouble with missing Math refs.: add flag-lm
(links math-functions) to the gcc compiler options (If you don't know, what that means, give up ;D ) http://stackoverflow.com/questions/1033898/why-do-you-have-to-link-the-math-library-in-c
set LD_LIBRARY_PATH environment variable : export LD_LIBRARY_PATH="/usr/local/lib
- this will be the default fallback, if no ddc/ci - control - shell tool is detected
plz. take a look athe issues https://github.com/martin-mueller/screenbrightness/issues?labels=question&state=open
~/.config/monitors.xml
- https://github.com/lordamit/Brightness/ : Gnome Brightness Controller (Python), requires Package python-pyside, https://dl.dropboxusercontent.com/u/84627545/brightness_1.0.1_all.deb