.
contact contact

numeric keypad keys and XFree

 
.
 

Title: numeric keypad keys and XFree
Document: 968854028
Author: Michael Marxmeier
Keywords: xmodmap,X,X11,linux


Q: The numeric keypad keys don't work as expected.

A: This is a known "feature" of the default keyboard mapping woth XFree86. The cure is to change the default mappings like in the example below:

#!/bin/sh

# This script makes the numeric keypad constantly
# active.
# After the NUM_LOCK key has no more meaning.

xmodmap -e "keycode  79 = KP_7"
xmodmap -e "keycode  80 = KP_8"
xmodmap -e "keycode  81 = KP_9"
xmodmap -e "keycode  83 = KP_4"
xmodmap -e "keycode  84 = KP_5"
xmodmap -e "keycode  85 = KP_6"
xmodmap -e "keycode  87 = KP_1"
xmodmap -e "keycode  88 = KP_2"
xmodmap -e "keycode  89 = KP_3"
xmodmap -e "keycode  90 = KP_0"
xmodmap -e "keycode  91 = comma"
 
 
.
 
 
  Privacy | Webmaster | Terms of use | Impressum Revision:   
  Copyright © 1995-2002 Marxmeier Software AG