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 05-15-2016, 07:40 PM   #1
encol
Evangelist
encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.
 
Posts: 416
Karma: 765432
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
Show current time while reading

Hello,
is it possible to show current time while reading a book (not only when menu is open?)
encol is offline   Reply With Quote
Old 05-15-2016, 07:56 PM   #2
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 encol View Post
Hello,
is it possible to show current time while reading a book (not only when menu is open?)
That sounds familar, it may already be done.
knc1 is offline   Reply With Quote
Advert
Old 05-15-2016, 08:03 PM   #3
encol
Evangelist
encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.
 
Posts: 416
Karma: 765432
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
I don't know is is it possible for a KUAL extension to show something on the UI when a book is open, or to change an existing label on it (for example that showing page/position information)

Last edited by encol; 05-15-2016 at 08:06 PM.
encol is offline   Reply With Quote
Old 05-17-2016, 05:33 PM   #4
Hanspeter
Connoisseur
Hanspeter doesn't litterHanspeter doesn't litter
 
Posts: 77
Karma: 150
Join Date: Jul 2014
Device: Kindel PW1, Voyager
Here you go: https://www.mobileread.com/forums/sho...6&postcount=49

Thanks again to all that helped to make it possible. It was the one thing that I missed on my kindle.

Hape
Hanspeter is offline   Reply With Quote
Old 05-17-2016, 06:29 PM   #5
encol
Evangelist
encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.
 
Posts: 416
Karma: 765432
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
Thanks, this is what i'm looking for!
On my PW3 title height was too little, so i made a little change:
In the showtime-header.sh, from:

/mnt/us/extensions/showtitle/bin/xdotool windowsize $i 100% 30

to

/mnt/us/extensions/showtitle/bin/xdotool windowsize $i 100% 60

and it looks good now ,

BUT

after some time and usage, my kindle tends to hang with this extension active, and i need to reboot
Anyone noticed this behaviour?
Can you fix this?

Last edited by encol; 05-17-2016 at 06:48 PM.
encol is offline   Reply With Quote
Advert
Old 05-18-2016, 12:29 PM   #6
encol
Evangelist
encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.
 
Posts: 416
Karma: 765432
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
The UI stop responding but i can still use ssh via wifi.

A question for you, linux experts: how can i find the process that is causing this problem?
encol is offline   Reply With Quote
Old 05-20-2016, 11:28 AM   #7
Hanspeter
Connoisseur
Hanspeter doesn't litterHanspeter doesn't litter
 
Posts: 77
Karma: 150
Join Date: Jul 2014
Device: Kindel PW1, Voyager
Quote:
Originally Posted by encol View Post
The UI stop responding but i can still use ssh via wifi.

A question for you, linux experts: how can i find the process that is causing this problem?
There is a known issue that we can't fix at the moment. The touch screen will stop working If you tap on the title bar, or to near to it, while reading a book.

Hape
Hanspeter is offline   Reply With Quote
Old 05-20-2016, 11:45 AM   #8
encol
Evangelist
encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.
 
Posts: 416
Karma: 765432
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
This is what happened!
The problem is that with the latest firmware this region is very utilized for various tasks

Maybe we can move the title bar on the bottom? Not really nice, but in this way it will not interfere
encol is offline   Reply With Quote
Old 05-20-2016, 12:24 PM   #9
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,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Going to go out on a limb here: Nope.
NiLuJe is offline   Reply With Quote
Old 05-20-2016, 01:50 PM   #10
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 encol View Post
This is what happened!
The problem is that with the latest firmware this region is very utilized for various tasks

Maybe we can move the title bar on the bottom? Not really nice, but in this way it will not interfere
I'll second that: Nope.
There is already a 'tool bar' down there - not often seen.

Tap the lower left corner of the display with a book open, you'll see one of its features.

Last edited by knc1; 05-20-2016 at 01:53 PM.
knc1 is offline   Reply With Quote
Old 05-28-2016, 06:24 PM   #11
encol
Evangelist
encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.
 
Posts: 416
Karma: 765432
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
Ok i made a KUAL extension for this.

I tested on my PW3 5.7.4.1, let me know if it works on other models.

PS: for the experts:
There is some way to know if kindle is in "reading book mode"?
i'd like to auto-hide the time showed by this extension if i am in the kindle home, because in this case it's unnecessary

Last edited by encol; 05-28-2016 at 06:58 PM.
encol is offline   Reply With Quote
Old 05-28-2016, 07:37 PM   #12
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,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Check if current booklet is home (cf. screensaver hack for inspiration).
NiLuJe is offline   Reply With Quote
Old 05-29-2016, 05:15 AM   #13
encol
Evangelist
encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.
 
Posts: 416
Karma: 765432
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
Quote:
Originally Posted by NiLuJe View Post
I'd sleep a bit more and keep the last shown time around to avoid launching eips if time hasn't moved .
Yes, in the next version i'd like to call eips only when necessary (time is changed, page is changed, user tap on the top bar...)

I suppose that calling eips every second increase battery consumption.
There is any way to detect if the screen (or a portion of the screen) has updated?

Quote:
Originally Posted by NiLuJe View Post
Check if current booklet is home (cf. screensaver hack for inspiration).
Do you mean a call to lipc-wait-event?

Every suggestion is appreciated
encol is offline   Reply With Quote
Old 05-29-2016, 07:21 AM   #14
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,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Not necessarily, there might be a way to simply query the current booklet over lips. The ScreenSavers hack has to react to booklet *switches*, so, yeah, had to resort to wait-event there.

As for the screen, besides looking at the frame buffer programatically, which seems kind of overkill, no idea. (We also have X & the Damage extension running, but I have no idea how that would be helpful to you without an actual X window).
NiLuJe is offline   Reply With Quote
Old 01-02-2017, 04:12 AM   #15
Hanspeter
Connoisseur
Hanspeter doesn't litterHanspeter doesn't litter
 
Posts: 77
Karma: 150
Join Date: Jul 2014
Device: Kindel PW1, Voyager
Hi encol,

did you ever continue to work on this extension?

I switched to a Kindle voyager and realised that on the current fw my extension still shows the title bar, but the time is not updated any more. I expected that they do not update the time on title bar any more if it is not shown . What makes sense from the power consumption side, but runs my extension useless ...

Happy new year
HaPe
Hanspeter is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Expanded search option for "Show books by the same author as the current book" ALT+A Sisela Library Management 1 11-28-2015 10:54 AM
PRS-T2 Current time while reading chemi Sony Reader 5 01-07-2013 03:18 PM
What is the best current e-reader for reading manga? Somebody Which one should I buy? 28 02-14-2011 05:24 PM
What is the best current e-reader for reading japanese manga only? Heinstein Which one should I buy? 6 01-09-2011 10:50 AM


All times are GMT -4. The time now is 09:28 AM.


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