Alt Gr Problem with German Keyboards and XFree86
Forum: User Feedback
Topic: Alt Gr Problem with German Keyboards and XFree86
started by: Knusper
Posted by Knusper on July 07 2005,02:17Okay, first It took me several hours to figure this out... Assuming you have a german keyboard, you may have noticed that the @ key will not work in firefox, even just after you have booted into the default DSL Setup, without XFree86... This IS NOT a problem of the firefox browser, although some guys in this forum thought.
Open a terminal and type the following two lines:
Now you will notice that the @ Key works in Firefox... thanks for this tip to the forum member jls legalize
Ok, now for the more difficult part (just kidding, it is easy for you, was difficult for me). When you install XFree86 via MyDSL and configure it so that it works, you will notice that the Alt Gr Key is not working anymore... Assuming You have a German Windows Keyboard create a file in your home directory called .xmodmap-box
Copy & Paste this into the file (use a editor of your choice):
I made this above with the wonderfull programm xkeycaps, which I installed via apt-get... But thats not the topic... Save the file x and then open a terminal again and type:
Now everything should work fine... Or did I have overseen something... I am not a Linux Freak or so, but the above solution did it for me...
Posted by Xehupatl on Sep. 03 2005,09:23Sorry to resurrect this thread, but I tried this, and I'm happy the Umlaute work (yay!), but my "Alt Gr" key now seems to work as "Enter"!
EDIT: Oh, and on the "up, down, left, right" keys, only the "right" one works!
Posted by Jörg Reuter on Jan. 08 2006,01:55And the Umlaute dosen't work in the Email-Client Sylpheed.
Posted by Jörg Reuter on Jan. 08 2006,02:23it is a little difficult. If I type lang=de-latin1-nodeadkeys in the Console the german Umlaute works .http://damnsmalllinux.org/iB_html/non-cgi/Skin/Default/PostIcons/icon2.gif Except in Mozilla the @ and very complicated is it in the Emailprogramm Sylpheed. I can see the german Umlaute if I read new mails, I can type it in the Adress and Subject and I see them . But if i write the text I can not see the german unlaute but if I send the text the german Umlaute was correctly in the Email. (DSL 2.0)
Posted by Udo on Jan. 25 2006,07:50Hello Jörg,
I have the same probleme mit the "ö","ä","ü" in the text, do you solve the problem?
Posted by MoonMind on Jan. 29 2006,10:15I truely admire this kind of thorough fix, but wouldn't it be easier to get the de-latin1-nodeadkeys.kmap.gz from another system (like a Debian system) and just copy it into /usr/share/keymaps/i386/qwertz/ ?
Tried it - it's not the point. The map loaded at bootup is "de" instead of "de-latin1-nodeadkeys". That seems to be it - but I've yet to locate the file from which the KEYBOARD variable is read in order to change that...
Loading "de-latin1-nodeadkeys" fails altogether:
Isn't the include supposed to include de-latin1.kmap.gz?
Okay, but anyway, the idea doesn't seem to have been a good one...
loadkeys doesn't work on the live CD either - so there must be something else to load and set keymaps... I've seen a keymap.sh somewhere - is that it?
Okay, I've found /etc/sysconfig/knoppix and changed settings there - about to reboot, hopefully see you soon with some good news...
Nope, no joy. I consider this a but or at least a flaw in the system - even xsetup.sh isn't able to set the keymap to de-latin1-nodeadkeys (it employing loadkeys, in fact, so that's bound to happen).
Closing in on the issue... I tried sudo dpkg-reconfigure locales, was told that locales wasn't installed, tried sudo apt-get install locales and found broken dependencies - glibc-2.2.5-11.8 is missing. Having known DSL for a while (and loving it for its size as well as for its functionality), I guess this is intentional - any ideas on how to change this? I coulnd't get any version of glibc via apt-get using the default repositories...
Posted by freeze on Jan. 30 2006,08:40I just found the file that you maybe need. /opt/boolocal.sh
thats my /opt/bootlocal.sh
Posted by Jurgen272 on Jan. 31 2006,14:03Anyone tried "xkeycaps.dsl" ?
For me it did solve a lot off problems on an azerty/Belgian keyboard.
Maybe the app will do the same for other (eg DE-keyboards)
Just find jour keyboard in the list and save.
Add "xmodmap ~/.xmodmap-`uname-n`" to your .xinitrc file to preserve the keyboard after booting.