View Single Post
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