Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: SuSE Linux / Scientific Linux / [K|X]ubuntu
Posts: 273
Rep:
NEC Versa P520 keyboard problems!!!
Hi there, guys!
I am currently using SuSE Linux 9.3 Pro on my NEC Versa P520 keyboard. Unfortunately, there is just one key that is not mapped correctly on my keyboard, which is next to the left shift and before "z". When I press the button I get < or with shift >, but what it should be is \ and |... I don't know how to map these keys correctly, so I can use the console with it and especially Kile for writing LaTeX documents... I believe it is keycode 86...
Distribution: SuSE Linux / Scientific Linux / [K|X]ubuntu
Posts: 273
Original Poster
Rep:
I have only fixed it 'temporarily', i.e. I have written a script that I can run by clicking on it in order to fix my key for the session I am in. So, if I know I need my backslash at the time I am at my PC, I can click it and when I know I don't need it, then I don't have to click. If you want the script, I will post it here with some infos...
showkeys didn't work - gave wrong keycode, so use: xev to get the correct
keycode (mine was 94, not 86).
Then: xmodmap -pke > xmodmap.conf.
Edit xmodmap.conf - go to keycode and put, e.g. keycode 94 = backslash bar
Put a command like xmodmap xmodmap.conf into .bashrc (or whereever you want
it to start). Good luck :P
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.