[arch-general] ca-cf keyboard layout in hal
I cannot find the "cf" variant in the ca layout (canadian french) in /usr/share/X11/xkb/rules/xorg.lst. What happened with it? I am trying to use a USB keyboard on my laptop, however it gets set as US instead of ca-cf. I check the file 10-keymap.fdi in /etc/hal/fdi/policy, but when I put ca as layout and cf as variant, my keyboard does not respond when I plug it in. Any other layout (that exists) works. Did Xorg remove the ca-cf layout? Sébastien Leblanc
On Sat, 2010-01-30 at 08:56 -0500, Sébastien Leblanc wrote:
I cannot find the "cf" variant in the ca layout (canadian french) in /usr/share/X11/xkb/rules/xorg.lst. What happened with it? I am trying to use a USB keyboard on my laptop, however it gets set as US instead of ca-cf. I check the file 10-keymap.fdi in /etc/hal/fdi/policy, but when I put ca as layout and cf as variant, my keyboard does not respond when I plug it in. Any other layout (that exists) works.
Did Xorg remove the ca-cf layout?
The layouts are listed in evdev.lst, as that's what the evdev driver uses. Looking through that file, the variant for canadian french is fr-legacy or fr-dvorak.
Actually, I tried the variant "fr" even if it was not listed and it worked. How come that variant is not listed in the evdev.lst file? Should that problem be reported upstream? Strangely, in the kcontrol Keyboard layout selection menu, the variant "fr" for the canadian keyboard does appear. As for the ca-fr layout, it is very particular in that it accepts dead keys as input, for accented letters. The fr-legacy does not, but the fr-dvorak does, although I am still not quite ready with dvorak layouts. Thanks for your help!
I cannot find the "cf" variant in the ca layout (canadian french) in /usr/share/X11/xkb/rules/xorg.lst. What happened with it?
The layouts are listed in evdev.lst, as that's what the evdev driver uses. Looking through that file, the variant for canadian french is fr-legacy or fr-dvorak.
afaik, Xorg stopped using the .lst files - at least I remember a discussion on this some time ago, I hope it's been implemented by now. Now, from what I see in /usr/share/X11/xkb/symbols/ca there are a dozen of variants including "fr" "fr-legacy" etc. (grep symbols /usr/share/X11/xkb/symbols/ca) So just, "setxkbmap -layout ca -variant fr" should get you what you want -- damjan
participants (3)
-
Damjan Georgievski
-
Jan de Groot
-
Sébastien Leblanc