10-01-2016, 05:40 AM | #211 |
Evangelist
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
So... out of 197 image files in the img folder, only 32 are used. 165 files can be removed. (I'm down to less than 200 MB on my PW1.. So these things help! )
EDIT: Actually only 31, not 32, since shift key image is used twice. So, that means 166 files are redundant. Maybe, it would more convenient to have the rotation setting in kterm.conf... if it's not too difficult to code..? Kterm not starting with hidden keyboard? Maybe useful only rarely. Not a serious bug. Last edited by nasser; 10-01-2016 at 09:39 AM. |
10-01-2016, 06:51 AM | #212 |
Evangelist
Posts: 415
Karma: 750442
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
|
|
Advert | |
|
10-01-2016, 08:34 AM | #213 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
*) Check the /documents directory, you may have accidentally stored a book (for reading) on the Kindle. (I understand that some people do use Kindles to read e-books.) *) There is a thread here by someone that installed a double the factory capacity (8Gbyte) eMMC in their Kindle. Note: Takes special tools and special skills. Last edited by knc1; 10-01-2016 at 09:11 AM. |
|
10-01-2016, 09:35 AM | #214 | |
Evangelist
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
Quote:
Opening up the Kindle and soldering an eMMC is way, way beyond my league... Anyway, one good turn deserves another.. How about these suggestions to reclaim space on the Kindle?
|
|
10-01-2016, 09:37 AM | #215 |
Evangelist
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
Kterm v2.1 verified as working on PW3 and KT3!
|
Advert | |
|
10-01-2016, 09:49 AM | #216 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
#1 & #2 - -
The Kindle **should** download those 'on demand' - But I haven't checked in ages, so keep a local archive of whatever you decide to remove. |
10-02-2016, 01:27 AM | #217 | |
Evangelist
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
Quote:
Now top works! |
|
10-02-2016, 03:46 AM | #218 | |
Evangelist
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
Quote:
So I've resized these 31 image files to 126% (for 212 ppi kindles) and to 179% (for 300 ppi kindles). Zip files attached:
Tested OK on pw1, pw3 and kt3. They look better now(pw1 and pw3). baf has included a logic in the kterm.sh file which checks the resolution of the kindle and selects the appropriate layout files. But this has to be updated for the 300 ppi kindles. And also, of course, all the 3 sets of image files need to be available. For now, just delete all the files in the img/ folder and replace them from the zip file appropriate to your kindle's resolution. Some before/after screenshots attached to show the differences. In the first image, the differences for a PW1 are shown. The 1st column shows the default, shifted and function key shifted views with the existing key images. The 2nd column shows the same with the new key images. The second image shows the same comparison for the PW3. Last edited by nasser; 10-02-2016 at 10:51 AM. Reason: added screenshots |
|
10-02-2016, 03:53 AM | #219 | |
Evangelist
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
Quote:
Code:
drwxrwxr-x 2 root root 1024 Jun 12 2013 de-DE drwxrwxr-x 2 root root 1024 Jun 12 2013 default drwxrwxr-x 2 root root 1024 Jun 12 2013 en-GB drwxrwxr-x 2 root root 1024 Jun 12 2013 es-ES drwxrwxr-x 2 root root 1024 Jun 12 2013 fr-FR drwxrwxr-x 2 root root 1024 Jun 12 2013 it-IT drwxrwxr-x 2 root root 1024 Jun 12 2013 ja-JP drwxrwxr-x 2 root root 1024 Jun 12 2013 pt-BR drwxrwxr-x 2 root root 1024 Jun 12 2013 zh-Hans-CN ./de-DE: -rw-r--r-- 1 root root 408796 Jun 12 2013 Kindle_Users_Guide.azw3 ./default: -rw-r--r-- 1 root root 270500 Jun 12 2013 Kindle_Users_Guide.azw3 ./en-GB: -rw-r--r-- 1 root root 304052 Jun 12 2013 Kindle_Users_Guide.azw3 ./es-ES: -rw-r--r-- 1 root root 375680 Jun 12 2013 Kindle_Users_Guide.azw3 ./fr-FR: -rw-r--r-- 1 root root 377776 Jun 12 2013 Kindle_Users_Guide.azw3 ./it-IT: -rw-r--r-- 1 root root 369488 Jun 12 2013 Kindle_Users_Guide.azw3 ./ja-JP: -rw-r--r-- 1 root root 352072 Jun 12 2013 Kindle_Users_Guide.azw3 ./pt-BR: -rw-r--r-- 1 root root 376360 Jun 12 2013 Kindle_Users_Guide.azw3 ./zh-Hans-CN: -rw-r--r-- 1 root root 346634 Jun 12 2013 Kindle_Users_Guide.azw3 |
|
10-02-2016, 07:58 AM | #220 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
10-02-2016, 05:30 PM | #221 |
Evangelist
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
That's true that unused images should be deleted from kindle package. I didn't do it because I wasn't sure about the layout on different devices. Now I see they won't be needed, should be safe to delete them.
There is problem with scaling images. The gtk on kindles is old and built without many functions. We can't use svg for example. Probably the best way now is separate set of images for different resolutions, as nasser did (thanks!). I only wonder that maybe we could enhance the images, because enlarging caused them seem blurred. If I have some time I'll have a look at correcting them. For now I am attaching new kterm beta version (only binary to be replaced). It fixes launching kterm with hidden keyboard, it adds config/command line option for screen rotation (screen orientation will also be restored to initial value after quitting kterm), fixes flickering at start and some other minor issues. I used a bit different approach at screen rotation using dbus. I hope it will work on all devices. If everything is fine I will prepare new package soon. |
10-02-2016, 06:04 PM | #222 |
Enthusiast
Posts: 30
Karma: 118906
Join Date: Jul 2016
Device: PW3
|
Is it possible to add builtin profile/bashrc support in kterm, without modifying stock /etc/profile.
|
10-02-2016, 10:30 PM | #223 | |
Evangelist
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
Quote:
Regarding the key image re-sizing, I only used a plain vanilla imagemagick resize command to do it. Didn't add any post resizing enhancements. |
|
10-03-2016, 05:26 AM | #224 | |
Evangelist
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
Quote:
Code:
kterm -E "ENV=/path/to/custom/profile" Code:
kterm -E "PATH=$PATH:/some/path" -E "ANOTHER_VAR="xxx" Code:
#!/bin/sh command1 command2 /bin/sh |
|
10-03-2016, 05:34 AM | #225 | |
Evangelist
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
Quote:
I got rid of visible resizing on kt, I don't have pw, so I will leave it as is for now. Config entry for rotation is orientation = U with possible choices of U, L or R. |
|
Tags |
kindle touch, kindle touch hacks, terminal emulator |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
One more terminal emulator for kindle. | Matan | Kindle Developer's Corner | 158 | 03-23-2020 06:45 PM |
PRS-T1 Terminal Emulator in rupor-minimal | jcromero | Sony Reader Dev Corner | 2 | 09-26-2012 02:07 PM |
Anybody working on terminal for Kindle Touch? | markatlnk | Kindle Developer's Corner | 3 | 06-02-2012 10:07 AM |
Development Terminal Emulator oddity | twichy | enTourage Archive | 5 | 05-01-2011 11:51 AM |
DR800 rxvt (terminal emulator) for DR800 | GregorRichards | iRex | 13 | 01-04-2011 06:56 AM |