You are not logged in.
I added the other keymap to the hal policy file . setxkbmap <layout> works . But I can't switch between the 2 layouts As I used to before the X upgrade .
I have in xorg.conf :
"XKbOptions" "grp:alt_shift_toggle"
That's the line that did the trick in the old days .
How can I get the old behaviour back ? (I don't need to disable the whole hotplugging thing for this , do I ?)
Last edited by Nezmer (2008-12-01 16:38:47)
English is not my native language .
Offline
Here's a working /etc/hal/fdi/policy/10-keymap.fdi you can copy and change to your liking:
<?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">us,ca</merge>
<merge key="input.xkb.options" type="string">grp:menu_toggle</merge>
</match>
</device>
</deviceinfo>
Offline
Thank you very much . that worked after restarting X .
Maybe you should add this to the wiki If It's not there yet and replace the old instructions .
English is not my native language .
Offline
Maybe you should add this to the wiki If It's not there yet
Done
Offline