LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Keymap missing after upgrade (https://www.linuxquestions.org/questions/debian-26/keymap-missing-after-upgrade-419012/)

Joe Soap 02-24-2006 03:54 AM

Keymap missing after upgrade
 
I'm running Kanotix (testing/unstable) on my laptop. The laptop has a Swiss German keyboard layout. After upgrading a number of packages via synaptic, my Swiss German keymap (de_CH?) seems to have disappeared. I initially tried to selectthe Swiss German layout via KDE's control center but that didn't work. It does, however, work for other layouts. I then checked /usr/share/keymaps/i386/qwertz and noticed that there is no de_CH keymap. The fr_CH keymaps are available.

Any suggestions on what I can do to get it back?

kloss 02-24-2006 04:11 AM

If you simply do in an xterm :

setxkbmap ch

Do you get the right layout?

++

Joe Soap 02-24-2006 04:28 AM

kloss,

Thanks. I tried that and it works. How can I ensure that that remains the selected layout?

Btw, I found out that the keymap for Swiss German is sg-latin1 and I do have that present in /usr/share/keymaps/i386/qwertz

Cheers
Joe

kloss 02-24-2006 04:37 AM

Change the following line in /etc/X11/xorg.conf :
Option "XkbLayout" "ch"

Imho the file for your keyboard is /etc/X11/xkb/symbols/pc/ch, not /usr/share/keymaps/i386/qwertz/sg-latin1.kmap.gz. I think it works with only "ch" because the default variant in the ch file is german.

++

Joe Soap 02-24-2006 05:48 AM

Thanks kloss, that did the trick. Your help is much appreciated.

-danu 03-07-2006 07:23 AM

Thanks kloss!
Your hint helped me in a moment of mental derangement ;-)
Couldn't type any pipes (|) anymore.
-danu


All times are GMT -5. The time now is 02:49 AM.