Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

I'm using ubuntu 11.10 on Thinkpad. Every time the system starts, I have to run the following scripts with 'sudo' to configure the device manually.

#setting trackpoint

#set speed
echo 255 > ${TrackpointDevicePath}speed

#set sensitivity
echo 255 > ${TrackpointDevicePath}sensitivity

#adust screen brightness
echo 0 > /sys/class/backlight/acpi_video0/brightness

#disable touchpad
synclient TouchpadOff=1

I tried to put these commands in /etc/rc.local. But it didn't work because it needs root to run the commands. Anyone can help me to run the privileged commands at system startup automatically? Or is there any convenient gui tool for device setting which can remember the settings?

share|improve this question

You should use /etc/sysctl.conf instead.

(Or /etc/sysctl.d/ directory to put config files there)

But you should slightly change the syntax of your configuration.

share|improve this answer
If you need detailed instructions, please, let me know. – PocketSam Nov 6 '11 at 17:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.