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 09-07-2012, 04:45 AM   #1
Caterix
Junior Member
Caterix began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2012
Device: Kindle 4NT
Exclamation Think I need to rename path in PuTTY?

Hi all. I'll try to cut a long story short! My Kindle 4NT was working perfectly with custom screensavers. Then I realised I couldn't update to 4.1 because of the custom screensavers. I attemped to follow some instructions to reverse the procedure so I can get it to update. Nothing would work, and now I don't have any screensavers at all, just a white screen.
After much digging around, I think the problem is that when copying and pasting certain commands off the web to paste into putty, for some reason the "x" between 600x800 was being changed to a "?" . It took me a while to realise this, and now I think the reason I haven't got any wallpapers is because the kindle is looking for paths such as "mv mnt/base-mmc/opt/amazon/screen_saver/600×800", but it's all been changed to "mv mnt/base-mmc/opt/amazon/screen_saver/600?800" for example. I'm pretty sure this is the problem, but I have no idea how to change the relevant paths back to "600x800". Any help would be great, and in as simple terms as possible as i'm no expert at this by any means

Thanks!
Caterix is offline   Reply With Quote
Old 09-07-2012, 05:28 AM   #2
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 Caterix View Post
Hi all. I'll try to cut a long story short! My Kindle 4NT was working perfectly with custom screensavers. Then I realised I couldn't update to 4.1 because of the custom screensavers. I attemped to follow some instructions to reverse the procedure so I can get it to update. Nothing would work, and now I don't have any screensavers at all, just a white screen.
After much digging around, I think the problem is that when copying and pasting certain commands off the web to paste into putty, for some reason the "x" between 600x800 was being changed to a "?" . It took me a while to realise this, and now I think the reason I haven't got any wallpapers is because the kindle is looking for paths such as "mv mnt/base-mmc/opt/amazon/screen_saver/600×800", but it's all been changed to "mv mnt/base-mmc/opt/amazon/screen_saver/600?800" for example. I'm pretty sure this is the problem, but I have no idea how to change the relevant paths back to "600x800". Any help would be great, and in as simple terms as possible as i'm no expert at this by any means

Thanks!
Yup, we have seen that one before.

In *nix (Unix, Linux, any *nix) the "rename" function is called: "move" and the command is mv
(To move the data from one pathname/filename to another)

In *nix command line, like other command lines the ? character is a wildcard character.
So you have to quote any string that contains it.

Literally:
mv "mnt/base-mmc/opt/amazon/screen_saver/600?800" "mnt/base-mmc/opt/amazon/screen_saver/600x800"

When I write: "literally" I mean including the quote marks shown.

More:
http://www.tuxfiles.org/linuxhelp/dirs.html

Last edited by knc1; 09-07-2012 at 06:07 AM.
knc1 is offline   Reply With Quote
Advert
Old 09-07-2012, 07:28 AM   #3
Caterix
Junior Member
Caterix began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2012
Device: Kindle 4NT
Talking

knc1, thanks for taking the time to reply and help me

You've just explained what I managed to do myself earlier, on a wing and a prayer, but I had no idea how what I'd done had fixed it. Having never worked with any form of nix, a "move" command to rename something is a very alien concept to me

Thanks again for the explanation!
Caterix is offline   Reply With Quote
Old 09-07-2012, 08:26 AM   #4
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Quote:
Originally Posted by Caterix View Post
knc1, thanks for taking the time to reply and help me

You've just explained what I managed to do myself earlier, on a wing and a prayer, but I had no idea how what I'd done had fixed it. Having never worked with any form of nix, a "move" command to rename something is a very alien concept to me
Nope

Actually the opposite is true: "rename" is just a special case of "move a file to another position" - in this case the other "position" is simply its new name. And since the command to do that already exists (yep, "mv"), having an additional "ren" command would be superfluous and confusing.
ixtab is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle Touch and PuTTy qrafzv Kindle Developer's Corner 19 06-20-2012 04:08 PM
Rename series theducks Calibre 2 05-02-2010 08:44 PM
Any way to rename bookmarks? kilofox Amazon Kindle 3 12-09-2009 07:53 PM
rename subforums deadite66 Feedback 6 03-06-2007 03:01 PM


All times are GMT -4. The time now is 07:14 PM.


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