Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex

Notices

Reply
 
Thread Tools Search this Thread
Old 02-19-2008, 10:42 AM   #1
yokos
Pac-Man catched my iLiad.
yokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with others
 
yokos's Avatar
 
Posts: 720
Karma: 2571
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: 1st gen iRex iLiad with 2nd ed. battery/case
Switching the Layout of the USB Keyboard.

The USB Keyboard server comes with an US layout. If you have a non-US USB keyboard in front of your nose, you will have a problem.
Therefore we need a way to change the keymaps of the keyboard.
xmodmap is one way.

Right now only a German keymap is included. [EDIT II: not anymore true.]
A keymap is just a simple text file with keycodes on the left, the letter/symbol on the right.
Code:
keycode  10 = 1 exclam onesuperior exclamdown onesuperior exclamdown
keycode  11 = 2 quotedbl twosuperior oneeighth twosuperior oneeighth
keycode  12 = 3 section threesuperior sterling threesuperior sterling
keycode  13 = 4 dollar onequarter currency onequarter currency
keycode  14 = 5 percent onehalf threeeighths onehalf threeeighths
keycode  15 = 6 ampersand notsign fiveeighths notsign fiveeighths
keycode  16 = 7 slash braceleft seveneighths braceleft seveneighths
If you know a place where keymaps of other/"all" languages live, please let me know. [EDIT II: 85 xmodmaps are attached.]

The symbols files (keymaps) in /usr/share/X11/xkb/symbols on my Desktop Linux distribution where not compatible with xmodmap.
I created the attached German keymap [while a German layout is active] with
Code:
xmodmap -pke > keymap
xkeycaps is another option [not checked out yet].

[EDIT 02/20/2008] Oh no, xkeycaps needs xmkmf to compile. Uncharted water for me.
[EDIT 02/21/2008] 85 xmodmaps are attached. All the best! I hope it works for you.
you-have-to-do:
# w/o editing txt/shell scripts:
You have to rename the wanted xmodmap (for instance xmodmap.be) to de, then replace the original in the xmodmap dir.
#w/ editing txt/shell scripts:
Edit the red parts to your need.
manifest.xml:
Code:
<Description>Changing the USB Keyboard Layout
German Layout</Description>
run.sh
Code:
./xmodmap de > output.txt 2>&1
[EDIT 02/22/2008] I replaced 85_xmodmaps.zip with 95_xmodmaps.zip [the same 85 + 10 others]

screenshot: it shows Beaver with typed German specific letters.
Attached Thumbnails
Click image for larger version

Name:	Beaver_German_Keymap.png
Views:	359
Size:	73.9 KB
ID:	10526  
Attached Files
File Type: zip xmodmap.0.1.German.Layout.zip (26.4 KB, 264 views)
File Type: zip 95_xmodmaps.zip (135.6 KB, 264 views)

Last edited by yokos; 02-22-2008 at 09:34 AM. Reason: EDIT III
yokos is offline   Reply With Quote
Old 02-20-2008, 09:13 PM   #2
wagnerian
Musicology Student
wagnerian began at the beginning.
 
wagnerian's Avatar
 
Posts: 55
Karma: 45
Join Date: Oct 2006
Location: Seoul, Korea (R.O.K.)
Device: iLiad, BlackBerry Bold 9000, Zaurus C1000
Great! This is what I've been waiting for so long!
I have tried to build a Korean keymap, but failed.

Quote:
Originally Posted by yokos View Post
The A keymap is just a simple text file with keycodes on the left, the letter/symbol on the right.
Can you change the keymap file to use the character codes instead of the real characters?

This is the unicode encoding table:
http://www.utf8-chartable.de
wagnerian is offline   Reply With Quote
Old 02-21-2008, 12:13 PM   #3
yokos
Pac-Man catched my iLiad.
yokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with others
 
yokos's Avatar
 
Posts: 720
Karma: 2571
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: 1st gen iRex iLiad with 2nd ed. battery/case
I have found here 85 xmodmaps.

Hey wagnerian, a korean one is included, too. Maybe this works. But you need a font on iLiad with included korean letters.

I attached the file [which I found there] in #1, . I hope it's ok to upload it here.

Last edited by yokos; 02-21-2008 at 12:36 PM. Reason: removed zip file, attached it to #1
yokos is offline   Reply With Quote
Old 02-21-2008, 06:55 PM   #4
nkelle
Trainee bricked one Iliad
nkelle began at the beginning.
 
nkelle's Avatar
 
Posts: 18
Karma: 25
Join Date: Oct 2007
Location: Germany, near Mönchengladbach
Device: iRex iliad ER0100 soft 2.12
Great news yokos,
I will try them out this weekend..

Best regards

nkelle
nkelle is offline   Reply With Quote
Old 09-02-2008, 12:55 PM   #5
Vanessa
French newbie
Vanessa is out to avenge the death of his or her father, Domingo Montoya.Vanessa is out to avenge the death of his or her father, Domingo Montoya.Vanessa is out to avenge the death of his or her father, Domingo Montoya.Vanessa is out to avenge the death of his or her father, Domingo Montoya.Vanessa is out to avenge the death of his or her father, Domingo Montoya.Vanessa is out to avenge the death of his or her father, Domingo Montoya.Vanessa is out to avenge the death of his or her father, Domingo Montoya.Vanessa is out to avenge the death of his or her father, Domingo Montoya.Vanessa is out to avenge the death of his or her father, Domingo Montoya.Vanessa is out to avenge the death of his or her father, Domingo Montoya.Vanessa is out to avenge the death of his or her father, Domingo Montoya.
 
Vanessa's Avatar
 
Posts: 132
Karma: 34733
Join Date: Apr 2008
Location: Switzerland / France
Device: iLiad v2 and Sony PRS-T1
Just to let you know that the swiss french layout works perfectly
THANKS !
Vanessa is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
iLiad usb keyboard/printer cyberico iRex 3 05-15-2010 05:21 AM
SmartQ 5/7 - Custom keyboard layout ChineseGadgets Alternative Devices 0 08-07-2009 11:33 AM
usb keyboard SystemicPlural Which one should I buy? 2 06-18-2009 06:07 AM
Does it take a USB keyboard? slumba iRex 1 03-19-2009 05:08 PM
USB Keyboard JamesT iRex 5 12-23-2008 12:46 PM


All times are GMT -4. The time now is 10:29 AM.


MobileRead.com is a privately owned, operated and funded community.