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 08-13-2011, 01:52 AM   #1
fbdev
fbdev
fbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel is
 
Posts: 107
Karma: 70177
Join Date: Jul 2011
Device: kindle
keep your kindle awake (kaffeine?)

version of kaffeine has been deprecated.
the latest version is: kaffeine p0

keeps your kindle awake; preventing standby and possibly screensaver.
draws a bug on the screen to let you know it's active.
-bug location is (x,y); dimensions are (w,h); color is ::gag::
-add + to disable the screensaver.
-to disable the bug, pass 0 for either width or height.
-first time you run it, it will activate.
-second time you run it, it will deactivate.
-bug will remain until the eink display updates.

kaffeine x y w h c [+]
x: 0 = left, 599 = right
y: 0 = top, 799 = bottom
w: width
h: height
c: color (0:black to 15:white)
+: disable screensaver

examples:

kaffeine 0 0 2 20 0
draw bug @0,0 2 pixels by 20 pixels in black. screensaver not disabled.

kaffeine 0 0 0 0 0 +
no bug; screensaver disabled.

why would you want this?
usbnetwork will disconnect when idle (annoying!).

md5:
2739301998d30b35def75b4cfd6822b9 kaffeine.bz2

sha512:
6244706c4af550b154324d65d050bf83d0bbfe8098ee85ff8c 5943a8396b5ffb403af59f50e86027dfe0c26f3523af3d5899 a14a6e17d20bbbec62bd2fd81d8d kaffeine.bz2
Attached Files
File Type: bz2 kaffeine.bz2 (5.3 KB, 318 views)

Last edited by fbdev; 09-30-2011 at 10:42 PM.
fbdev is offline   Reply With Quote
Old 08-13-2011, 01:59 AM   #2
fbdev
fbdev
fbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel is
 
Posts: 107
Karma: 70177
Join Date: Jul 2011
Device: kindle
you'll have to chmod 755 the binary; i didn't tar it.
fbdev is offline   Reply With Quote
Advert
Old 08-13-2011, 09:30 AM   #3
PoP
 curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 3,002
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
Nice fbdev.

I would have called it Kafkaffeine

But when I tried it no bug got displayed. What am I missing?
PoP is offline   Reply With Quote
Old 08-13-2011, 09:42 AM   #4
mikeayers
Zealot
mikeayers ought to be getting tired of karma fortunes by now.mikeayers ought to be getting tired of karma fortunes by now.mikeayers ought to be getting tired of karma fortunes by now.mikeayers ought to be getting tired of karma fortunes by now.mikeayers ought to be getting tired of karma fortunes by now.mikeayers ought to be getting tired of karma fortunes by now.mikeayers ought to be getting tired of karma fortunes by now.mikeayers ought to be getting tired of karma fortunes by now.mikeayers ought to be getting tired of karma fortunes by now.mikeayers ought to be getting tired of karma fortunes by now.mikeayers ought to be getting tired of karma fortunes by now.
 
mikeayers's Avatar
 
Posts: 135
Karma: 432377
Join Date: Nov 2010
Location: USA
Device: Kindle PW 10thGen, Kobo Clara HD
Why don't you want your kindle to sleep?
Are to torturing them to get some information?
Does the ASPCK (American Society for the Prevention of Curelty to Kindles) know about you?
mikeayers is offline   Reply With Quote
Old 08-13-2011, 05:04 PM   #5
Harry_Y
Addict
Harry_Y ought to be getting tired of karma fortunes by now.Harry_Y ought to be getting tired of karma fortunes by now.Harry_Y ought to be getting tired of karma fortunes by now.Harry_Y ought to be getting tired of karma fortunes by now.Harry_Y ought to be getting tired of karma fortunes by now.Harry_Y ought to be getting tired of karma fortunes by now.Harry_Y ought to be getting tired of karma fortunes by now.Harry_Y ought to be getting tired of karma fortunes by now.Harry_Y ought to be getting tired of karma fortunes by now.Harry_Y ought to be getting tired of karma fortunes by now.Harry_Y ought to be getting tired of karma fortunes by now.
 
Harry_Y's Avatar
 
Posts: 305
Karma: 704492
Join Date: Jun 2011
Location: NY
Device: Kindle 3, Kindle DX, Galaxy Tab 2
Does it work when playing audio books?

(does it keep the kindle from going in to standby)
Harry_Y is offline   Reply With Quote
Advert
Old 08-13-2011, 11:53 PM   #6
fbdev
fbdev
fbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel is
 
Posts: 107
Karma: 70177
Join Date: Jul 2011
Device: kindle
Quote:
Originally Posted by PoP View Post
Nice fbdev.

I would have called it Kafkaffeine

But when I tried it no bug got displayed. What am I missing?
try:
kaffeine 0 0 10 10 7 +

this will give you a 10x10 pixel bug in the top left of your screen. it'll be 50% gray, so you'll see it on black or white.

with the + it will completely disable the screensaver.
fbdev is offline   Reply With Quote
Old 08-13-2011, 11:54 PM   #7
fbdev
fbdev
fbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel is
 
Posts: 107
Karma: 70177
Join Date: Jul 2011
Device: kindle
Quote:
Originally Posted by Harry_Y View Post
Does it work when playing audio books?

(does it keep the kindle from going in to standby)
yes.
try this command line:
kaffeine 0 0 10 10 7

this will keep the audio from cutting out.
fbdev is offline   Reply With Quote
Old 08-13-2011, 11:55 PM   #8
fbdev
fbdev
fbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel is
 
