Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
05-16-2011, 07:56 PM #1
Changing a Homescreen Safari Bookmark Icon
Wanted to throw this out there for anyone that cares!
If you have Safari Bookmarks on your Springboard and you're looking to change the icon image to whatever you want, then here you go!
-Go to /var/mobile/Library/WebClips
-In this folder will be folders with a long string of numbers followed by the .webclip extension (eg. 10307EA7E46D4C16AFEE859850F1312D.webclip). *Each folder represents a bookmark you created on the Springboard.*
***At this point, you just have to 'find' the folder that matches your bookmark!***
-Open a folder and click on 'icon.png' to see what bookmark it relates to.
-Then just use whatever .png icon image you want.
-Obviously, you'll need to rename your .png image to 'icon.png' so that you're replacing the original icon.png file.
-Respring and that's it!
07-03-2011, 10:26 AM #2Another Step
You will also need to open up Info.plist and change the 'IconIsPrecomposed' to true and the 'IconIsScreenShotBased' to false. There is also another interesting variable in here called 'FullScreen'. When this is set to true, the bookmark will open as if it were its own app, without the safari tool bars.
09-02-2011, 07:16 AM #3
This is great but there's one issue. As soon as you 'launch' the bookmark, the icon reverts back to whatever the website provides. How do you lock the icon down?
09-02-2011, 10:34 AM #4
09-02-2011, 01:27 PM #5
in between the <dict> tag. I had to add it in there because it wasn't included when I opened it. I then save the file, and copy it over the original in the given directory. The icon changes nicely, however, it reverts back to the original icon once I run it. I check the plist file again and the lines I added are gone.
I also tried both erasing and nulling the string for <key>IconURL</key> and the same thing happens. The icon changes back to its original and the original web icon url is back.
It seems like the behavior is set as such to revert to default should the plist file be found to be modified. The date property on the files even says as such. Any idea why this happens and how to stop it?
I'm running OS 4.0 if it matters.
09-04-2011, 02:13 AM #6
Try SSHing to the folder AFTER you change the icon, and set the permissions to just read
09-04-2011, 12:34 PM #7
Unfortunately that did not work. I'm guessing here, but it seems like maybe the two additional lines of code are invalid and as a result, the entire plist file is "refreshed" to safe defaults (and in the process, restores the original icon). Does this actually work for anyone? Thanks!