My laptop is SAMSUNG X360 and main system Ubuntu 8.10.
I have found that brightness adjustment buttons not work, more over gnome panel -> brightness adjustment too. After few hours I repaired it and wrote short tutorial, may someone find right name of brightness arrow short-cuts (FN + Up/Down Arrow), because I have to use alternative combination ShitKey (WinKey) + Arrow. This tutorial set right parameters for native console (ex. tty1-9), running by Ctrl+Alt+(F1-9) - they not work properly before (not work at all...). So let's go:
Update for Ubuntu 10.04 users by Joe Fleming
Seems KMS is enabled by default for a certain chipset, specifically the Intel i915 chipset. I found out that KMS (Kernel Modesetting) disable BACKLIGHT_CONTROL parameter, so we have to turn off that future:
sudo gedit /etc/default/grub
I. Set brightness control and change console display.
Add this command to System->Preferences->Sessions->> +Add (or System->Preferences->Startup Application->> +Add)
this command allow adjust LCD brightness by gnome brightness applet, and set about 40% brightnes default (180 set to 70%). Parts "--output VGA --auto" set graphic mode for console - check it by press Ctrl+Alt+(F1-9)
xrandr --output LVDS --set BACKLIGHT 102 --set BACKLIGHT_CONTROL legacy --output VGA --auto
Check actual parameters, all changes should be list:
II. Look for right keycode to set.
This will only output pressed keycode and currently assigned keysym, for example:
xev | grep -A2 --line-buffered '^KeyRelease' | sed -n '/keycode /s/^.*keycode \([0-9]*\).* (.*, \(.*\)).*$/\1 \2/p'
III. Set short-cuts and right command to change brightness.
check if you can change backlight from console (command repeated few times should take visible effect):
sudo apt-get install xbacklight
xbacklight -inc 10
xbacklight -dec 10
after test, type in terminal:
A config editor window will open. Browse to apps -> metacity ->> global keybindings
Here you'll see "run_command_#" text boxes. Type the short-cut in the value box, if you still don't know right short-cuts try alternative <Super>Up / <Super>Down which cause change on press WindowsKey and Arrow Up/Down.
To set the commands, browse to keybindings_command and type the command ("xbacklight -inc 10" or "xbacklight -dec 10", remember to leave apostrophes). All hacks will work if you have desktop effects disabled. If you have compiz enabled then you have to install ccsm package to edit short-cuts.