How to remap broken (laptop) keyboard?
How to remap broken (laptop) keyboard?
One of the keys on my keyboard oes not work. In windows I was able to remap the ¬`| key to replace the broken letter d on my UK keyboard in the registry quite easily or use the onscreen keyboard. Reading up on the problem in linux, I have found that I must create my own keymap. could some kin user please give an explanation to make my own keymap or uploa one for me please with `¬| key as d? For anyone wondering, seamonkey spell check filled in a few ds for me. Thanks
Maybe it's a laptop.
I'm pretty sure that there are threads in the forum which produced answers that could be adapted to solve this problem. I entered "remap AND keyboard" in the forum search and got 3 results: this thread, plus
http://www.murga-linux.com/puppy/viewto ... 204#208204
http://www.murga-linux.com/puppy/viewto ... 339#165339
I'm pretty sure that there are threads in the forum which produced answers that could be adapted to solve this problem. I entered "remap AND keyboard" in the forum search and got 3 results: this thread, plus
http://www.murga-linux.com/puppy/viewto ... 204#208204
http://www.murga-linux.com/puppy/viewto ... 339#165339
What about gtkeyboard?
To use it on pup4, you would probably need to install these files:
glib12-1.2.10.pet (53k)
gtk+12-1.2.10.pet (522k)
gdk_pixbuf10-0.22.0.pet (121k)
imlib-1.9.15-1.pet (386k)
Or what about:
http://www.columbia.edu/~djv/docs/keyremap.html
I'm sure there are other key remap programs, but I can't think of any at the moment. On my laptop, the old trick of using the numeric keypad, and entering Alt+100 doesn't work.
To use it on pup4, you would probably need to install these files:
glib12-1.2.10.pet (53k)
gtk+12-1.2.10.pet (522k)
gdk_pixbuf10-0.22.0.pet (121k)
imlib-1.9.15-1.pet (386k)
Or what about:
http://www.columbia.edu/~djv/docs/keyremap.html
I'm sure there are other key remap programs, but I can't think of any at the moment. On my laptop, the old trick of using the numeric keypad, and entering Alt+100 doesn't work.
Broken laptop keys
Hi rob,
This link was very helpful :-
http://www.columbia.edu/~djv/docs/keyremap.html
I have a dodgy w. So in a terminal typing xmodmap -pke gives the keycodes.
for me keycode 10 is the 1 and exclamation mark
So xmodmap -e "keycode 10 = 1 w" changed the exclamation mark to w
It was only a quick test so picking another key where you could replace both upper and lower case letters by using the shift key would be a better choice.
Once you have got it working put the xmodmap command into /etc/rc.d/rc.local
I don't think this will work for passwords as rc.local is read after the system starts.
Regards Tony
This link was very helpful :-
http://www.columbia.edu/~djv/docs/keyremap.html
I have a dodgy w. So in a terminal typing xmodmap -pke gives the keycodes.
for me keycode 10 is the 1 and exclamation mark
So xmodmap -e "keycode 10 = 1 w" changed the exclamation mark to w
It was only a quick test so picking another key where you could replace both upper and lower case letters by using the shift key would be a better choice.
Once you have got it working put the xmodmap command into /etc/rc.d/rc.local
I don't think this will work for passwords as rc.local is read after the system starts.
Regards Tony
Remap keyboard
My main problem is typing the key that isn't working in the rxvt window for testing. I on´t even know how to copy an paste there!
Dodgy keys
Hi rob,
my mouse has a left and right button plus a wheel in the middle.
I mark the text with the left button and then click the wheel to paste.
You can copy a letter from anywhere and put it in like this.
You could probably just use the keyboard but you will have to Google to
find out how.
I missed out on the fact that a totally inactive key would cause problems.
I checked out xmodmap on my own computer which is ok.
It's my grandsons computer which is dodgy.
Regards Tony
my mouse has a left and right button plus a wheel in the middle.
I mark the text with the left button and then click the wheel to paste.
You can copy a letter from anywhere and put it in like this.
You could probably just use the keyboard but you will have to Google to
find out how.
I missed out on the fact that a totally inactive key would cause problems.
I checked out xmodmap on my own computer which is ok.
It's my grandsons computer which is dodgy.
Regards Tony
Remapping key
The key I'm trying to get mapped to d is the key left of number 1 on my keyboard. I wish to map it to the letter d, as I have it in windows. I was told how to do it, but I can't get a d written in the console window as my d key isn't working! :s What is the paste shortcut for the console window (not ctrl+v, tried that and it didnt work) Sorry guys.
Rob,
I don't know if there are any gtk frontends to xmodmap anywhere, but I just compiled XKeyCaps, and while it looks a bit dated in it's interface, it does the job.
I just went with the default 101-key keyboard, right-clicked the d key & selected Exchange Keys, then clicked the backtick-tilde keys, then Write Output-> Changed Keys, and it worked straight away.
Because I've compiled it on p2.16, if you were using p4 or p3, you would need to install libxaw95-1.1.4.pet
Also, I think this is only effective during the current Xsession. The above write procedure saved the keymap as /root/.xmodmap-puppypc, so I imagine that this might be overwritten on reboot, so if you saved it as some other name, xxx, then added a line, to /etc/rc.d/rc.local, like:
then it would be loaded on reboot. Let us know whether this works for you.
I don't know if there are any gtk frontends to xmodmap anywhere, but I just compiled XKeyCaps, and while it looks a bit dated in it's interface, it does the job.
I just went with the default 101-key keyboard, right-clicked the d key & selected Exchange Keys, then clicked the backtick-tilde keys, then Write Output-> Changed Keys, and it worked straight away.
Because I've compiled it on p2.16, if you were using p4 or p3, you would need to install libxaw95-1.1.4.pet
Also, I think this is only effective during the current Xsession. The above write procedure saved the keymap as /root/.xmodmap-puppypc, so I imagine that this might be overwritten on reboot, so if you saved it as some other name, xxx, then added a line, to /etc/rc.d/rc.local, like:
Code: Select all
xmodmap xxx
- Attachments
-
- xkeycaps-2.46.pet
- (94.4 KiB) Downloaded 480 times