How to change keyboard layout to another language (e.g. german)

Hi,

I have a beagle board xM Rev. B installed with the Angstrom demo
image. How can I permanently switch the language on a German keyboard
layout? After all the recent attempt on gconf-editor or Control Panel
(keyboard) the keyboard layout was made ​​again each time back to USA.
In many threads in the network the problem is still discussed, but the
other distributions differ from the distribution Angstrom probably too
much. So that the solutions do not fit.

Here I have also found a link interesting as it has done well with
someone setxkbmap. Is that the officially correct way? Or I missed
something?
http://groups.google.com/group/beagleboard/browse_thread/thread/7bace2939d242dfd

For me it's interesting to switch permanently the keyboard layout to
German in console and Gnome.

Best regards

Florian Freitag

Hi,

I have a beagle board xM Rev. B installed with the Angstrom demo
image. How can I permanently switch the language on a German keyboard
layout? After all the recent attempt on gconf-editor or Control Panel
(keyboard) the keyboard layout was made again each time back to USA.
In many threads in the network the problem is still discussed, but the
other distributions differ from the distribution Angstrom probably too
much. So that the solutions do not fit.

Here I have also found a link interesting as it has done well with
someone setxkbmap. Is that the officially correct way? Or I missed
something?
http://groups.google.com/group/beagleboard/browse_thread/thread/7bace2939d242dfd

For me it's interesting to switch permanently the keyboard layout to
German in console and Gnome.

I assumes, in gnome configuration file it's defined as default
English.So have a look into to gnome configuration file and modify it.
Another easiest way is to generate a script with setxkbmap with your
default language and execute it while system is booting.

Thanks for your fast reply. After some work and testing I've found the
following solution. Install setxkbmap by downloading it directly from
http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv7a/base/setxkbmap_1.0.4-r0_armv7a.ipk,
because it can't installed directly via opkg install setxkbmap because
there is no version for the actual Angstrom Demo Image. After that use
opkg install setxkbmap_1.0.4-r0_armv7a.ipk from the folder you've
downloaded the package.

Now you can set your keyboard layout with the following commad (it
works for me):
setxkbmap -model pc105 -layout de

But now I like to do this command automatically with every startup so
that I don't have to do this manually. Does anybody know where I have
to place this command in which file?

Best regards

Florian Freitag

Thanks for your fast reply. After some work and testing I’ve found the
following solution. Install setxkbmap by downloading it directly from
http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv7a/base/setxkbmap_1.0.4-r0_armv7a.ipk,
because it can’t installed directly via opkg install setxkbmap because
there is no version for the actual Angstrom Demo Image. After that use
opkg install setxkbmap_1.0.4-r0_armv7a.ipk from the folder you’ve
downloaded the package.

Now you can set your keyboard layout with the following commad (it
works for me):
setxkbmap -model pc105 -layout de

But now I like to do this command automatically with every startup so
that I don’t have to do this manually. Does anybody know where I have
to place this command in which file?

Make a script for this and put it under /etc/profile.d folder .