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 05-26-2014, 10:00 AM   #1111
GoSharks
SQUIRREL!!
GoSharks ought to be getting tired of karma fortunes by now.GoSharks ought to be getting tired of karma fortunes by now.GoSharks ought to be getting tired of karma fortunes by now.GoSharks ought to be getting tired of karma fortunes by now.GoSharks ought to be getting tired of karma fortunes by now.GoSharks ought to be getting tired of karma fortunes by now.GoSharks ought to be getting tired of karma fortunes by now.GoSharks ought to be getting tired of karma fortunes by now.GoSharks ought to be getting tired of karma fortunes by now.GoSharks ought to be getting tired of karma fortunes by now.GoSharks ought to be getting tired of karma fortunes by now.
 
GoSharks's Avatar
 
Posts: 1,636
Karma: 8400000
Join Date: Nov 2010
Location: California
Device: K-Fire, PW2, PW3
Quote:
Originally Posted by NiLuJe View Post
@GoSharks: Yup.
.....*snip*...
I'm not sure switching to and fro cover mode would have helped anyway, nothing is ever deleted, so the broken image always has ways to get back in the pool.
In this case would clearing the cover cache (via KUAL) and a restart have fixed things? (Just trying to think of easier first steps than 'uninstall, delete linkss folder, reinstall' with all the accompanied restarts)
GoSharks is offline   Reply With Quote
Old 05-26-2014, 10:03 AM   #1112
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
@GoSharks: Only if the image somehow got corrupted later. If the source image is broken or IM generates crap for some reason, that's a deterministic process, so it'll just regenerate a new, but still broken, image .
NiLuJe is offline   Reply With Quote
Advert
Old 05-26-2014, 12:42 PM   #1113
Gonza116
Junior Member
Gonza116 began at the beginning.
 
Gonza116's Avatar
 
Posts: 6
Karma: 10
Join Date: May 2014
Device: Amazon Kindle Paperwhite 2
I've got a single question. That "blank file at linkss folder" in cover mode, wich format has? .png as a image? .txt? I'm really confused?
Gonza116 is offline   Reply With Quote
Old 05-26-2014, 01:38 PM   #1114
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)
Quote:
Originally Posted by Gonza116 View Post
I've got a single question. That "blank file at linkss folder" in cover mode, wich format has? .png as a image? .txt? I'm really confused?
blank means no format whatsoever.

Formatting requires content.

It shouldn't have a file extension either.

It would be best to use KUAL to toggle modes via the menu -- it saves you these problems.
eschwartz is offline   Reply With Quote
Old 05-26-2014, 01:59 PM   #1115
Gonza116
Junior Member
Gonza116 began at the beginning.
 
Gonza116's Avatar
 
Posts: 6
Karma: 10
Join Date: May 2014
Device: Amazon Kindle Paperwhite 2
Quote:
Originally Posted by eschwartz View Post
blank means no format whatsoever.

Formatting requires content.

It shouldn't have a file extension either.

