maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   bookmark icons (https://talk.maemo.org/showthread.php?t=82739)

randomdood 2012-03-03 10:08

bookmark icons
 
I'm making my own theme, and I don't want the default icon shape. I've already replaced the files in /usr/share/theme/*theme*/meegotouch/images/theme/basement
however they are only for contacts. The browser is still making the bookmarks with the default icon shape.

Does anybody know if the browser uses a different masking file (which i have not been able to find) or does it use something internal to the application?

qwazix 2012-03-03 10:28

Re: bookmark icons
 
I don't know but iPhone users have used a js bookmarklet to change the apple-touch-icon before they save the bookmark. I also know that iPhone respects the apple-touch-icon-composited (IIRC) so that the phone does't add it's own shape and shine to the icon. The same bookmarklet could be modified and used on the N9 (don't know if it respects the composited attribute) to use the webpage provided icon without trying ro squircle it.

randomdood 2012-03-03 13:15

Re: bookmark icons
 
I'm ok with that, i'm more interested in how the browser applies the squircle. For contacts (both in the phone ui, contacts ui and messages ui) are all done through a specific masking file which i've replaced to get my own shape. However the browser doesn't listen to that masking file, and I haven't been able to see any files similar to that.

XenGi 2012-05-01 23:23

Re: bookmark icons
 
Hey, did you found a way to change the icons of bookmarked websites? I bookmarked Google Reader and Google+ and wanted to set proper Harmattan shaped icons for them.

godofwar424 2012-05-01 23:27

Re: bookmark icons
 
Gotta be in the .desktop file :)

The icon location, so maybe find the .desktop file for the bookmark and then go from there :)

eltoffer 2012-05-02 04:09

Re: bookmark icons
 
Home/user/.grob/l is the location for bookmarks icons

Dousan 2012-05-02 06:06

Re: bookmark icons
 
Quote:

Originally Posted by eltoffer (Post 1200560)
Home/user/.grob/l is the location for bookmarks icons

There must be another place where the template for bookmarks is located otherwise you'll have to manually change it every time you've made a bookmark.
I haven't tried changing one yet but i predict it will stay the shape it is now, no matter what .png you replace a bookmark with in that folder, atleast that was how it worked on the N900 afair.
As the OP wants to change the shape I think he needs to find that template/mask aswell.

Regards Dousan...

e: just changed a bookmark icon with a custom .png (same size/shape as the org. bookmark .png. It changed the bookmark icon on the homescreen but didn't change the thumpnail in /home/user/.grob/I.

XenGi 2012-05-02 10:54

Re: bookmark icons
 
Quote:

Originally Posted by godofwar424 (Post 1200519)
Gotta be in the .desktop file :)

The icon location, so maybe find the .desktop file for the bookmark and then go from there :)

I know. But I can't find the desktop file for my website bookmarks.

superjunior 2012-05-02 11:01

Re: bookmark icons
 
.desktop-files are in /home/user/.local/share/applications

XenGi 2012-05-02 11:21

Re: bookmark icons
 
Quote:

Originally Posted by superjunior (Post 1200696)
.desktop-files are in /home/user/.local/share/applications

Thx. I looked in /usr/share/applications. Forget that there was another location.


All times are GMT. The time now is 13:03.

vBulletin® Version 3.8.8