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 07-31-2016, 07:01 PM   #2146
hokie83
Member
hokie83 began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Feb 2012
Device: none
.....Link please, there is more than one listed in this thread.

https://www.mobileread.com/forums/sho...postcount=1684



.....Any script you find here is probably intended to be run on the Kindle.

Forgive me, but this is the part I do not understand. Installing the jailbreak and hacks stretched the limits of my ability. I assume this must involve the usbnetwork program or some other terminal program, but it seems dangerous for someone who doesn't know exactly what they are doing to try this. The readme file for the USBnetwork file certainly says that.



..... Why in the world .... ? Write a script file that runs on the Kindle.
It can probably be done as a single line command.

Well I have a few hundred images (I know I can only use a 100 at a time). So I thought it would be easiest to make the conversion on my PC. Especially since I do not understand how to send the command to the kindle.



....Since you give zip, zero, nada amount of information about your programming background, I can't know what to write that might help you.

I have written very basic batch programs in the past. That is it. I downloaded the imagemagick program and it seems for someone with a bit more knowledge could write a batch program to run the same adjustments as in the script referenced in the linked post above.

I know I can figure out the DOS batch stuff eventually, just thought someone could do it much quicker.
hokie83 is offline   Reply With Quote
Old 07-31-2016, 07:38 PM   #2147
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Well, it should be the same in batch or bash, you will just need to change the variable references and figure out your own for loop.

As a general rule of thumb, the people here are Linux users and don't necessarily know how to write stuff using the cmd.exe paradigm.

...

Personally, I would recommend doing this as a KUAL extension. That way it can be reused with a click of a button.

In fact, NiLuJe, how about you add some sort of staging folder to the hack that people can use to process their images (via a KUAL trigger?) to add to their screensaver pool.
eschwartz is offline   Reply With Quote
Advert
Old 07-31-2016, 07:54 PM   #2148
hokie83
Member
hokie83 began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Feb 2012
Device: none
That explains why some of us without any Linux or real programming experience can be confused by much of what we read here.

I will try the imagemagick forums to see if I can get some assistance there.
Thanks for your time.

It would be great if this could be built into the program itself . After reviewing this thread, I think I am hardly alone in wanting this.
hokie83 is offline   Reply With Quote
Old 07-31-2016, 08:41 PM   #2149
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,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
It'll be approximately 50 times slower than on a desktop, where it's trivial to do, but, meh, can't hurt, I guess...

In the meantime, you basically just need to figure out how to do a for loop in batch and that's it.

Last edited by NiLuJe; 07-31-2016 at 08:46 PM.
NiLuJe is offline   Reply With Quote
Old 07-31-2016, 08:55 PM   #2150
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 hokie83 View Post
Quote:
Link please, there is more than one listed in this thread.
https://www.mobileread.com/forums/sho...postcount=1684
- - - -
That is the entire program.
It will 'fix' every file that matches the name pattern: bg_*.png
in the current directory.
Nothing more for you to do than run it, on the kindle, with the current directory correctly set.

To do it interactively requires command line access -
either kTerm or ssh connection.

To do it push button style, take that one line program, put in a file (*.sh), precede it with a cd command to the proper place, and dress it up as a KUAL menu extension.
knc1 is offline   Reply With Quote
Advert
Old 07-31-2016, 09:42 PM   #2151
hokie83
Member
hokie83 began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Feb 2012
Device: none
I did set up a for do loop, I just didn't get it quite right yet. I understand doing it in a dos batch file isn't the best, most elegant solution, but as I have no experience writing KUAL extensions or much of anything else that has been suggested, it will certainly be the quickest way for me to do this.

In any case thanks for making the screensaver hack and trying to help me out.
hokie83 is offline   Reply With Quote
Old 07-31-2016, 09:48 PM   #2152
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 hokie83 View Post
I did set up a for do loop, I just didn't get it quite right yet. I understand doing it in a dos batch file isn't the best, most elegant solution, but as I have no experience writing KUAL extensions or much of anything else that has been suggested, it will certainly be the quickest way for me to do this.