It would be best to use KUAL to toggle modes via the menu -- it saves you these problems.
Ok, thanks
But I'm still getting the stock screensavers. Pyton is installed, and so do the Screensaver Hack. So, what's the problem?
(I've noticed that the linkss/screensavers is empty beacuse I erased the default one. Is that a problem?)
Gonza116 is offline   Reply With Quote
Advert
Old 05-26-2014, 02:00 PM   #1116
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
@Gonza116: Yup. The hack disables itself if the folder's empty.
NiLuJe is offline   Reply With Quote
Old 05-26-2014, 02:01 PM   #1117
Gonza116
Junior Member
Gonza116 began at the beginning.
 
Gonza116's Avatar
 
Posts: 6
Karma: 10
Join Date: May 2014
Device: Amazon Kindle Paperwhite 2
Quote:
Originally Posted by NiLuJe View Post
@Gonza116: Yup. The hack disables itself if the folder's empty.
Shall I put there any image?
Gonza116 is offline   Reply With Quote
Old 05-26-2014, 02:03 PM   #1118
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
@Gonza116:
Quote:
Originally Posted by NiLuJe View Post
A small reminder of the file format & size you have to use:
One the Touch: PNG files, 600x800. Grayscale if possible, but color works too (you can even play with an alpha channel if you like).
One the PaperWhite: PNG files, 758x1024. Grayscale if possible, but color works too (you can even play with an alpha channel if you like).
You NEED to follow these directives: non-PNG files will be discarded by the hack, and broken files or files in the wrong resolution will confuse the framework and trigger weird issues.
NiLuJe is offline   Reply With Quote
Old 05-26-2014, 02:11 PM   #1119
Gonza116
Junior Member
Gonza116 began at the beginning.
 
Gonza116's Avatar
 
Posts: 6
Karma: 10
Join Date: May 2014
Device: Amazon Kindle Paperwhite 2
Quote:
Originally Posted by NiLuJe View Post
@Gonza116:
That was a problem: I read 768 indeed of 758. That was all the problem.
Thank you, now it works
Gonza116 is offline   Reply With Quote
Old 05-26-2014, 04:51 PM   #1120
Calleja
Enthusiast
Calleja began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Oct 2010
Device: Kindle Paperwhite 2
Hey, I have a quick question: How do you guys prepare images to look so good on Kindle?

I'm trying to insert a cover to a book I bought, which I've been doing with all Tor books since they just use a title page with text instead of the actual cover, and the result in the Kindle is a pixelated mess. I tried converting to grayscale on OSX by just sliding the saturation all the way to the left, but the result is exactly the same either way.

Is there any way to adjust an image so the Kindle can display it properly?

This is the cover I'm trying to use: https://www.dropbox.com/s/5jbidni2d7...0of%20Law3.png
Calleja is offline   Reply With Quote
Old 05-26-2014, 05:30 PM   #1121
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
By using the swiss-army knife of CLI image processing, ImageMagick, to properly scale & dither down to the (nearly) exact palette of colours supported by the eInk tech.

For ref, the default settings:

Code:
convert Alloy\ of\ Law3.png -filter LanczosSharp -resize "758x1024" -background black -gravity center -extent "758x1024" -colorspace Gray -dither FloydSteinberg -remap ~SVN/Configs/trunk/Kindle/Touch_Hacks/ScreenSavers/src/linkss/etc/kindle_colors.gif -define png:bit-depth=8 -quality 75 "BR_MBSS_AL.png"
(Don't mind the crazy path to the colour map, I'm on a laptop, the file is shipped with the hack).

(The same kind of results can be achieved with any decent image editor, if you're somehow allergic to CLI [But, FWIW, I just did that on OS X with IM installed via Homebrew]).

TL;DR: Yes, it usually ends up looking way better than what the default reader does, but it's also an order of magnitude slower .
Attached Thumbnails
Click image for larger version

Name:	BR_MBSS_AL.png
Views:	258
Size:	201.4 KB
ID:	123391  

Last edited by NiLuJe; 05-26-2014 at 05:38 PM.
NiLuJe is offline   Reply With Quote
Old 05-26-2014, 06:10 PM   #1122
Butterflyyogi
Junior Member
Butterflyyogi began at the beginning.
 
Posts: 4
Karma: 10
Join Date: May 2014
Device: Kindle Paperwhite 2
Only screensaver I can get on is 'The hack has been successfully installed'

Can someone please help me? I have spent the last few hours trying to get the screensaver hack to work. I jailbroke my Kindle, no problem then installed python and linkss. Then I put a blank text document called cover in the linkss folder and I remembered to unplug the usb before updating and restarting. But, I cannot for the life of me get it to work. I am trying to get it to display the last cover of the book I am currently reading. When I press the button on my kindle (paperwhite 2) I get the 'The screensavers hack has been successfully installed!' I'm sure it has something to do with the cover file. It is a blank txt file and I have hidden the extension. Here is a screenshot.
I would be really, really grateful, if someone could explain where I am going wrong.
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2014-05-26 at 23.02.24.jpg
Views:	253
Size:	97.0 KB
ID:	123392  
Butterflyyogi is offline   Reply With Quote
Old 05-26-2014, 06:12 PM   #1123
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
@Butterflyyogi: Have you restarted the device since you created the 'cover' file?

Also, there might be some Finder trickery involved, because I see *two* 'cover' files, which means (at least) one of them HAS an extension.

Provided your Kindle drive appears as 'Kindle', firing up Terminal (hidden away in Applications > Utilities [Or the "Other" group in Launchpad]) and entering

Code:
touch /Volumes/Kindle/linkss/cover
should do the trick.

EDIT: FWIW, in Finder's preferences, the "Show all filename extensions" checkbox in the "Advanced" tab is your friend .

EDIT^2: Unless that's not actually Finder at all, but a Linux file manager trying to look like Finder, in which case, which DE are you running?

EDIT^3: Nope, definitely looks like Finder in three panes view .
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2014-05-27 at 00.16.38.png
Views:	223
Size:	73.7 KB
ID:	123394  

Last edited by NiLuJe; 05-26-2014 at 06:24 PM.
NiLuJe is offline   Reply With Quote
Old 05-26-2014, 06:20 PM   #1124
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 Butterflyyogi View Post
It is a blank txt file and I have hidden the extension.
Here is a screenshot.
I would be really, really grateful, if someone could explain where I am going wrong.
DO NOT "HIDE" the extension - set your file browser to show all extensions!

Rename the file to NOT HAVE AN EXTENSION, none, zip, zilch, nada extension.
knc1 is offline   Reply With Quote
Old 05-26-2014, 06:30 PM   #1125
Butterflyyogi
Junior Member
Butterflyyogi began at the beginning.
 
Posts: 4
Karma: 10
Join Date: May 2014
Device: Kindle Paperwhite 2
Thank you so much for your fast reply. You were right, there were 2 cover files. I deleted the text file and it is now working!!! Thank you so much I really appreciate it.
Butterflyyogi 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 09:04 AM.


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