I am running Kubuntu 14.04 on a 32-bit system and I'm trying to install ddccontrol so I can change my monitor brightness without touching the monitor in a GUI. I understand I need to install the CLI version first to get the GUI version (gddccontrol) as is my goal. I have found multiple packages on GitHub and Launchpad and have tried all that I can find. Most of the .deb packages I’ve ran with package installer have an error of Cannot satisfy dependencies. When I try the instructions on GitHub along with other suggestions like sudo apt-get or apt install, I get the error "E: unable to locate package" and then the name of the package I'm trying to install. Recently I got an error of no installation candidate.
I think that we can get sources of
ddccontrol package from Xenial and build it on Trusty.
Usually this method is not recommended, but I do not imagine other effective method.
We will build deb-packages with debuild.
Execute the following commands:
# update package lists and install all needed build dependencies sudo apt-get update sudo apt-get install -y build-essential dpkg-dev libxml2-dev \ libpci-dev libgtk2.0-dev devscripts autotools-dev \ intltool xsltproc tidy gksu libgksu2-0 libgtop2-7 libgtop2-common # add universe source from xenial echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial universe" | \ sudo tee /etc/apt/sources.list.d/xenial.list sudo apt-get update # create directory and get source package of ddccontrol from xenial mkdir ddccontrol-xenial cd ddccontrol-xenial apt-get source ddccontrol # go to ddccontrol-0.4.2 directory, compile and build deb-packages cd ddccontrol-0.4.2 debuild -i -us -uc -b # get ddccontrol-db from xenial and install it manually wget http://mirrors.kernel.org/ubuntu/pool/universe/d/ddccontrol-db/ddccontrol-db_20061014-4_all.deb sudo dpkg -i ddccontrol-db_20061014-4_all.deb # install all sudo dpkg -i ../*ddc*.deb # remove universe source from xenial sudo rm /etc/apt/sources.list.d/xenial.list sudo apt-get update
I found real machine with Ubuntu 14.04 LTS.
It is needed to load
i2c-dev kernel module:
sudo modprobe i2c-dev
sudo ddccontrol -p from terminal or
gddccontrol from menu.