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 have just updated to 12.04 and I am trying to assign two finger tap to my track pad. I know the code, just need to understand how to set it permanently because at the moment I need to input the code into the terminal every time I log on.

Here is the code and it works.

xinput set-int-prop 13 291 8 2 3 0 0 1 2 3

But how do I set this permanently?

share|improve this question

You can create a script and add it to your startup applications

  1. Create a new document (say mouseMod) somewhere (say in your Documents folder)

  2. Add the following lines to it:

    xinput set-int-prop 13 291 8 2 3 0 0 1 2 3

  3. Make it executable by opening a terminal and typing/running the following command:

    chmod +x ~/Documents/mouseMod

  4. Finally, add the file to your startup applications (I'm not sure where it is in 12.04, but in 11.10 I found it by searching for startup in the dash) by clicking add and browsing to/selecting the script (i.e. mouseMod).

share|improve this answer

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.