Jump to content

XD-03: How do I move the X pointer without using the mouse?


Recommended Posts

Browse: [About the FAQ Forum] [Table of Contents] [FAQs] [Contribute]

 

XD-03: How do I move the X pointer without using the mouse ?

 

It is possible to control the X pointer using numeric keypad controls. Here's how to do it:

 

0. Make sure your X server supports the keyboard extension. (Requires

X11R6.1 or higher.) xdpyinfo can tell you this; grep for XKEYBOARD.

 

1. Press Shift+NumLock to activate the mouse keys. (My system beeps when

this happens.) If Shift+NumLock doesn't work, try Alt+Shift+NumLock. If

this still doesn't work, try this shell command:

xmodmap -e "keysym Num_Lock = Num_Lock Pointer_EnableKeys"

 

2. Control the pointer using the following keys on the numeric pad:

Arrow numbers (2,4,6,8) move the pointer along the X or Y axis.

Other numbers (1,3,7,9) may move the pointer diagonally.

5 performs a single click of the "default" button.

+ performs a double click of the "default" button.

0 locks the "default" button for dragging.

. unlocks the "default" button to release a drag.

/ sets the "default" button to Button1.

* sets the "default" button to Button2.

- sets the "default" button to Button3.

 

3. Press Shift+NumLock to toggle out of the mode.

 

Reference Link(s):

http://www.mail-archive.com/linux%40hamlug...g/msg00498.html

http://mandrakeusers.org/index.php?showtopic=983

Link to comment
Share on other sites

 Share

×
×
  • Create New...