Setting alternative keyboard layout in Kubuntu.

Hans dinsen-hansen hansdinsenhansen at gmail.com
Sun Dec 28 19:45:08 UTC 2014


Dear list.

My wife is German, we are living in Denmark.  She uses a German laptop
but from time to time needs the Danish keyboard layout to write words
like "blåbærgrød".

How can I set up her laptop with Kubuntu 14.10 to toggle between Danish
and German keyboard layout with e.g. pressing Alt-Shift.

I cannot find anything about adding an other layout in Settings even if
it is described in several answers on the internet.  Actually, one
description with beautiful screen shots showed actions under KDE 3.5
("Trinity").  I can change to kbd-layut toggle by editing in
/etc/defaults/keyboard and follow the instructions in that file.  But
it only works for the tty-terminals.

I can also set X to switching mode by sourcing the command file

    set -x
      sudo setxkbmap -rules xorg -model pc105 -layout "de,dk" \
      -option "grp:alt_shift_toggle"
    set +x

in an X-terminal.  Of course this setting disappears with a reboot.

I must admit that I'm not a Linux expert, and I'm used to setting my
special wishes in /etc/X11/xorg.conf, but that file hardly exists in
Linuxes and not at all in Debian/Ubuntu.

    Hans Dinsen-Hansen


Get Your Special Signature at Xrosmate




More information about the kubuntu-users mailing list