PDA

View Full Version : How to edit a ico in maemo5?


biggzy
01-07-2010, 07:37 AM
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
01-07-2010, 08:49 AM
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
Icon=iconname

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

F2thaK
01-07-2010, 08:54 AM
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
01-07-2010, 08:57 AM
thanx guys, will report back if i get stuck or if im successful.

codeMonkey
01-07-2010, 09:42 AM
someone may be able to give us an xterm code to update the icon-cache

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