Thread: Icon locations?
View Single Post
EIPI's Avatar
Posts: 794 | Thanked: 784 times | Joined on Sep 2007 @ /Canada/Ontario/GTA
#1
Hi

I am having problems with icon locations for my package.

I am putting the 64x64 icons in /usr/share/icons/scalable/hildon.

I am putting the 40x40 icons in /usr/share/icons/hicolor/40x40/apps/

And the 26x26 are going into /usr/share/icons/hicolor/40x40/apps/

My .desktop file looks like this:

Code:
 [Desktop Entry]
 Version=1.0.0
 Encoding=UTF-8
 Name=maeflight
 Comment=A flight status application for Maemo 5
 Exec=/usr/bin/maeflight
 Icon=maeflight
 X-Icon-path=/usr/share/icons   Path to the icon
 X-Window-Icon=maeflight
 Type=Application
It packages fine, but when I try to install the package using dpkg -i, I get the following error:

Code:
dpkg: error processing maeflight_5.1.1-1_armel.deb (--install):
 error creating directory `usr/share/icons/hicolor/26x26/apps': No such file or directory
Errors were encountered while processing:
 maeflight_5.1.1-1_armel.deb
What am I doing wrong? From what I can see of the N900 filesystem, these icon locations already exist. I just want to stuff my icons there as well. Any help is greatly appreciated!
__________________
Mobile Tablets Blog
Follow me on
Twitter