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-22-2015, 11:58 AM   #1
Rocketmagnet
Junior Member
Rocketmagnet began at the beginning.
 
Posts: 6
Karma: 10
Join Date: May 2015
Device: Kindle 4
Kill the GUI ?

Hi,

Is it possible to kill the GUI on the K4NT? Looking at ps aux, I can't easily guess which process might be the GUI.

I've written a Weather HUD in python. A shell script puts the Kindle to sleep, and when it wakes up, the python script runs, downloading the weather info, and rendering the image to a PNG file. It then calls eips to display it.

However, when the kindle wakes from sleep, part of the GUI appears, overwriting the screen during the downloading & rendering process. I'd like to avoid this, perhaps by simply killing the GUI process.

Is this possible, and would there be any disastrous consequences if I did?

Hugo
Rocketmagnet is offline   Reply With Quote
Old 06-22-2015, 12:14 PM   #2
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Please use the forums correctly. Questions such as this clearly belong in the development sub-forum, to where I'm now moving this.

Thanks.
HarryT is offline   Reply With Quote
Advert
Old 06-22-2015, 12:17 PM   #3
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Moderator Notice

Thread moved to Developer's Corner. Questions about hacking on the Kindle do not belong in the main Kindle forum.
eschwartz is offline   Reply With Quote
Old 06-22-2015, 12:30 PM   #4
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
I see you've seen the Kindle Weather project. Have you considered modifying the Online Screensaver Extension to use your own custom update.sh code?

If not... killing the GUI should be pretty safe.
eschwartz is offline   Reply With Quote
Old 06-22-2015, 02:11 PM   #5
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Yup, /etc/init.d/framework stop
NiLuJe is offline   Reply With Quote
Advert
Old 06-26-2015, 04:47 AM   #6
Rocketmagnet
Junior Member
Rocketmagnet began at the beginning.
 
Posts: 6
Karma: 10
Join Date: May 2015
Device: Kindle 4
NiLuJe, Thanks: that's just what I wanted.

HarryT & eschwartz, Sorry, my bad.

eschwartz, I originally looked at the Kindle Weather project, but I hadn't seen the Online Screensaver Extension. I'm too near completion of my project to move to this now, but there's some useful stuff in there. Thanks

Hugo
Rocketmagnet is offline   Reply With Quote
Old 06-26-2015, 09:33 AM   #7
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by Rocketmagnet View Post
NiLuJe, Thanks: that's just what I wanted.

HarryT & eschwartz, Sorry, my bad.
Hey, how about that! I don't think I've ever seen two moderators cross-post a moderator message before.

Quote:
eschwartz, I originally looked at the Kindle Weather project, but I hadn't seen the Online Screensaver Extension. I'm too near completion of my project to move to this now, but there's some useful stuff in there. Thanks

Hugo
You're welcome.
eschwartz is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
To Kill a Mockingbird Kieran Seymour Deals and Resources (No Self-Promotion or Affiliate Links) 5 07-12-2014 07:56 PM
'VOWS TO KILL' - Detective receives an email: 'I will kill you on your wedding day'. tothepoint Self-Promotions by Authors and Publishers 2 02-21-2013 06:27 AM
You Will Never Kill Piracy, and Piracy Will Never Kill You xg4bx News 180 10-27-2012 07:49 AM
'Kill Decision' everywhere but UK? Suffolk Punch General Discussions 1 07-29-2012 06:51 AM
To Kill a Mockigbird. . . GlenBarrington Lounge 0 01-01-2012 10:05 AM


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


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