Alt Gr support on non us keyboard


Forum: X and Fluxbox
Topic: Alt Gr support on non us keyboard
started by: Multitudes

Posted by Multitudes on Sep. 15 2005,11:55
I'm running DSL with a danish (dk) keyboard layout.

If I try to type "@" in fx. Firefox I get nothing allthough my national characters work fine.
On a danish keyboard "@" is produced with the key combination Alt Gr + 2 (2 from the "normal" part of the keyboard).

As user DSL create the file /home/dsl/.Xmodmap with the following content:
Code Sample
remove mod4 = Mode_switch
add mod5 = Mode_switch


After that run the following command in an Xterm window:
Code Sample
xmodmap .Xmodmap


If you want to make the change permanent between boots, you need to modify the file /home/dsl/.xinitrc:
Add the following line before the line that starts fluxbox:
Code Sample
xmodmap .Xmodmap


Hope this will help other non-us users.


Regards
Multitudes

Posted by palloco on Sep. 15 2005,16:52
Thx, it works. It was also a problem of opera.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.