Under 11.04, the option to control the pointer with the numpad was set in the Hardware/Keyboard settings page.

How can I turn on mousekeys or configure them in newer releases?


In 11.10 and above you go to System Settings in the Power cog menu and select Universal Access.

enter image description here

Under the Pointing and clicking tab you will see a slider that lets you turn Mouse Keys on and off. The label says: Control the pointer using the keypad.

enter image description here


grahammechanical's answer is good, but I want to talk about some extra features as I've dreamed to be a "keyboard geek" which turned out to be too extreme:

1.Killing mice, one at a time(replace mouse keys)

xdotool - command-line X11 automation tool(+keyborad custom shortcuts)

xdotool click 3(context menu)
xdotool click 2(middle)
xdotool click 1(left click)

2.replace mouse movement(use keyboard to move mouse pointer more accurate - need the support of "universal access -> Mouse Keys")

xkbset - user preference utility for XKB extensions for X

ma - mousekeysaccel

-xkbset ma 60 10 10 5 2
xkbset ma 60 10 10 20 10