I have MBA(2016) and I fully installed Ubuntu 16.04.1 on it. I used to change brightness with my function keys. Suddenly it doesn't work now. The thing is that my keys are working, Ubuntu shows me that I dim my brightness but it doesn't change the brightness.(my backlight keys and functions are working)
$ ls -a /sys/class/backlight . .. acpi_video0 intel_backlight 51 Answer
Try to change the file brightness in both directories (interfaces) acpi_video0 and intel_backlight via the following command:
sudo bash -c "echo 5 > /sys/class/backlight/xxx/brightness;" If one of the changes affects your backlight create (if not exists) /etc/X11/xorg.conf or better /usr/share/X11/xorg.conf.d/20-intel.conf and add the following lines where "xxx" belongs to your interface:
Section "Device" Identifier "Card0" Driver "intel" Option "Backlight" "xxx" EndSection Restart your computer and see if works now. You can read also here.
1