Thanks for the script. Getting the level is no problem, but turning down returned:
---
sg@sg-vaio:~$ ~/Desktop/Brightness_test.sh down
your current brightness level is : 21
Error org.freedesktop.Hal.Device.LaptopPanel.Invalid: /usr/lib/hal/scripts/hal-system-lcd-set-brightness: 29: arith: syntax error: "HAL_PROP_LAPTOP_PANEL_NUM_LEVELS - 1"
your new brighness level is :20
---
I also tried with sudo, I don't know if this it's necessary for that. The return is the same at all.
Thanks for the script. Getting the level is no problem, but turning down returned:
--- Brightness_ test.sh down .Hal.Device. LaptopPanel. Invalid: /usr/lib/ hal/scripts/ hal-system- lcd-set- brightness: 29: arith: syntax error: "HAL_PROP_ LAPTOP_ PANEL_NUM_ LEVELS - 1"
sg@sg-vaio:~$ ~/Desktop/
your current brightness level is : 21
Error org.freedesktop
your new brighness level is :20
---
I also tried with sudo, I don't know if this it's necessary for that. The return is the same at all.