Re: Desktop icons

2010-06-28 Thread daniel wilms

Hi,

On 28/06/10 00:35, ext Mats Rauhala wrote:

I installed the cross-compiled package to my device and whilst the icon
shows when removing the application with package manager, the icon does
not show in the menu.

   


Basically the sources for the icons are different. The application 
manager shows the icon it finds in the control file of the debian 
folder, while the icon in the task launcher is based on the one in the 
icons folder. But can you see the blue square as the default icon in the 
task launcher? Then your problem is probably related to a bug [1] in the 
system. Does your icon shows up after a restart?


[1] https://bugs.maemo.org/show_bug.cgi?id=6931

Daniel


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Desktop icons

2010-06-27 Thread Mats Rauhala
Hello all.

I'm building my first application for maemo or any debian derivative. I
have barely ever done anything with .desktop files and am at loss at
where to search for more information.

My problem is that when building and installing my application for the
maemo sdk, the icons work as far as I see. I can see the icon in
program selector/menu, and when removing the application with package
manager.

I installed the cross-compiled package to my device and whilst the icon
shows when removing the application with package manager, the icon does
not show in the menu. I tried with and without maemo-optify-deb and
neither worked (unless I screwed something up)

  [sbox-FREMANTLE_X86: ~/programmin/ostoslista]  dpkg-deb -c
  ../ostoslista_0.01_armel.deb 
  drwxr-xr-x root/root 0 2010-06-28 00:18:56 ./
  drwxr-xr-x root/root 0 2010-06-28 00:18:55 ./usr/
  drwxr-xr-x root/root 0 2010-06-28 00:18:54 ./usr/sbin/
  drwxr-xr-x root/root 0 2010-06-28 00:18:55 ./usr/share/
  drwxr-xr-x root/root 0 2010-06-28 00:18:55 ./usr/share/doc/
  drwxr-xr-x root/root 0 2010-06-28 00:18:55
  ./usr/share/doc/ostoslista/
  -rw-r--r-- root/root  1323 2010-06-27 22:12:04
  ./usr/share/doc/ostoslista/copyright
  -rw-r--r-- root/root   189 2010-06-27 22:12:04
  ./usr/share/doc/ostoslista/README.Debian
  drwxr-xr-x root/root 0 2010-06-28 00:18:55
  ./usr/share/ostoslista/
  drwxr-xr-x root/root 0 2010-06-28 00:18:55
  ./usr/share/ostoslista/locale/
  -rw-r--r-- root/root   479 2010-06-28 00:18:55
  ./usr/share/ostoslista/locale/ostoslista_fi.qm
  drwxr-xr-x root/root 0 2010-06-28 00:18:55
  ./usr/share/applications/
  drwxr-xr-x root/root 0 2010-06-28 00:18:55
  ./usr/share/applications/hildon/
  -rw-r--r-- root/root   202 2010-06-27 22:12:54
  ./usr/share/applications/hildon/ostoslista.desktop
  drwxr-xr-x root/root 0 2010-06-28 00:18:55 ./usr/share/icons/
  drwxr-xr-x root/root 0 2010-06-28 00:18:55
  ./usr/share/icons/hicolor/
  drwxr-xr-x root/root 0 2010-06-28 00:18:55
  ./usr/share/icons/hicolor/64x64/
  drwxr-xr-x root/root 0 2010-06-28 00:18:55
  ./usr/share/icons/hicolor/64x64/apps/
  -rw-r--r-- root/root  2102 2010-06-27 22:12:54
  ./usr/share/icons/hicolor/64x64/apps/ostoslista.png
  drwxr-xr-x root/root 0 2010-06-28 00:18:55
  ./usr/share/icons/hicolor/48x48/
  drwxr-xr-x root/root 0 2010-06-28 00:18:55
  ./usr/share/icons/hicolor/48x48/apps/
  -rw-r--r-- root/root  1340 2010-06-27 22:57:25
  ./usr/share/icons/hicolor/48x48/apps/ostoslista.png
  drwxr-xr-x root/root 0 2010-06-28 00:18:55
  ./usr/share/icons/hicolor/26x26/
  drwxr-xr-x root/root 0 2010-06-28 00:18:55
  ./usr/share/icons/hicolor/26x26/apps/
  -rw-r--r-- root/root  1340 2010-06-27 22:12:54
  ./usr/share/icons/hicolor/26x26/apps/ostoslista.png
  drwxr-xr-x root/root 0 2010-06-28 00:18:56 ./usr/bin/
  -rwxr-xr-x root/root 53996 2010-06-28 00:18:56 ./usr/bin/ostoslista
  [sbox-FREMANTLE_X86: ~/programmin/ostoslista]  maemo-optify-deb ../
  maemo-optify/  ostoslista_0.01.dsc
  ostoslista_0.01_armel.changes  ostoslista_0.01_i386.changes   
  ostoslista/ostoslista_0.01.tar.gz
  ostoslista_0.01_armel.deb  ostoslista_0.01_i386.deb   
  [sbox-FREMANTLE_X86: ~/programmin/ostoslista]  maemo-optify-deb
  ../ostoslista_0.01_armel.deb
  ostoslista: optified 2 entries, saving about 54 kB.
  warning, `ostoslista_0.01_armel/DEBIAN/control' contains user-defined
  field `Maemo-Icon-26'
  dpkg-deb: building package `ostoslista' in
  `../ostoslista_0.01_armel.deb'.
  dpkg-deb: ignoring 1 warnings about the control file(s)
  [sbox-FREMANTLE_X86: ~/programmin/ostoslista]  dpkg-deb -c
  ../ostoslista_0.01_armel.deb 
  drwxr-xr-x masse/wheel   0 2010-06-28 00:34:20 ./
  drwxr-xr-x masse/wheel   0 2010-06-28 00:18:55 ./usr/
  drwxr-xr-x masse/wheel   0 2010-06-28 00:18:54 ./usr/sbin/
  drwxr-xr-x masse/wheel   0 2010-06-28 00:18:55 ./usr/share/
  drwxr-xr-x masse/wheel   0 2010-06-28 00:18:55 ./usr/share/doc/
  drwxr-xr-x masse/wheel   0 2010-06-28 00:18:55
  ./usr/share/doc/ostoslista/
  -rw-r--r-- masse/wheel1323 2010-06-27 22:12:04
  ./usr/share/doc/ostoslista/copyright
  -rw-r--r-- masse/wheel 189 2010-06-27 22:12:04
  ./usr/share/doc/ostoslista/README.Debian
  drwxr-xr-x masse/wheel   0 2010-06-28 00:18:55
  ./usr/share/ostoslista/
  drwxr-xr-x masse/wheel   0 2010-06-28 00:18:55
  ./usr/share/ostoslista/locale/
  -rw-r--r-- masse/wheel 479 2010-06-28 00:18:55
  ./usr/share/ostoslista/locale/ostoslista_fi.qm
  drwxr-xr-x masse/wheel   0 2010-06-28 00:18:55
  ./usr/share/applications/
  drwxr-xr-x masse/wheel   0 2010-06-28 00:18:55
  ./usr/share/applications/hildon/
  -rw-r--r-- masse/wheel 202 2010-06-27 22:12:54
  ./usr/share/applications/hildon/ostoslista.desktop
  drwxr-xr-x masse/wheel   0