|
For whatever reason my company wants to use 122 keyboards. Use to dumb terminals I guess. I have learned with the help of Scott and James (thanks) to map keys in .Xdefaults. Cool. But that depends on the key having a name. Like Return or KP_enter or Control_R. When I attach a 122 keyboard and run xev, some of the keys produce nothing or nonsense. Like F13 produces "Prior". With the showkey utlity, I can find the scancode for all these keys. F13 is 100. WELL, the ONLY place in the Linux system I have been able to equate scancodes to keynames is in keymaps/us.kmap.gz. That's cool I can modify that file so that right control (scan code 97) produces "Return". Then do loadkeys and it works for the console. But not in X. Can anyone tell me where are the files which causes X to equate a scancode like 97 to the symbol "Control_R" or 100 to "F13"? Thanks
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.