Posts: 107
Karma: 70177
Join Date: Jul 2011
Device: kindle
Quote:
Originally Posted by mikeayers View Post
Why don't you want your kindle to sleep?
Are to torturing them to get some information?
Does the ASPCK (American Society for the Prevention of Curelty to Kindles) know about you?
i sent them a nasty letter.
i'm still waiting for a response.
fbdev is offline   Reply With Quote
Old 08-14-2011, 12:17 AM   #9
fbdev
fbdev
fbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel is
 
Posts: 107
Karma: 70177
Join Date: Jul 2011
Device: kindle
Quote:
Originally Posted by PoP View Post
Nice fbdev.

I would have called it Kafkaffeine

But when I tried it no bug got displayed. What am I missing?
also, the bug is portrait/invert portrait modes only.

no landscape.
fbdev is offline   Reply With Quote
Old 08-14-2011, 06:47 AM   #10
PoP
 curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 3,002
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
Quote:
Originally Posted by fbdev View Post
try:
kaffeine 0 0 10 10 7 +
Quote:
Originally Posted by fbdev View Post
also, the bug is portrait/invert portrait modes only.
no landscape.
I see it now. This will be useful. Thanks again.
PoP is offline   Reply With Quote
Old 08-25-2011, 06:16 AM   #11
max99
Addict
max99 ought to be getting tired of karma fortunes by now.max99 ought to be getting tired of karma fortunes by now.max99 ought to be getting tired of karma fortunes by now.max99 ought to be getting tired of karma fortunes by now.max99 ought to be getting tired of karma fortunes by now.max99 ought to be getting tired of karma fortunes by now.max99 ought to be getting tired of karma fortunes by now.max99 ought to be getting tired of karma fortunes by now.max99 ought to be getting tired of karma fortunes by now.max99 ought to be getting tired of karma fortunes by now.max99 ought to be getting tired of karma fortunes by now.
 
Posts: 201
Karma: 1300000
Join Date: Nov 2010
Device: Kindle DXG, PW
is there any way to make a kindle go into standby (low power mode) without invoking the screensavers?

if so we'd have a nice way to sleep the kindle with the current page still visible. many people have been requesting this.

kind regards
max99 is offline   Reply With Quote
Old 08-26-2011, 01:02 AM   #12
fbdev
fbdev
fbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel is
 
Posts: 107
Karma: 70177
Join Date: Jul 2011
Device: kindle
have fun.

Quote:
Originally Posted by max99 View Post
is there any way to make a kindle go into standby (low power mode) without invoking the screensavers?

if so we'd have a nice way to sleep the kindle with the current page still visible. many people have been requesting this.

kind regards
fbdev is offline   Reply With Quote
Old 09-06-2011, 09:09 PM   #13
thebestjeter
Addict
thebestjeter ought to be getting tired of karma fortunes by now.thebestjeter ought to be getting tired of karma fortunes by now.thebestjeter ought to be getting tired of karma fortunes by now.thebestjeter ought to be getting tired of karma fortunes by now.thebestjeter ought to be getting tired of karma fortunes by now.thebestjeter ought to be getting tired of karma fortunes by now.thebestjeter ought to be getting tired of karma fortunes by now.thebestjeter ought to be getting tired of karma fortunes by now.thebestjeter ought to be getting tired of karma fortunes by now.thebestjeter ought to be getting tired of karma fortunes by now.thebestjeter ought to be getting tired of karma fortunes by now.
 
Posts: 208
Karma: 757546
Join Date: Sep 2010
Device: Kindle 3 Wifi and Kindle DX Graphite
With this I can prevent the Kindle from going to sleep mode automatically after 10 minutes, but also have the possibility of slide and release the power switch and invoke the screensaver without provoking the Kindle to sleep?

The issue is that I installed the 3.2.1 firmware on my DXG and it take to long to wakeup, but I like the screensaver I would like to still use them?
thebestjeter is offline   Reply With Quote
Old 09-07-2011, 04:19 PM   #14
Kenneth_irl
Addict
Kenneth_irl makes transoceanic flights without the assistance of an airplaneKenneth_irl makes transoceanic flights without the assistance of an airplaneKenneth_irl makes transoceanic flights without the assistance of an airplaneKenneth_irl makes transoceanic flights without the assistance of an airplaneKenneth_irl makes transoceanic flights without the assistance of an airplaneKenneth_irl makes transoceanic flights without the assistance of an airplaneKenneth_irl makes transoceanic flights without the assistance of an airplaneKenneth_irl makes transoceanic flights without the assistance of an airplaneKenneth_irl makes transoceanic flights without the assistance of an airplaneKenneth_irl makes transoceanic flights without the assistance of an airplaneKenneth_irl makes transoceanic flights without the assistance of an airplane
 
Kenneth_irl's Avatar
 
Posts: 212
Karma: 55934
Join Date: Jan 2011
Location: Denmark
Device: Kindle 3 + Paperwhite 7th gen
Thanks for sharing this script.

Last edited by Kenneth_irl; 09-07-2011 at 04:28 PM.
Kenneth_irl 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
Free ebook today only: Roger Ebert, Awake in the Dark soondai Deals and Resources (No Self-Promotion or Affiliate Links) 7 10-01-2010 06:43 AM
Fantasy Book Awake (Are We)? recommendation Rockstone Reading Recommendations 7 06-08-2010 12:24 AM


All times are GMT -4. The time now is 07:03 AM.


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