You are not logged in.
Pages: 1
Hi,
I had this problem with ubuntu too, but I think it is reasonably easy to fix.
My laptop keyboard has 2 keys for backslash and | key. One is near the Enter key, the other is on the right of left shift key. The one near Enter key is fine, the one near the Shift key is mapped with the wrong key: < and . instead.
How can I fix this?
Thanks
Offline
You can use cat in a command line to get the keycode, then use xmodmap in your .xinitrc or somewhere to map it to the desired key.
Offline
You can use cat in a command line to get the keycode, then use xmodmap in your .xinitrc or somewhere to map it to the desired key.
How do I use cat to get keycode?
EDIT: Nevermind the question above.
I have managed to fix the backslash but only on console. Tried many variations in my /etc/hal/fdi/policy/10-keymap.fdi, and now it has:
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.keymap">
<append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
</match>
<match key="info.capabilities" contains="input.keys">
<merge key="input.xkb.rules" type="string">xorg</merge>
<merge key="input.xkb.layout" type="string">us</merge>
<merge key="input.xkb.model" type="string">pc105</merge>
<merge key="input.xkb.variant" type="string">acentos</merge>
</match>
</device>
</deviceinfo>
My /etc/rc.local has:
KEYMAP="us-acentos"
The problem is that my cedilla is ć (WRONG). should be ç (RIGHT).
Also, my backslash fix isnt fixed in Xorg, only in console.
Last edited by milasch (2009-06-06 00:31:38)
Offline
Pages: 1