X and Fluxbox :: Alt Gr support on non us keyboard



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

Thx, it works. It was also a problem of opera.

original here.