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 10-24-2013, 06:48 AM   #1
Aeris
Developer's Corner Mascot
Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.
 
Aeris's Avatar
 
Posts: 486
Karma: 1277790
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
Smile Easy light control for kindle paperwhite apps... did you know?

Maybe you all already know about it, but running light.sh in terminal shows a nice light control, embeddable in any kual app for Kindle PW

(I've tried to spot the script position to give a glance at the inner code but wasn't able to find it)

UPDATE: the command inside light.sh that launches light controls is:
xtestlab126 -l

Last edited by Aeris; 10-24-2013 at 07:05 AM.
Aeris is offline   Reply With Quote
Old 10-24-2013, 06:56 AM   #2
aditya3098
Guru
aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.
 
Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
Try:
find / | grep -i light.sh
aditya3098 is offline   Reply With Quote
Advert
Old 10-24-2013, 07:03 AM   #3
Aeris
Developer's Corner Mascot
Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.
 
Aeris's Avatar
 
Posts: 486
Karma: 1277790
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
Ah! I've tried only:
cd /
find light.sh

But didn't work... your code works instead, thank you!
Aeris is offline   Reply With Quote
Old 10-24-2013, 08:11 AM   #4
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 Aeris View Post
Ah! I've tried only:
cd /
find light.sh

But didn't work... your code works instead, thank you!
*nix (and Linux) "find" is a much different command than ones of the same name on other operating systems.

"man find" for the details, either in a web search engine or in a full Linux/Mac installation with the man(uals) installed.

Briefly: command starting-path tests
In this case it would have been:
find / -name 'light.sh'
or, case insensitive:
find / -iname 'light.sh'
or, case insensitive, anything starting with 'light':
find / -iname 'light*'

man find
knc1 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle Active Content (games and apps for E-Ink Kindles, e.g. Paperwhite) Sven Viking Amazon Kindle 2 08-29-2013 05:41 PM
Kindle Paperwhite apps or games? ProDigit Amazon Kindle 30 02-06-2013 01:36 PM
Kindle Paperwhite-Questions on Light & Time to Read Tinks Amazon Kindle 8 11-26-2012 09:16 PM
Trade Trade a Kindle Touch 3G w/Leather light cover for Paperwhite shrktank Flea Market 0 11-19-2012 08:02 PM
Paperwhite: Independent control of 3G and Wi-Fi? Spankypoo Amazon Kindle 7 10-01-2012 04:05 PM


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


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