You are not logged in.
Pages: 1
Hello,
I have a Belgian keyboard layout and had some troubles with the Alt-Gr key.
We combine this key with other keys to generate special symbols like the Euro sign or the @ character for example.
I found several solutions on several websites but they didn't seem to work for me.
I now added the following line in my /etc/X11/xinit/xinitrc and now it's working:
setxkbmap be
Perhaps it's not a bad idea to add this setxkbmap command to the Xorg package, since I noticed I was not the only
one who was struggling with this problem.
Regards,
Solley
Offline
I never had to add such a command anywhere, I just set my keymap in rc.conf and have keymap in my initcpio hooks. You might want to check whether these things are correct on your machine, perhaps you won't need the setxkbmap command then.
Offline
The keymap in my rc.conf was ok.
The keymap in my initcpio hooks was missing. So I added it.
But still no luck.
Offline
You have to rebuild the image using mkinitcpio -g /boot/kernel26.img (If you're using the standard arch kernel) and reboot for the changes to take effect.
Offline
for xorg to change my keymap i simply add XKBlayout to my xorg.conf
e.g.
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "gb"
EndSection
Offline
My XORG look like that:
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbLayout" "us,lt"
Option "XkbOptions" "grp:alt_shift_toggle"
Driver "kbd"
EndSection
http://ispconfig.lt - ISPConfig 3 based hosting. Coming Soon!
Offline
Incredible!
It works now.
Thanks
Offline
Pages: 1