Operating System - HP-UX
1753822 Members
9184 Online
108805 Solutions
New Discussion

how can I change the functionality of keys on my HP SK2502C KEYBOARD

 
Mark Lasnik
New Member

how can I change the functionality of keys on my HP SK2502C KEYBOARD

Please advise how I can move the TAB function to the "+" key (or any other key)

Thanks
1 REPLY 1
Wyly O'Brien
New Member

Re: how can I change the functionality of keys on my HP SK2502C KEYBOARD

Mark,

You can determine the current mapping of the keyboard via:

xmodmap -pke > (some file name)

That file will reveal something akin to:

keycode 17 = Tab Tab
keycode 195 = equal plus

If you want to map the tab key to be a plus, execute:

xmodmap -e "keycode 17=plus"

or

xmodmap -e "keycode 17=equal plus"

The only bad part about this is that this new keymapping will be reset when you
reboot. In order to have it take effect with every reboot, you should place
the above xmodmap statement in your .profile

Please let me know if you have further questions.

Wyly O'Brien