/iblu

Intel black light utility allows you to have control over the screen brightness, via command line interface. With an AUR package.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Intel Black Light Utility

iblu_logo

Written in python, allows you to control the screen brightness (iX processors family), via command line interface.

Installation

Arch linux

For archlinux users there's an AUR package.

Other

Download the script

$ git clone https://git.eigenlab.org/sbiego/iblu

Make it executable and copy it /usr/bin

$ chmod +x iblu/iblu.py
$ sudo cp iblu/iblu.py /usr/bin/iblu

Create the unit file (permissions of the brightness file in '/sys/')

# create unit file
$ iblu UNIT > /usr/lib/systemd/system/iblu.service

# autorun at BOOT
$ sudo systemctl enable iblu.service

Done!

If you dont want to reboot to use iblu start the service right now:

$ sudo systemctl start iblu.service

Usage

  • 0-100 sets backlight to the given percentage
  • i (inc) increases backlight by a step, optionally add a number to custom percentage (default is 3%)
  • d (dec) decreases backlight, optionally add a number to custom percentage (default is 3%)
  • c (curr) shows the current
  • v shows verbose output
  • V shows very verbose output (for debug)
  • OFF turns off backlight (use with a grain of salt)
  • UNIT prompts in terminal the Systemd unit raw text (better using with I/O redirecting)

Examples

iblu i30	#increases of 30% the current backlight (30 is optional)