I say it also on: https://bugs.launchpad.net/ubuntu/+source/hotkey-setup/+bug/277589/comments/30
If anyone can say me what files are needed for adjust the brightness with the fn-keys, I think that I know how correct it.
I was watching the files and do this:
In /usr/share/hal/fdi/information/10freedesktop/10-sony-laptop-panel-mgmt-policy.fdi And I add my model
In /usr/lib/hal/scripts/hal-system-lcd-get-brightness-linux I change vaio-nvidia for this, smartdimmer don't work with sony-nvidia: elif [ "$HAL_PROP_LAPTOP_PANEL_ACCESS_METHOD" = "sony-nvidia" ]; then # smartdimmer -g # value=$(( `smartdimmer -g | awk '{print $3;}'` -1 )) value=$((`sudo nvclock -i | awk '/Backlight/ {print $3;}' | tr -d '%'` -10))
/usr/lib/hal/scripts/hal-system-lcd-set-brightness-linux I change vaio-nvidia for this, smartdimmer don't work with sony-nvidia: elif [ "$HAL_PROP_LAPTOP_PANEL_ACCESS_METHOD" = "sony-nvidia" ]; then # smartdimmer -s 21 # smartdimmer -s "$(( $value + 1 ))" # value=$((`sudo nvclock -i | awk '/Backlight/ {print $3;}' | tr -d '%'`)) nvclock -S "$((value + 10))"
What file need to edit also? I don't found the file for increase the blacklight :S
I say it also on: https:/ /bugs.launchpad .net/ubuntu/ +source/ hotkey- setup/+ bug/277589/ comments/ 30
If anyone can say me what files are needed for adjust the brightness with the fn-keys, I think that I know how correct it.
I was watching the files and do this:
In /usr/share/ hal/fdi/ information/ 10freedesktop/ 10-sony- laptop- panel-mgmt- policy. fdi
And I add my model
In /usr/lib/ hal/scripts/ hal-system- lcd-get- brightness- linux LAPTOP_ PANEL_ACCESS_ METHOD" = "sony-nvidia" ]; then
value= $((`sudo nvclock -i | awk '/Backlight/ {print $3;}' | tr -d '%'` -10))
I change vaio-nvidia for this, smartdimmer don't work with sony-nvidia:
elif [ "$HAL_PROP_
# smartdimmer -g
# value=$(( `smartdimmer -g | awk '{print $3;}'` -1 ))
/usr/lib/ hal/scripts/ hal-system- lcd-set- brightness- linux LAPTOP_ PANEL_ACCESS_ METHOD" = "sony-nvidia" ]; then
I change vaio-nvidia for this, smartdimmer don't work with sony-nvidia:
elif [ "$HAL_PROP_
# smartdimmer -s 21
# smartdimmer -s "$(( $value + 1 ))"
# value=$((`sudo nvclock -i | awk '/Backlight/ {print $3;}' | tr -d '%'`))
nvclock -S "$((value + 10))"
What file need to edit also? I don't found the file for increase the blacklight :S