This fix appends acpi_osi=Linux acpi_backlight=vendor to the GRUB_CMDLINE_LINUX_DEFAULT= line in /etc/default/grub. Then runs update-grub.
The package is compatible with at least Linux Mint 13, 14, 15, 16, 17, Ubuntu 12.04, 12.10, 13.04, 13.10, 14.04, Trisquel 6, 6.01, 7, and Debian 7. It should also work on most of the distributions derived from any of these distributions.