4

Is it possible to assign mouse keys (left click 1, middle click 2, right click 3, etc) to keyboard keys by modifying a file in /etc/X11/xorg.conf.d? If so, how can I do that?

6

I had thought someone told me or I heard somewhere that xorg by default supports keyboard driven mouse emulation out of the box. The movement, etc. is bound to the numpad keys. This article I dug up quick seems to indicate I have heard correctly. No direct experience, so this may be incorrect.

See http://en.linuxreviews.org/HOWTO_use_the_numeric_keyboard_keys_as_mouse_in_XOrg

| improve this answer | |
  • 4
    For completeness that's shift+num lock to toggle keypad-as-mouse mode. Works in Debian for me. – donothingsuccessfully May 31 '12 at 19:58
  • @donothingsuccessfully thanks for the great input. – Tim May 31 '12 at 20:30

Your Answer

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

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