Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

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'm a long-time Windows user who uses the numeric keypad with the numlock off for navigating text, highlighting it, etc. Shift + Home (7 on the numpad) selects all text till the beginning of the line. In GNOME, pressing Shift + Home on the numpad inputs 7 instead of selecting all text till the beginning of the line.

Is there a way to change the behaviour of the numpad in GNOME 3 to that of the direction pad?

share|improve this question
up vote 2 down vote accepted

There's an option for it in the typing settings: open gnome-tweak-tool and in the Typing section expand Miscellaneous compatibility options and check the option "NumLock on: digits, Shift switches to arrow keys, NumLock off: always arrow keys (as in MS Windows)"
Or you could use dconf-editor, navigate to org>gnome>desktop>input-sources>xkb-options and add 'numpad:microsoft' to the existing values.

For a desktop-agnostic solution, you can use setxkbmap -option numpad:microsoft in your X startup files.

share|improve this answer

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.