Thread: DR800 Icons for desktop files
View Single Post
Old 04-28-2010, 07:13 PM   #1
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
Question Icons for desktop files

Hi there,

EDIT: Look message #4

[message specially targeted to Matthijs or Gertjan ;-]

DR800 does not accept an icon entry in .desktop files to specify the image for the applications. F.e. Osmo.desktop:
Code:
[Desktop Entry]
Name=Osmo
Comment=Personal organizer
Exec=/media/mmcblk0p1/Programs/_osmo/bin/osmo
Icon=/media/mmcblk0p1/Programs/_osmo/share/pixmaps/osmo.png
Type=Application
Encoding=UTF-8
I've tried to manually add the image data to the global.db thumbnails table, but although the images are properly inserted, CTB doesn't show them.

Please, look at the sample lua script attached to this message.
It parses .desktop files on SD/Programs, and store the specified icon image as .png data into the proper DB rows for every .desktop file with a valid icon entry.

Does DR800 use a predefined default icon for .desktop files or am I doing something wrong?

If this is the case, could iRex people extend .desktop files to understand "Icon", please?

Thanks in advance,
Iņigo

Last edited by Iņigo; 05-16-2010 at 06:28 PM. Reason: Deleted script. Look message #4
Iņigo is offline   Reply With Quote