Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save klingtnet/0ef02f099287485c01a0b004c1e7d91d to your computer and use it in GitHub Desktop.
Save klingtnet/0ef02f099287485c01a0b004c1e7d91d to your computer and use it in GitHub Desktop.
Control monitor/display brightness from terminal or GUI in Linux

The following commands assume that Arch Linux is installed, they should be applicable to any systemd based distro whatsoever.

# install ddccontrol or gddccontrol if you wish a GUI
$ pacman -S ddccontrol
# insert the required kernel module
$ modprobe i2c-dev
# make sure that the i2c-dev kernel module is inserted automatically on boot
$ cat <<HEREDOC> /etc/modules-load.d/i2c-dev.conf 
# Load i2c-dev module for ddccontrol
i2c-dev
HEREDOC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment