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 don't use the mouse a lot so I just use the Mouse Keys (Microsoft's nomenclature) when I need to click something. The problem is I can never remember whether I am in left-click or right-click mode. Would it be possible, for example, to get it to revert to left-click modeafter every right-click or middle-click?

share|improve this question

You can set commands for mouse keys with ccsm.

Open a terminal. (Ctrl+Alt+T)

To install ccsm type:

sudo apt-get install compizconfig-settings-manager

Then type


to start ccsm.

Click on Commands and type in a command. Enable the commands plugin. Now click on Button bindings. There you can set your mouse buttons.

EDIT: Sorry I didn't read that you want to control your mouse with the keyboard :)

I hope this helped you, Daniel

share|improve this answer
Mouse Keys is a way of controling the pointer with the keyboard. It can be turned on in gnome-keyboard-properties – daithib8 Apr 10 '11 at 10:42
Why didn't you add that as an answer and accept it? That would be better, since others could then see that the problem was solved. – Jo-Erlend Schinstad Apr 3 '12 at 8:23

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.