maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Design (https://talk.maemo.org/forumdisplay.php?f=46)
-   -   How to edit a ico in maemo5? (https://talk.maemo.org/showthread.php?t=39564)

biggzy 2010-01-07 11:37

How to edit a ico in maemo5?
 
hi all, would some kind member please tell me howto change an icon of a certain app? can i edit it on my device or can i do it to the actual .deb file for a perm icon? thanx for any info

codeMonkey 2010-01-07 12:49

Re: How to edit a ico in maemo5?
 
Do you mean you want to edit the actual image itself, or just which image is being used by one of the shortcuts?

Look for .desktop files in /usr/share/applications/hildon
Most will have a line that says
Code:

Icon=iconname
The icons themselves are in /usr/share/icons/ under one of the directories depending on size etc.

F2thaK 2010-01-07 12:54

Re: How to edit a ico in maemo5?
 
To change icon:

1. Find/create a PNG image of dimension 48×48
2. Name the file #APPNAME#.png
3. Save file to /usr/share/icons/hicolor/48×48/hildon/ (you will need root access)
4. Modify the "#APPNAME#.desktop" file to include the following line. The right side should be the name of file without the .png

Save .desktop file and reboot to see the icon for the shortcut in the Application Menu.
If the icon does not show up, install a couple of apps from the Application Manager. This should update the icon-cache and display it.

someone may be able to give us an xterm code to update the icon-cache

biggzy 2010-01-07 12:57

Re: How to edit a ico in maemo5?
 
thanx guys, will report back if i get stuck or if im successful.

codeMonkey 2010-01-07 13:42

Re: How to edit a ico in maemo5?
 
Quote:

Originally Posted by f2thak (Post 457203)
someone may be able to give us an xterm code to update the icon-cache

Code:

gtk-update-icon-cache -f /usr/share/icons/hicolor


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

vBulletin® Version 3.8.8