• Home
  • Download
  • Links
  • Photoplog
  • Blowfish Secret
  • Base64
  • Wordpress Salt
  • Contact
  • ROM
  • Skins
  • VIP
  • Tutorial
Wckediden - Mobile Tricks and Tweaks Community  

Go Back   Wckediden - Mobile Tricks and Tweaks Community > Outdated Mobile Resources Community Channel - (Archived And Read Only) NO POSTING !!! Read Only > Skins Forum > Palm WebOs Themes/Wallpapers > Palm WebOS Themes
Reload this Page A How-to: How to Change Bookmark Icons
Wckediden
Register Forum Rules FAQ Members List Social Groups Search Today's Posts Mark Forums Read

Notices
Under Construction

WckedIDen Forum Renovations

WckedIDen is currently undergoing forum structure renovations. During this process, you may experience intermittent errors, unavailable pages, or temporary service interruptions.

Please be patient while we work to improve the forum. We appreciate your understanding and continued support.


Community Links
Social Groups
Pictures & Albums
Members List
Meet Our Staff
Search Forums
 
Tag Search
Advanced Search
Search Downloads
Advanced Search
Search Links
Advanced Search
Find All Thanked Posts



Post New ThreadReply
 
Thread Tools
A How-to: How to Change Bookmark Icons Details »»
A How-to: How to Change Bookmark Icons
MOD Settings
Add a Comment
About The Supporter
D/\SH's Avatar
About Supporter
 
Version: , by D/\SH (Supporter/Designer) D/\SH is offline
Supporter Last Online: Nov 2009 Show Printable Version Email this Page

Version: Palm WebOs Rating:
Released: 09-21-2009 Last Update: Never Installs: 0
System Changes Additional Files  
No support by the author.

The images are in /var/luna/data/browser/icons . For the "built-in" bookmarks, there are 3 files each:

  • bookmark-icon-{name}.png - 32x32 px icon you see in the bookmark list

  • {name}-bookmark-icon.png - 64x64 px icon that doesn't seem to appear anywhere

  • {name}-bookmark-thumbnail.png - 90x120 px thumbnail that appears when you start the browser


I'm not happy with the way the Pre tries to make images for you, so I created some of my own. (I also use a better naming convention for the files).

To add your own images:

1. Copy the default bookmark images from /var/luna/data/browser/images to you PC (use WinSCP or copy them to /media/internal and then use the USB cable). They make good templates for creating new images.

2. Create some new images. Here are mine for m.cnn.com:


(cnn-icon32.png)


(cnn-icon64.png)


(cnn-thumbnail.png)

3. Copy the images to your Pre under /var/luna/data/browser/images .

4. Become root and make your filesystem read-write:

Code

$ sudo -i

# rootfs_open -w
5. Open the bookmark database with the sqlite utility:

Code

# /usr/bin/sqlite3 /var/palm/data/file_.usr.palm.applications.com.palm.app.browser_0/0000000000000004.db
6. Add a bookmark, save, and exit sqlite:

Code

sqlite> begin transaction;

sqlite> insert into bookmarks (url,title,defaultEntry,iconFile32,iconFile64,thumbnailFile)
 values ('http://m.cnn.com','CNN',1,'/var/luna/data/browser/icons/cnn-icon32.png','/var/luna/data/browser/icons/cnn-icon64.png','/var/luna/data/browser/icons/cnn-thumbnail.png');

sqlite> commit;

sqlite> .exit
Note: the bookmarks are keyed on title, so if you already have a bookmark titled "CNN", the above code will simply update the existing bookmark.


To view all you bookmarks in the database:

Code

sqlite> .header on

sqlite> select * from bookmarks;
Columns:

  • id - numeric ID

  • url - URL

  • title - Title

  • date - numeric representing the date-time the bookmark was added

  • parent - ?

  • idx - numeric controlling sort order of the bookmarks (when two or more bookmarks have the same idx value, the browser sorts on title)

  • defaultEntry - numeric: 0 for bookmarks you add through the browser, 1 for "built-in" bookmarks (Pre won't mess with the images)

  • iconFile32 - path to the 32x32 px icon

  • iconFile64 - path to the 64x64 px icon

  • visitCount - number of times you selected the bookmark

  • thumbnameFile - path to the thumnail

  • lastVisited - numeric representing the date-time last time you selected the bookmark

  • startIdx - ?


originally found here:

Code

http://forums.precentral.net/web-os-development/194160-does-anyone-know-where-browser-images-stored.html

Show Your Support

  • If you like this modification support the author by donating.
  • If you like to thanks you by the author -> Click Thanks to the Author
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
The Following User Says Thank You to D/\SH For This Useful Post:
CYBER WEESJE (09-21-2009)
Post New ThreadReply

Tags
bookmark, change, howto, icons

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
[RELEASE] Change Start Menu Icons (CSMI v11 CYBER WEESJE Mobile Locker 0 11-25-2009 01:44 PM
How to make bookmark icon look cooool D/\SH Palm WebOS Themes 0 09-21-2009 01:56 PM
Cant figure out how to change my clock, menues, and icons. rgilreath3 HTC Touch Questions 3 08-08-2008 05:50 AM


All times are GMT -4. The time now is 04:59 AM.

Wckediden Community - Archive - Privacy Statement - Terms of Service - Top


Powered by vBulletin® Version 3.8.14
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Template-Modifications by TMS
POWERED BY PHILLYFINESTSERVERSTAT FOR WCKEDIDEN|- NEXTELELITE| - PPCTHEME| - IDENINSIDER