<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<body bgcolor="#ffffff" text="#000000">
Helge Hafting escribió:
<blockquote cite="mid49AE64E9.email@example.com" type="cite">
<pre wrap="">Leonti Bielski wrote:
Yesterday I tried to connect my hardware keyboard to Freerunner.
I'm using SHR - testing and I used  to make it work.
But the language of the keyboard is English. How do I change that?
There are at least two ways:
1. Select a proper keyboard in /etc/X11/xorg.conf
the file shoukld have a section like this for a Norwegian keyboard. For
another language, replace "no" with whatever you need.
Identifier "Generic Keyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "no"
However, the FR ships without a xorg.conf file. So some experimentation
is needed to see if it honors the file, and if you need to install extra
keyboard files that not necessarily comes with the device.
2. Remap the keyboard using xmodmap
The FR ships with xmodmap, so you can write a script that uses several
xmodmap commands, one per key that differ from english layout. Then
arrange so the script is executed whenever X starts on your freerunner.
With xmodmap :<br>
I configure the keyboard on my Desktop PC and run xmodmad -pke >
and also run xmodmad -pke > keys-on-neo.txt on my neo.<br>
Then I put some info from keys-on-pc.txt to keys-on-neo.txt and create
a modified version of keys-on-neo.txt<br>
So when I plug the external keyboard I run xmodmad
If I put keys-on-pc.txt directly on Neo I have problems with some keys
( arrows )<br>
Saludos , Jorge<br>