This evening I want to share with you this little script that I wrote for my personal use.
This script need the module “smartdimmer” (Change LCD brightness on Geforce cards), you can found it on the Ubuntu repository, than it’s enough to write on console
$ sudo apt-get smartdimmer
For test if the module works just try to set a new brightness value by typing
$ smartdimmer -s 50
If the module works for your laptop you can use the following script for change brightness directly from your keyboard.