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 08-28-2017, 02:27 PM   #46
coplate
Guru
coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.
 
Posts: 645
Karma: 1888888
Join Date: Jun 2009
Device: prs-505, Kindle Keyboard 3g, PW3
Quote:
Originally Posted by nasser View Post
coplate,
Great job done in troubleshooting and fixing this behaviour!
Your fix: DISPLAY ":0.0" before the script works OK for me too. Thanks a lot for your time and effort!

One small point. In your earlier script, you had used the shebang "#!/bin/sh", which you have changed in your latest to "#!/bin/bash". When I set up my script with "#!/bin/sh", it didn't work. Worked only with "#!/bin/bash"!

Also, it works even if the "&" is removed from the end, but now the kindle search box remains visible inside the kterm window. Have to do a clear or turn the screensaver on and off!

So, one more thing which was working OK on the PW1 but not on PW3/KT3 is fixed. Will check and confirm on KT3 next.

I would recommend leaving the & on the end, meaning to run it in the background. This will let the search/debug command finish, and exit back to the home screen, but also allow kterm to boot up properly.


you could also look at what koreader does when it stops the framework, but I don't know how to re-start it.

https://github.com/koreader/koreader...ader/menu.json

https://github.com/koreader/koreader...le/koreader.sh
coplate is offline   Reply With Quote
Old 08-28-2017, 02:52 PM   #47
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 coplate View Post
I would recommend leaving the & on the end, meaning to run it in the background. This will let the search/debug command finish, and exit back to the home screen, but also allow kterm to boot up properly.


you could also look at what koreader does when it stops the framework, but I don't know how to re-start it.

https://github.com/koreader/koreader...ader/menu.json

https://github.com/koreader/koreader...le/koreader.sh
Line 310
knc1 is offline   Reply With Quote
Advert
Old 08-29-2017, 09:37 AM   #48
nasser
Evangelist
nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.
 
nasser's Avatar
 
Posts: 477
Karma: 445678
Join Date: Feb 2010
Device: Too many..
coplate's solution works OK on KT3 too!

Also, I had removed the DPI detection logic in kterm.sh - by simply putting in the specific keyboard image files based on the kindle's model.
So, the kterm.sh script doesn't really add any value.
I could call the kterm executable directly in the search bar shortcut script(with the additional "&" at the end) and it works.
nasser is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Author link to authors:"=xxx" oyvey Library Management 1 12-18-2012 11:08 PM
Wait, no "Search" option for Kobo iPad/iPhone app?! andsoitgoes Kobo Reader 1 04-03-2012 10:07 AM
Adding private commands to the search bar Leeron Kindle Developer's Corner 8 07-07-2011 02:53 AM
What are "`usbQa" and "`usbNetwork" commands ? meem Amazon Kindle 0 08-04-2010 03:26 AM
Error message whenever cursor passes over "Search" bar FizzyWater Calibre 2 02-22-2009 09:37 AM


All times are GMT -4. The time now is 01:43 AM.


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