How to move mouse pointer using keyboard

Posted on 2003-02-19
Medium Priority
Last Modified: 2012-06-27
In a Linux desktop like KDE, how can I move the mouse pointer around the screen using just the keyboard?

Question by:glebspy
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Accepted Solution

Managu earned 2000 total points
ID: 7985771
If you're using XFree86 version 4.0 or greater (part of most modern distributions), yes, you can move the mouse pointer with the keyboard.

Press (left)Shift-(left)Alt-NumLock to enable MouseKeys mode.  In MouseKeys mode, the arrows on the numeric keypad can be used to move the mouse (i.e. hold down 8 for up, 2 for down, 4 for left, 6 for right, 1,3,7,9 for various diagonal directions).

Pressing 5 on the numeric keypad clicks the mouse once.  By default, it will click the left mouse button.  The three keys "[/][*][-]" across the top of the numeric keypad can be used to select a mouse button; press [/] to select the left mouse button (after which [5] will click the left mouse button), [*] to select the middle button (after which [5] will click the middle button), or [-] to select the right mouse button (after which [5] will click the right button).

Expert Comment

ID: 7987727
Oh, two more keys I forgot.

Tapping [ins] depresses the currently selected mouse button; pressing [del] later releases that mouse button.  This can be useful if you wish to "drag" the mouse.  Move to the start spot, press ins, move to the end spot, press del.

Author Comment

ID: 7988052
Thank you very much.

Expert Comment

ID: 7998295
Ah did'nt knew this.. farewell mouse!!

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month10 days, 11 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question