07/16/2009, 03:24 PM
|
#1 (permalink) |
|
Member
Join Date: Jul 2009
Posts: 146
Thanks: 13
Thanked 155 Times in 42 Posts
|
I liked how the default browser bookmarks just had an image of the website logo, for a clean and elegant look. I thought it would be neat if I could make all of my bookmarks look like that, instead of the ugly screenshot of the page. I started looking around, and found that they are located here:
/var/luna/data/browser/icons They are named thumbnail-xxx.png. I simply opened each of the images in photoshop, and edited them to fit my needs. Make sure when you save them they are named the same thing. There are also files for the smaller icons, but I only felt like dealing with the main thumbnail for now. Just thought I would share in case anyone else wants to know how to do this. |
|
|
| Thanked By 4: |
07/16/2009, 04:49 PM
|
#2 (permalink) |
|
Member
Join Date: Jun 2009
Posts: 132
Thanks: 38
Thanked 4 Times in 4 Posts
|
This is great! But I have a real noob question on it...how the heck do you do it?
I've rooted my pre, and I've made changes in root (Email Landscape Mod-LOVE IT!), but all I did was copy some codes in key areas, so I don't really understand some things... I'm sorry for this but here's what I really don't get: *when you give the path "/var/luna/data/browser/icons", are you in putty or are you using a normal Windows folder to be able to see the actual .png? *how did you "open" the .png from the path listed? (if in a windows folder, nvm) *how did you "save" the .png after editing (meaning, how did you get it to override the one in the path)? I've done MANY searches, read through a lot of posts, and I spend lots of time on the wiki...but I can't seem to find anything that takes me through these basics. I really don't have much luck with searching on the wiki either. If answering my questions is too much, can someone direct me to a spot/site that details all this out? I usually catch on to this stuff pretty fast...but I'm having a hard time understanding what I'm doing, and I'm getting tired of just copying code... Thanks to anyone willing to help me out. |
|
|
07/16/2009, 05:16 PM
|
#3 (permalink) |
|
Member
Join Date: Jun 2009
Posts: 430
Thanks: 2
Thanked 29 Times in 22 Posts
|
You can not see those folders using USB Drive in Windows.
You must access via root (or similar means). This site has just about everything you would need to get started. pre dev wiki: Welcome to the Pre/webOS Development Wiki |
|
|
07/16/2009, 05:27 PM
|
#4 (permalink) |
|
Member
Join Date: Jul 2009
Posts: 146
Thanks: 13
Thanked 155 Times in 42 Posts
|
There are a few ways you could achieve this. The way I am doing it is through winSCP, but you will need to set up SFTP access first. There's a good walkthrough on the pre dev wiki. Just seach for it (can't post links yet, sorry). Then you can access your Pre just like a regular FTP client, you can browse the folders and open the images by right-clicking and selecting 'open'.
This you want want to do it that way, the other option is to SSH in (through puTTY, etc.) and copy the files located /var/luna/data/browser/icons to your internal storage. The path to that is /media/internal, which is the root folder you will see when you connect your Pre as a USB drive. So, for example, if I wanted to get an image from /var/luna/data/browser/icons and put it on the 'USB Drive', I would type as root: Code:
cp /var/luna/data/browser/icons/image.png /media/internal Code:
cp /media/internal/image.png /var/luna/data/browser/icons/ |
|
|
| Thanked By 2: |
07/16/2009, 05:40 PM
|
#7 (permalink) |
|
Member
Join Date: Jun 2009
Posts: 20
Thanks: 4
Thanked 0 Times in 0 Posts
|
Any idea how to set a bookmark icon in the launcher? It also defaults to a screen shot. I would love to clean these up. This is a little different that storing the bookmark in the browser app, but maybe the images are in the same directory? I did a quick find and grep'ed on the name of a bookmark in launcher and only found the png for the browser app.
|
|
|
07/16/2009, 05:57 PM
|
#9 (permalink) |
|
Member
Join Date: Jul 2009
Posts: 146
Thanks: 13
Thanked 155 Times in 42 Posts
|
It will make 3 images, iirc. One for the thumbnail, one for the bookmark settings area, and one for the launcher. You will have to edit the launcher icon separately. It should be in the same folder.
|
|
|
| Thanked By: |
07/18/2009, 01:04 AM
|
#10 (permalink) | |
|
Member
Join Date: Jun 2009
Posts: 132
Thanks: 38
Thanked 4 Times in 4 Posts
|
Quote:
|
|
|
|
07/20/2009, 03:08 AM
|
#11 (permalink) |
|
Member
Join Date: Jun 2009
Posts: 132
Thanks: 38
Thanked 4 Times in 4 Posts
|
Hey night0223, I got this done and it worked...but only for a little wjile. I only changed 2 of the pngs, and 1 of them reverted back to what it was originally yesterday, and today the other is now what it was orginallt too. Any ideas onwhat is goin on?
|
|
|
07/21/2009, 06:25 AM
|
#12 (permalink) |
|
Member
Join Date: Jun 2009
Posts: 71
Thanks: 13
Thanked 7 Times in 6 Posts
|
bdub, the browser preview panes update each time you visit a web page. So if you edit it, it looks like it is reverting back to the "old one" because the page you are visiting hasn't changed a lot. if you look closely you'll see that the image actually is different each time you visit the page.
which is kind of neat i guess, but i'd rather be able to decide what image makes the preview. i'm sure there is a way to make an image permanent (since the pre-loaded bookmark images in the browser do not change), but i don't know how. however, if you make an app shortcut instead of a bookmark in the browser, the icons stay the same forever. i added a page to the app launcher for a bunch of bookmarks i use all the time and made app shortcuts for them with some very nice images. this has satisfied me for the time being. i'd like to know how to "turn off" the updating image feature for bookmarks though. |
|
|
07/21/2009, 12:03 PM
|
#14 (permalink) |
|
Member
Join Date: Jul 2009
Posts: 146
Thanks: 13
Thanked 155 Times in 42 Posts
|
Yeah, it definitely is. Unfortunately I didn't realize that the browser updated the thumbnails, so this will be worthless until we can either find a way to turn the updating off, or figure out how to get them to act like the default ones do. I will look in to it when I get some more time.
|
|
|
07/28/2009, 04:25 PM
|
#15 (permalink) | |
|
Member
Join Date: Jul 2009
Posts: 66
Thanks: 11
Thanked 9 Times in 7 Posts
|
Quote:
Where exactly are the bookmarks stored? |
|
|
|
07/29/2009, 02:28 AM
|
#16 (permalink) | |
|
Member
Join Date: Jun 2009
Posts: 71
Thanks: 13
Thanked 7 Times in 6 Posts
|
Quote:
as far as where they're stored, according to this: Change Browser Bookmark Images bookmarks are in /var/luna/data/browser/icons i recommend copying the whole directory over so you can look at thumbnails and find the one you want to change, then makes backups, and copy the changed files and backups back over. |
|
|
|
07/30/2009, 04:13 AM
|
#17 (permalink) | |
|
Member
Join Date: Jul 2009
Posts: 66
Thanks: 11
Thanked 9 Times in 7 Posts
|
Quote:
|
|
|
|
11/10/2009, 02:31 PM
|
#19 (permalink) |
|
Member
Join Date: Sep 2009
Posts: 2
Thanks: 0
Thanked 2 Times in 1 Post
|
Hey all, didn't know if this topic was still active but I found this page which explains how to prevent WebOS from updating the bookmark images. Basically, there is a built-in SQL database for the bookmarks. Each bookmark row in the database has a column which signifies if it is a "built-in" or user-added bookmark. If you update that column value to 1 for each of your bookmarks, the Pre will not update the image. I haven't tried this yet, so no guarantees. Enjoy.
h t t p://czarism.com/change-palmpre-webos-browser-page-icons-in-va |
|
|
11/11/2009, 04:20 AM
|
#20 (permalink) |
|
Member
Join Date: Jun 2009
Posts: 71
Thanks: 13
Thanked 7 Times in 6 Posts
|
FINALLY! I hadn't looked for an answer to this topic in a while and wondered if someone had found a solution yet. Thank you so much simula67!
Someone smarter than me should write a pitch that adds an option to change this "update screen shot each page load" value when the bookmark is created, and also in the edit bookmark dialogue. Seems like an easy enough thing to do- maybe it could be added to the browser multi-patch. |
|
|
![]() |
| Tags |
| bookmark, browser, thumbnail |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT -4. The time now is 01:59 AM.







Linear Mode








