Friday, 18 May 2018

How can I use a second USB keyboard for special keys under Linux?

I'd like to use a second USB keyboard connected to my box running Ubuntu to generate special keystrokes. I'd like to map those in Vim to very specific actions.


I plug both my main keyboard and the secondary keyboard on two different USB ports.


How can I configura Ubuntu so that the keystrokes of only one of the keyboards are mapped to different keycodes?


For example, when I press the letter A on keyboard 2, I'd like it to appear as if I had pressed XF86XK_Launch0.

No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...