In any case thanks for making the screensaver hack and trying to help me out.
Use the complete, single line, program that you linked to as your model.
Add a line break after each semi-colon + appropriate white space to make it a more readable, multi-line program.

*.bat and *.sh are not all that different (the *.bat processor was inspired by the same command line processor as the *.sh processor years ago).

Last edited by knc1; 07-31-2016 at 09:50 PM.
knc1 is offline   Reply With Quote
Old 07-31-2016, 11:22 PM   #2153
fourwinds
Junior Member
fourwinds began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jul 2016
Device: kindle paperwhite 3
I am having a few difficulties. I installed this perfectly fine one one of my kindles (both are paper white 3, bought at the same time).

My partner's kindle the preview shows up fine under the KAUL launcher but when it goes to lock screen it just dims on the current page and sometimes flashes as if a picture will show up but ultimately stays on whatever the text page is.

I followed the following instructions exactly on my kindle (works fine) but my partner's kindle does not:

https://www.mobileread.com/forums/sho...d.php?t=275877
https://www.mobileread.com/forums/sho...d.php?t=251143
https://www.mobileread.com/forums/sho...d.php?t=251143
and then this thread

I did add the blank file that is called "cover" to the linkss folder.
I also added the pinfo_header

Both the cover and the header info look correct in the preview under the KAUL launcher, it is only when the screen actually locks that it doesn't show the cover or the personal info header, it just dims the screen and sometimes flashes to solid empty screen very quickly and ends up back on the last screen.

Any suggestions are appreciated!

Last edited by fourwinds; 07-31-2016 at 11:38 PM.
fourwinds is offline   Reply With Quote
Old 07-31-2016, 11:30 PM   #2154
Cinisajoy
Just a Yellow Smiley.
Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.
 
Cinisajoy's Avatar
 
Posts: 19,161
Karma: 83862859
Join Date: Jul 2015
Location: Texas
Device: K4, K5, fire, kobo, galaxy
Quote:
Originally Posted by fourwinds View Post
I am having a few difficulties. I installed this perfectly fine one one of my kindles (both are paper white 3, bought at the same time).

My partner's kindle the preview shows up fine under the KAUL launcher but when it goes to lock screen it just dims on the current page and sometimes flashes as if a picture will show up but ultimately stays on whatever the text page is.

I followed the following instructions exactly on my kindle (works fine) but my partner's kindle does not:

https://www.mobileread.com/forums/sho...d.php?t=275877
https://www.mobileread.com/forums/sho...d.php?t=251143
https://www.mobileread.com/forums/sho...d.php?t=251143
and then this thread

I did add the blank file that is called "cover" to the linkss folder.
I also added the pinfo_header

Both the cover and the header info look correct in the preview, it is only when the screen actually locks that it doesn't show the cover or the personal info header, it just dims the screen and sometimes flashes to solid empty screen very quickly and ends up back on the last screen.

Any suggestions are appreciated!
It sounds like you need to reinstall the hotfix.
Cinisajoy is offline   Reply With Quote
Old 07-31-2016, 11:40 PM   #2155
fourwinds
Junior Member
fourwinds began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jul 2016
Device: kindle paperwhite 3
Quote:
Originally Posted by Cinisajoy View Post
It sounds like you need to reinstall the hotfix.
Thanks for the suggestion.

Do you know if I have to start from the beginning (start by downgrading firmware) to reinstall the hot fix?

In the instructions I had I installed the hotfix after the jail break (I downgraded the firmware initially) but have now updated to the newest firmware.

Or would reinstalling the hotfix work even though I am on current firmware?
fourwinds is offline   Reply With Quote
Old 08-01-2016, 12:05 AM   #2156
Cinisajoy
Just a Yellow Smiley.
Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.
 
