How to modify the keymap for a given keycode using xmodmap in Red Hat Enterprise Linux

Solution Verified - Updated -

Issue

  • I have a keyboard with no exact matching layout.
  • I found closest matching layout but few keys doesn't work as expected with it.

EXAMPLE
- On HP 434821-L32 "\" and "|" combo key on lower left corner produces "<" and ">"
- On IBM x3270 keyboard "shift + numlock" is not activating the 'numlock' functionality

  • Is there any way to create custom keymap for my keyboard?

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content