Mapping for alternate keyboard


Tom`

Well-Known Member
Joined
Apr 22, 2008
Messages
1,168
So I set up the aforementioned Bluetooth keyboard today. It's detected right away by the provided wizard, and appears to work perfectly - except some of the keys are mapped to the wrong characters. For example, when I press the ( ) keys (Fn+o/p), I get [ ] on the device. There are a few others like this as well (I can't seem to type ! @ at all - I get { } instead, and a few others).


I assume there exists some way to add a keyboard mapping for this device without affecting the built-in keypad, but I haven't been able to find one so far (at least, some way that's reasonably straightforward).


It would be nice if this also offered a way to get the additional function hotkeys (e. g. "calendar," "contacts," "ok," "cancel") to work, but I don't really expect that. :p


Anyone have any ideas?
 
There is the file .pndXmodmap in your home directory (/home/<user name>). This contains the key mapping.


You can edit it in a text editor.


I have two versions of it: the default one for the internal keyboard and my modified one for the bluetooth keyboard.


When I want to use the bluetooth keyboard I simply call



Code:
xmodmap .pndXmodmap.modified



and to switch back





Code:
xmodmap .pndXmodmap


Hope this helps a bit.
 
Back
Top