Currently my Sony Vaio doesn't let Xubuntu work with its Fn+F5/F6 brightness hotkeys. So I am using a manual script to change brightness every time I log in. It is:

echo 700 | sudo tee /sys/class/backlight/intel_backlight/brightness

However, pages 2 and 3 of this thread has someone concocting an automated script to change brightness automatically.

Would someone be kind enough to read that thing and post a good solution here?

  • Are you having a problem with those instructions? If so, which specific part? – user55325 Dec 22 '12 at 7:59
  • @user55325 How to edit the rclocalhost file? Then how to make Xubuntu/grub run my script at startup? And why is the user TOZ in that thread creating a background process? I just need a answer to make the brightness change script permanent. – Spandan Chatterjee Dec 22 '12 at 8:08
  • If that's all you want to do, you could just add that script to your session startup preferences in Xfce. That would run it automatically when you log in. Alternately, you could add it on system startup either using rc.local, or possibly .xsessionrc. – user55325 Dec 22 '12 at 8:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.