10-04-2016, 06:37 AM | #241 |
Evangelist
Posts: 415
Karma: 750442
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
|
It works fine on my PW3
Thank you! |
10-04-2016, 09:40 AM | #242 |
Evangelist
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
Kterm v2.2 working OK on PW1, PW3 & KT3.
Only.. If you have a script which calls the kterm executable directly with parameters (usually -e), bypassing kterm.sh, then your'e stuck with the default keyboard images. To avoid that, you have to pass parameters to the kterm.sh script. But it looks like it has to be re-written to accept parameters. Or am I missing something? |
Advert | |
|
10-04-2016, 09:54 AM | #243 | |
Evangelist
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
Quote:
|
|
10-04-2016, 10:03 AM | #244 | ||
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Quote:
or as baf suggests, use a custom script. As (now) written: https://github.com/bfabiszewski/kter...g/bin/kterm.sh It does not expect parameters. To submit changes, fixes or whatever: use the features of git/github. I.E (in general - full directions on github and a zillion places on the 'net): Clone the repo. Make a local branch. Add / Modify as desired. Issue a pull request. (the author can review in context) For individuals with open source code, github is free (one of the reasons we use it often). |
||
10-04-2016, 10:17 AM | #245 |
ɴₐɴ
Posts: 421
Karma: 2507940
Join Date: Jun 2011
Location: 37.2N 93.3W
Device: KV PW4 PW3 PW2
|
Works great on my K5 and PW2. Thank you.
|
Advert | |
|
10-04-2016, 10:56 AM | #246 | ||
Evangelist
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
Quote:
Quote:
I'll just stick to using a single img/ folder and keyboard.xml. ... and copy the appropriate image files to each kindle.. ... and of course, comment out the if then logic of kterm.sh. EDIT: But, this isn't an option for everybody.. especially plug-and-play users.. so, baf's package with 3 sets of image files and the layout selection logic in the startup script is the ideal solution.. Last edited by nasser; 10-04-2016 at 11:02 AM. |
||
10-04-2016, 11:18 AM | #247 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Also, if it is made too Kindle specific, it loses its ability to run on any device with GTK+ support. I.E: It should, and probably still does, run on your PC or Laptop. |
|
10-04-2016, 11:24 AM | #248 | |
Evangelist
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
Quote:
Code:
bash: ./kterm: cannot execute binary file: Exec format error |
|
10-04-2016, 12:20 PM | #249 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
10-04-2016, 08:00 PM | #250 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
When this version is considered stable (as in no code changes for xxyy time) - We can wrap it in an update_*.bin package. The install script of the package can selectively install the file(s) that match the Kindle model on which the updater is running. This will also probably get rid of the keyboard flashing during application start-up when the code has to switch from the default keyboard. |
|
10-05-2016, 02:31 AM | #251 | |
Evangelist
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
Quote:
Neither will it solve flashing problem. As we specify keyboard layout on command line kterm will just start with given config instead of default one. It won't be switched later. I don't quite get what problems it could solve, but if there is need for kterm.sh script to accept the arguments that will be passed to kterm, the patch is trivial. Code:
#!/bin/sh
EXTENSION=/mnt/us/extensions/kterm
DPI=`cat /var/log/Xorg.0.log | grep DPI | sed -n 's/.*(\([0-9]\+\), [0-9]\+).*/\1/p'`
#use different layouts for high resolution devices
if [ ${DPI} -gt 290 ]; then
PARAM="-l ${EXTENSION}/layouts/keyboard-300dpi.xml"
elif [ ${DPI} -gt 200 ]; then
PARAM="-l ${EXTENSION}/layouts/keyboard-200dpi.xml"
fi
${EXTENSION}/bin/kterm ${PARAM} "$@"
|
|
10-05-2016, 02:44 AM | #252 |
Evangelist
Posts: 415
Karma: 750442
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
|
Can i suggest a new feature for the next version(s)?
It would be great some way (menu?, shortcut?, ..?) to show/hide the keyboard from inside kterm (once is started) or to rotate the screen |
10-05-2016, 02:55 AM | #253 |
Evangelist
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
Hmm, there is a menu. It opens on two finger touch in the terminal window. Doesn't it work for you?
|
10-05-2016, 03:12 AM | #254 |
Evangelist
Posts: 415
Karma: 750442
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
|
Ehm... Sorry I haven't seen it before
|
10-05-2016, 03:31 AM | #255 |
Evangelist
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
|
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 |