Alt Gr in Firefox


Forum: Apps
Topic: Alt Gr in Firefox
started by: martin.demare

Posted by martin.demare on Jan. 07 2007,18:22
Hi,
Unfortunatly the Alt Gr button does not work using a Swedish key board (se-latin1) in Firefox.

The Alt Gr button is vital for many non-english users since you need it to access the following characters @, £, $, {, [, ], } and \.
(Imagine using you webmail without being able to write @)

Note that it is only in Firefox that the button has no effect. Writing @, £, $ etc in Xshells and other applications, is no problem. This is also how I know that the keyboard layout is configured correctly.

I am using DSL 3.1

Posted by martin.demare on Jan. 07 2007,19:43
Of course I found the answer on the net just after I posted this question.

For some reason the if-statement in /home/dsl/.xinitrc does not function properly. Just replace
# For non-US Keyboards
if [ ${KEYTABLE:0:2} != "us" ]; then
 xmodmap -e "clear Mod4" -e "add Mod5 = Mode_switch" &
fi


with
xmodmap -e "clear Mod4" -e "add Mod5 = Mode_switch" &

And everything will work properly.

Posted by ^thehatsrule^ on Jan. 07 2007,20:28
Well, that code is supposed to be there if you change your keymap (using DSLPanel or even in xsetup).  Did you change your keymap or was this just right after a fresh boot?
Posted by martin.demare on Jan. 07 2007,21:01
Hi
I have been struggling with this matter for over a week and have tried every way to change the keymap. X-setup, the mouse menu: System->keybord and the DSL-panel.

The change does take effect. For example the Swedish characters å, ä, and ö are present. However the Alt GR does not work in some selected applications.

I understand that the if-statement has a purpose, but for some reason does not take effect. If someone who has a better understanding can explain what is wrong no one would be happier than me.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.