Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 12-09-2012, 10:24 AM   #1
sticker
Junior Member
sticker began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2012
Device: Kindle Paperwhite
Paperwhite: ssh page turn?

Has anyone worked out how to turn pages from the shell via ssh? I've experimented with some incantations of lipc-set-prop trying to send a message to the reader. i.e.

Code:
lipc-set-prop com.lab126.acxreader gotoPosition 1234
and so on, but no luck. Any ideas?
sticker is offline   Reply With Quote
Old 12-09-2012, 11:27 AM   #2
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
hmm. I seem to recall that I have some apps that can "pretend" to send keypresses.

If you have no joy natively I will have a hunt about
twobob is offline   Reply With Quote
Advert
Old 12-09-2012, 11:32 AM   #3
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Quote:
Originally Posted by sticker View Post
Has anyone worked out how to turn pages from the shell via ssh? I've experimented with some incantations of lipc-set-prop trying to send a message to the reader. i.e.

Code:
lipc-set-prop com.lab126.acxreader gotoPosition 1234
and so on, but no luck. Any ideas?
I don't *think* that there is any easy command-line way (but I may be wrong) - most of the reader logic seems to be hardcoded inside the Java classes.

twobob's idea of simulating taps may be the most promising approach.
ixtab is offline   Reply With Quote
Old 12-09-2012, 01:04 PM   #4
sticker
Junior Member
sticker began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2012
Device: Kindle Paperwhite
Quote:
Originally Posted by twobob View Post
hmm. I seem to recall that I have some apps that can "pretend" to send keypresses.

If you have no joy natively I will have a hunt about
Thanks, I found this http://www.fabiszewski.net/kindle-untouchable/ and tried modifying it without any luck so far.

Would be great if you find something that works. I'm not sure if sending PgUp/PgDown keyboard symbols would work on the Paperwhite - of course MouseEvents would though. Something like xdotool would work if it's compilable, although that's overkill.
sticker is offline   Reply With Quote
Old 12-09-2012, 08:22 PM   #5
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
okay. I will have a think.

I have xdotool for all the kindles (in fact I have post in up here somewheres)
if that is all you need to solution is already posted.

if not let me know what you want.

Last edited by twobob; 12-09-2012 at 08:23 PM. Reason: https://www.mobileread.com/forums/showpost.php?p=2269614&postcount=39
twobob is offline   Reply With Quote
Advert
Old 12-09-2012, 08:24 PM   #6
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
bit of extra info. I think you only actually need to reference the xdotool lib - the x11r6 one is native IIRC.
HTH
twobob is offline   Reply With Quote
Old 12-10-2012, 09:54 AM   #7
sticker
Junior Member
sticker began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2012
Device: Kindle Paperwhite
Thanks, xdotool works perfectly.

Code:
xdotool mousemove 500 500 click 1
sticker is offline   Reply With Quote
Old 12-10-2012, 02:51 PM   #8
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
ta da

send flowers
twobob is offline   Reply With Quote
Old 12-10-2012, 04:26 PM   #9
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Quote:
Originally Posted by twobob View Post
ta da

send flowers
ixtab is offline   Reply With Quote
Old 12-10-2012, 07:25 PM   #10
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Ah thanks My favourite!!!

wheeeeeeeeeeeeeeeeeeeeeeeee!
twobob is offline   Reply With Quote
Old 12-10-2012, 07:30 PM   #11
qlob
Official Lurker
qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.
 
qlob's Avatar
 
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
Quote:
Originally Posted by twobob View Post
Ah thanks My favourite!!!
wheeeeeeeeeeeeeeeeeeeeeeeee!
*slides down a slide*
qlob is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Paperwhite refreshes at every page problem Julius Caesar Amazon Kindle 3 11-25-2012 12:47 AM
Help: OS X + SSH + Paperwhite Ecaz Kindle Developer's Corner 4 11-01-2012 09:17 PM
Hacks Turn off Kindle Paperwhite Special offer ads Tapash Amazon Kindle 25 10-02-2012 01:18 PM


All times are GMT -4. The time now is 04:50 PM.


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