Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 06-25-2014, 09:59 AM   #1
gdamjan
Junior Member
gdamjan began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2014
Device: Kindle Paperwhite 2nd gen
How to package a new keyboard layout for Touch/Paperwhite

I've created a keyboard layout for macedonnian language (uses cyrillic).
I've tested it on both Touch and Paperwhite (with firmware 5.x), but I've used ssh access to get the original "keyboard.cramfs.img" add the layout to it, hack the utils.so file and package it again.

I'd like to make a simpler method now, that would be useful for people that otherwise wouldn't be comforable to use a unix shell. What is my best option here?
gdamjan is offline   Reply With Quote
Old 06-25-2014, 10:37 AM   #2
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by gdamjan View Post
I've created a keyboard layout for macedonnian language (uses cyrillic).
I've tested it on both Touch and Paperwhite (with firmware 5.x), but I've used ssh access to get the original "keyboard.cramfs.img" add the layout to it, hack the utils.so file and package it again.

I'd like to make a simpler method now, that would be useful for people that otherwise wouldn't be comforable to use a unix shell. What is my best option here?
A "bind" mount of the custom file living in USB storage onto the system file.
*) If something goes wrong, relatively easy to recover from the change.
*) Will not be over-written by Amazon image file updates.
knc1 is offline   Reply With Quote
Advert
Old 06-25-2014, 01:26 PM   #3
kaznelson
Old Kaz
kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.
 
kaznelson's Avatar
 
Posts: 208
Karma: 1064151
Join Date: May 2010
Device: PocketBook Era
gdamjan
For example, change "Italian" language and install your macedonian keyboard to /var/local/keyboard/it:

/etc/upstart/kbd_mac.conf
Code:
start on mounted_userstore

task

script
	[ -d "/var/local/keyboard/it" ] || mkdir -p /var/local/keyboard/it
	mount --bind /var/local/keyboard/it /usr/share/keyboard/it
end script
Working source with russian keyboard on the-ebook.org forum.
kaznelson is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hacks How to package a new keyboard layout for Touch/Paperwhite gdamjan Amazon Kindle 1 06-21-2014 09:44 PM
Use different Keyboard Layout for prev/next keys funkybeat Kindle Developer's Corner 1 06-28-2013 12:58 PM
KT Custom Keyboard layout aranwe Kindle Developer's Corner 2 09-24-2012 05:45 PM
How to modify keyboard layout [help requested] lorenzoens enTourage eDGe 11 01-16-2012 03:32 PM
Calibre not using same Keyboard Layout Tehnam Devices 2 04-04-2011 02:44 AM


All times are GMT -4. The time now is 05:27 AM.


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