Make script for changing backlight using xbacklight on VAIO laptop
Binary package hint: acpi-support
I have Sony Vaio laptop version VGN-FZ210C. It comes with Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller, also called X3100 on selling materials. Ubuntu has several way to control brighness, but most are ACPI or some laptop-specific driver based. Several Vaios have ACPI driven support. But mine does not. I believe every computer with X3100 is able to control brighntess using intel driver for that card. Using extension i can control backlight using xbacklight utility coming from xbacklight package (not in default ubuntu install).
I am able to map right fn key to right script, but there is none working. I believe it could be reused for other laptops with intel X3100 graphics as well, so it wont work only with sony.
Problem with xbacklight is that it needs access to X DISPLAY, as it does it via X11 extension. If ubuntu could configure mapping some global keys to userspace and it had prepared mappings for right keys, it might be possible to map it like XF86Play keys are in metacity. So metacity does not have such mapping in their hotkeys setup also. So, if it is doable, make also xbacklight working from acpi events.
It would be nice if sonybright.sh checked existence of files it is using.
It does read or write file /sys/class/
- Make script for changing backlight using xbacklight
+ Make script for changing backlight using xbacklight on VAIO laptop