You are not logged in.
Pages: 1
Hi,
I have recently installed Arch Linux on my laptop. Initially I had hotplugging disabled and had the uk keymap configured in the /etc/X11/xorg.conf and it worked fine. However on reading that it is better to have hotplugging enabled, I did....and configured the /etc/hal/fdi/policy/10-keymap.fdi replacing us with uk. But, it does not seem to work for some reason. Also now, when I open a virtual console and type loadkeys uk, I still end up with US keys.
Heres the contents of my 10-keymap.fdi file
<?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">base</merge>
<!-- If we're using Linux, we use evdev by default (falling back to
keyboard otherwise). -->
<merge key="input.xkb.model" type="string">keyboard</merge>
<match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
string="Linux">
<merge key="input.xkb.model" type="string">evdev</merge>
</match>
<merge key="input.xkb.layout" type="string">uk</merge>
<merge key="input.xkb.variant" type="string" />
</match>
</device>
</deviceinfo>
Any advice, please...
Samsom
Last edited by samsom (2009-07-29 20:55:32)
Samsom
Offline
For X, the keymap is "gb", not "uk". At least, it is for setxkbmap, so presumably HAL .fdis follow that. I wish everyone would agree on one or the other.
If all else fails, stick "setxkbmap gb" in ~/.xinitrc. Works for me...
0 Ok, 0:1
Offline
Thanks a lot, mate. I did both and one or both of them worked.
Cheers
Samsom
Samsom
Offline
Pages: 1