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 01-17-2014, 02:40 AM   #1
ttimasdf
Nameless Being
 
Red face The Frontlight Toggle *only* for PaperWhite2

The original one only fits PW .It cracked in pW2....
so i fix it ,to tell the truth ,only changed one line.

Code:
 FL="/sys/class/backlight/max77696-bl/brightness"
after trying in ssh,i find that the method of changing light level hasnt changed.so no more works are needed

im too lazy to have more lines judging whether you are using pw1 or PW2

if you want the kindlet for PW1,touch,see the original post below.

Quote:
Originally Posted by DuckieTigger View Post
Now that KUAL works pretty well, I wrote an extension to turn the light on and off in the launcher.

UPDATE: New version will now create two entries: FrontLight - Toggle ON/OFF and FrontLight - Toggle OFF on Wakeup in KUAL.

The first button lets you turn the light on and off on demand, the second installs/uninstalls automatic turning off of the light when you wake up from sleep. At levels greater than 10 the light will stay on, otherwise it turns off. There is a slight delay and you can notice that the light turns on and then off. This is unfortunately necessary as otherwise the light will not turn off - it has to be turned off after the Kindle had a chance to turn it on.

After turning the light off, it will stay off until PW wakes up from sleep or the light setting is changed. If auto off is enabled, it will turn off if the light level is low enough. Alternative you can turn turn the light back on in KUAL. The light will turn on to the brightness you previously set in the settings menu. The scripts will only do anything when started from Paperwhite - on other Kindles it does nothing.


To install simply download the attached zip or tar.gz, unpack into the extensions folder and start KUAL. Install KUAL by visiting its page first. New version can simply overwrite the old version, or simply delete old and replace with new.

GPG: Public key available at http://drpbox.knetconnect.com/mr-keys/ (you will need DuckieTigger-gpg.asc) Both the tar.gz and the zip file are signed by me with their corrosponding file. Sorry for the ".txt" file extension, simply remove the ".txt" after download to verify the downloads.

UPDATE: Small fix in menu.json, to make compatible with future versions of KUAL.
FrontLight.tar
  Reply With Quote
Old 01-21-2014, 01:45 PM   #2
Belenos
Connoisseur
Belenos got an A in P-Chem.Belenos got an A in P-Chem.Belenos got an A in P-Chem.Belenos got an A in P-Chem.Belenos got an A in P-Chem.Belenos got an A in P-Chem.Belenos got an A in P-Chem.Belenos got an A in P-Chem.Belenos got an A in P-Chem.Belenos got an A in P-Chem.Belenos got an A in P-Chem.
 
Posts: 58
Karma: 6090
Join Date: Oct 2013
Device: PW
Thanks!
Belenos is offline   Reply With Quote
Advert
Old 02-11-2014, 12:44 PM   #3
Fewns
Member
Fewns will become famous soon enoughFewns will become famous soon enoughFewns will become famous soon enoughFewns will become famous soon enoughFewns will become famous soon enoughFewns will become famous soon enough
 
Posts: 17
Karma: 548
Join Date: Feb 2012
Device: PW2
works.. very nice
thank you
Fewns is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New User: Paperwhite2 Queries Agama Amazon Kindle 16 12-27-2013 04:58 AM
[Paperwhite2|Off-Topic] Is that just my perception, or... ixtab Kindle Developer's Corner 9 10-01-2013 12:52 PM
PRS-T1 APK toggle partial/default refresh rigong Sony Reader Dev Corner 2 07-07-2012 03:23 AM
how to uninstall 'toggle ads' hack? JFHey Amazon Kindle 5 04-14-2012 04:10 PM
Problem with Volume Toggle? moxy789 Amazon Kindle 2 03-04-2009 03:37 PM


All times are GMT -4. The time now is 11:49 PM.


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