Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 02-19-2008, 09:42 AM   #1
yokos
Pac-Man caught my iLiad.
yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.
 
yokos's Avatar
 
Posts: 807
Karma: 3595
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: Boox Max Lumi, iRex iLiad (RIP)
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:	628
Size:	73.9 KB
ID:	10526  
Attached Files
File Type: zip xmodmap.0.1.German.Layout.zip (26.4 KB, 437 views)
File Type: zip 95_xmodmaps.zip (135.6 KB, 439 views)

Last edited by yokos; 02-22-2008 at 08:34 AM. Reason: EDIT III
yokos is offline   Reply With Quote
Old 02-20-2008, 08: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
Advert
Old 02-21-2008, 11:13 AM   #3
yokos
Pac-Man caught my iLiad.
yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.
 
yokos's Avatar
 
Posts: 807
Karma: 3595
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: Boox Max Lumi, iRex iLiad (RIP)
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 11:36 AM. Reason: removed zip file, attached it to #1
yokos is offline   Reply With Quote
Old 02-21-2008, 05: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, 11:55 AM   #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: 134
Karma: 34733
Join Date: Apr 2008
Location: Switzerland / France
Device: iLiad v2, Sony PRS-T1, Kindle Voyage
Just to let you know that the swiss french layout works perfectly
THANKS !
Vanessa is offline   Reply With Quote
Advert
Reply


Forum Jump

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


All times are GMT -4. The time now is 06:25 AM.


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