Cinisajoy's Avatar
 
Posts: 19,161
Karma: 83862859
Join Date: Jul 2015
Location: Texas
Device: K4, K5, fire, kobo, galaxy
Quote:
Originally Posted by fourwinds View Post
Thanks for the suggestion.

Do you know if I have to start from the beginning (start by downgrading firmware) to reinstall the hot fix?

In the instructions I had I installed the hotfix after the jail break (I downgraded the firmware initially) but have now updated to the newest firmware.

Or would reinstalling the hotfix work even though I am on current firmware?
Just reinstall the hotfix and any hacks.
The jailbreak itself is fine.
Cinisajoy is offline   Reply With Quote
Old 08-01-2016, 08:35 AM   #2157
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,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@fourwinds: You're not in cover mode. You're in image cycle with a broken image somewhere along the way.

Use KUAL to setup the flag files, and restart the framework after switching to/fro cover mode.

EDIT: If that doesn't jog things up, follow @knc1's advice to start from scratch (from the other thread).

Last edited by NiLuJe; 08-01-2016 at 08:38 AM.
NiLuJe is offline   Reply With Quote
Old 08-01-2016, 08:53 AM   #2158
PCplague
Junior Member
PCplague began at the beginning.
 
PCplague's Avatar
 
Posts: 6
Karma: 10
Join Date: Jul 2016
Location: Barreiro (near Lisbon),Portugal
Device: used to be Android Now kindle paperwhite3
I was having the same problem than mlepen but after watching closely (with glasses) to view the output of the instalation saw after installing python a very fast uninsntall python, so what happened was that I had uncompressed the whole zip file to the mr dir and he installed then unistalled the packages but the Kual Menu showed all the options has if the sreensaver was working soooo.... installed only the bin and now is ok!

thanks all for the work your doing.

ps: just tryed some wallpapers but are small would lyke that they would strech to fill the screen
PCplague is offline   Reply With Quote
Old 08-01-2016, 09:05 AM   #2159
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 PCplague View Post
I was having the same problem than mlepen but after watching closely (with glasses) to view the output of the instalation saw after installing python a very fast uninsntall python, so what happened was that I had uncompressed the whole zip file to the mr dir and he installed then unistalled the packages but the Kual Menu showed all the options has if the sreensaver was working soooo.... installed only the bin and now is ok!

thanks all for the work your doing.

ps: just tryed some wallpapers but are small would lyke that they would strech to fill the screen
ps:
Scroll up a few posts, there find the ImageMagik command to 'fix' the files.
OR
Find the details in the FGA thread.
knc1 is offline   Reply With Quote
Old 08-01-2016, 10:19 AM   #2160
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,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
The latest snapshots now have a "Process staging images" button in the "ScreenSaver Tools" submenu that'll do just what it says on the tin (i.e., process everything from the linkss/staging directory).

Should accept whatever IM can read as input (i.e., you can dump crappy jpgs in there).

FW 5.x only because it'd be truly horrendously slow on older devices (and they don't have a staging folder anyway, and there's already enough code duplication for this thing...).
NiLuJe is offline   Reply With Quote
Reply

Tags
kindle touch hacks, paperwhite, python, screensavers, touch


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem installing Kindle ScreenSavers Hack ratchetclank Kindle Developer's Corner 3 12-30-2015 09:59 PM
Is it impossible to hack screensavers in K4 4.1? nonfactor Kindle Developer's Corner 1 07-04-2012 07:17 PM
Help! Used screensaver hack- now all collections gone and no screensavers!!! kuklachica Amazon Kindle 1 01-16-2011 08:17 PM
Is a hack necessary to add screensavers? mldavis2 Amazon Kindle 4 10-29-2010 05:34 PM
Hack for screensavers on Kindle 2 KookyKathy Introduce Yourself 5 01-09-2010 11:16 PM


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


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