Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
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

You must log in to answer this question.

Browse other questions tagged .