Ruby daemon script for automatic monitor brightness adjustment on imac and macbooks under Linux
Ruby daemon script for automatic monitor brightness adjustment on imac and macbooks under Linux.
Tested under Ubuntu 15.10 with Gnome 3.18
This script will work for you too if you have two files in you system
sudo ./autolight.rb
sudo kill $(cat /tmp/autolight.pid)
I used the following code to create this script
@penguin2716 gist
mba_autobl.rb https://gist.github.com/penguin2716/a0f48e4b3c14009c46ed
@sbusso simple daemon gist
simple_ruby_daemon.rb https://gist.github.com/sbusso/1978385
Enjoy!