Re: Language of hardware keyboard

2009-03-04 Thread Leonti Bielski
¡Muchas gracias!
I found a script which uses xmodmap for polish keyboard. After some
modifications it works perfectly!

Leonti

On Wed, Mar 4, 2009 at 2:31 PM, Jorge Luis Chamorro
 wrote:
> Helge Hafting escribió:
>
> Leonti Bielski wrote:
>
>
> Hello!
> Yesterday I tried to connect my hardware keyboard to Freerunner.
> I'm using SHR - testing and I used [1] 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.
>
> Section "InputDevice"
>  Identifier "Generic Keyboard"
>  Driver "kbd"
>  Option "CoreKeyboard"
>  Option "XkbRules" "xorg"
>  Option "XkbModel" "pc105"
>  Option "XkbLayout" "no"
> EndSection
>
> 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.
>
> Helge Hafting
>
>
> With xmodmap :
> I configure the keyboard on my Desktop PC and run xmodmad -pke >
> keys-on-pc.txt
> and also run xmodmad -pke > keys-on-neo.txt on my neo.
> 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
> So when I plug the external keyboard I run xmodmad keys-on-neo-modified.txt.
> If I put keys-on-pc.txt directly on Neo I have problems with some keys (
> arrows )
>
> Saludos , Jorge
>
>
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
>

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Language of hardware keyboard

2009-03-04 Thread Jorge Luis Chamorro

Helge Hafting escribió:

Leonti Bielski wrote:
  

Hello!
Yesterday I tried to connect my hardware keyboard to Freerunner.
I'm using SHR - testing and I used [1] 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.


Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver "kbd"
 Option "CoreKeyboard"
 Option "XkbRules" "xorg"
 Option "XkbModel" "pc105"
 Option "XkbLayout" "no"
EndSection

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.


Helge Hafting
  

With xmodmap :
I configure the keyboard on my Desktop PC and run xmodmad -pke > 
keys-on-pc.txt

and also run xmodmad -pke > keys-on-neo.txt on my neo.
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

So when I plug the external keyboard I run xmodmad keys-on-neo-modified.txt.
If I put keys-on-pc.txt directly on Neo I have problems with some keys ( 
arrows )


Saludos , Jorge


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Language of hardware keyboard

2009-03-04 Thread Helge Hafting
Leonti Bielski wrote:
> Hello!
> Yesterday I tried to connect my hardware keyboard to Freerunner.
> I'm using SHR - testing and I used [1] 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.

Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver "kbd"
 Option "CoreKeyboard"
 Option "XkbRules" "xorg"
 Option "XkbModel" "pc105"
 Option "XkbLayout" "no"
EndSection

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.

Helge Hafting






___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Language of hardware keyboard

2009-03-04 Thread Leonti Bielski
Hello!
Yesterday I tried to connect my hardware keyboard to Freerunner.
I'm using SHR - testing and I used [1] to make it work.
But the language of the keyboard is English. How do I change that?

Leonti


1. 
http://git.openmoko.org/?p=openmoko.git;a=blob_plain;f=packages/xserver-kdrive-common/xserver-kdrive-common/openmoko/Xserver;h=a26c5c2d702dd427529f5c67e94058456bc49407

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: hardware keyboard?

2008-07-11 Thread Jay Vaughan
> as the freerunner have no camera, that will be no problem ;)


I've got one of those Wifi+Storage SD cards on order for my Lumix, and  
I'm going to see if it works with the WLAN on the Freerunner pretty  
much straight away. I harbor a long-standing dream of taking a picture  
with one hand, and watching it come up in the PDA in the other  
hand .. ;)

;
--
Jay Vaughan





___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: hardware keyboard?

2008-07-10 Thread kenneth marken
On Thursday 10 July 2008 20:14:50 Francesco Cat wrote:
> And now, tell me how will you be able to use the camera :P
>

heh, i forgot to add a line asking of this could be a idea for the 
freerunner...

as the freerunner have no camera, that will be no problem ;)

> 2008/7/10 kenneth marken <[EMAIL PROTECTED]>:
> > http://www.umpcportal.com/2008/07/extndr-concept-turns-the-iphone-into-a-
> >slider-mid
> >
> > ___
> > Openmoko community mailing list
> > community@lists.openmoko.org
> > http://lists.openmoko.org/mailman/listinfo/community
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: hardware keyboard?

2008-07-10 Thread Francesco Cat
And now, tell me how will you be able to use the camera :P

2008/7/10 kenneth marken <[EMAIL PROTECTED]>:
> http://www.umpcportal.com/2008/07/extndr-concept-turns-the-iphone-into-a-slider-mid
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


hardware keyboard?

2008-07-10 Thread kenneth marken
http://www.umpcportal.com/2008/07/extndr-concept-turns-the-iphone-into-a-slider-mid

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community