Sony laptop backlight at Startup

Asked by Randy Mentor

When I boot, the backlight works initially during the boot process, that is until we enter Ubuntu. Then there is no backlight.

I found this script which when I do run in terminal, fixes the issue till I boot again. Then I have to run the script again. It requires my password to run. I was hoping to have it as a startup application, but that doesn't work (probably because p/w is required?)

Here's the script:

echo 1 | sudo tee /sys/devices/platform/sony-laptop/kbd_backlight

How do I make it run at startup?

merci

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu acpi Edit question
Assignee:
No assignee Edit question
Solved by:
marcobra (Marco Braida)
Solved:
Last query:
Last reply:
Revision history for this message
Best marcobra (Marco Braida) (marcobra) said :
#1

Try to put the row into

gksudo gedit /etc/rc.local

file before the exit 0 row

Revision history for this message
Randy Mentor (randy-mentor) said :
#2

Thanks marcobra (Marco Braida), that solved my question.