View Single Post
Old 05-19-2010, 04:14 PM   #3
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.
Quote:
Originally Posted by Mackx View Post
Great!!
I immediately tried them on the DR1000 (with firmware R2 beta) they behave as expected. I really would like to have as much icons as you have, can you post the bitmaps with the desktop files, that would make it much easier for others (and me ).
Thanks!
I hope "as expected" means "ok"

All my released packages already contain their icon. Look at _<package>/share/pixmaps/<package>.png. That's the usual location for them in Linux.

The other icons shown in the screenshots not present in their original packages are gnuplot, rxvt and techpdf. I've attached the images I use.

Anyway, my recommendation for every packager/porter is to add themselves the image they prefer, it's quite easy:
- Add an image in .png format to _<package>/share/pixmaps/<package>.png
- Add a line to the end of the <package>.desktop file containing something like:
Icon=/media/mmcblk0p1/Programs/_<package>/share/pixmaps/<package>.png

and from the user perspective is just a matter of reindex the contents of the DR in case it is a new package and run "icons.lua".

Finally, some places with free icons:
- /usr/share/pixmaps directory in any Linux computer
- http://gnome-look.org/index.php?xcontentmode=120x121
- and of course, http://www.openclipart.org/

just remember to convert to .png format.
The dimensions are not important, as the script resize the images before adding to the database.

Btw, isn't lua beautiful? Not as much as python. But even without knowing much about lua, it's quite easy to start developing useful things. I'm really liking it.
Have you noticed how fast RunDebug starts? I would dare to say is the same speed as any C program! And try to write all that sqlite stuff in C!
I wish iRex include lua support natively as other vendors (photo camera, music players, etc). Only 4 MB.
Btw 2, after some years apart from C now I suffer when I have to read and edit C sources... that's the main issue when dealing with python
Attached Files
File Type: gz icons.tar.gz (9.0 KB, 390 views)

Last edited by Iņigo; 05-19-2010 at 04:26 PM.
Iņigo is offline   Reply With Quote