Programming and Scripting :: iconthemeswitcher in lua



Quote (lucky13 @ April 10 2008,16:59)
Nope. The problem you'll have with this is conforming to a standard icon naming convention between DSL, jwm, and whatever icon sets are chosen. If DSL were to use an icon naming convention adopted by (e.g.) KDE or Gnome (Free Desktop) it might be easier. But with things as they are right now, your script won't do diddly squat unless users change their icon names to match what's already in jwmrc/dfm.

of course the icon set used with this iconthemeswitcher should be made ready for DSL, so the theme will contain all icons with the same name as the default ones.

But, if nobody got interest in this, i wont make this script bigger anyway. Good learning again though xD

jaapz wrote:
Quote
... Good learning again though xD


Glad to see you are learning and writing murgaLua. Not much interest in the icon area, is likely due to lack of many small .xpm icons that DSL uses.

I know that I have asked for some .xpm icons to be contributed and so far, I have received very few.

mikshaw even wrote a really cool icon editor. I would stiil like someone who is artisic to do a database xpm icon.

roberts, why not post a list of xpm's that have to be made? i'll be glad to make some!

and hows the list of murgaLua gui's that have to be made? also would like to do some of that :)

but that icon editor, is it iconview.lua? if it is, its not an editor, but it is cool anyway xD

You're right, it isn't an editor. But it does launch mtpaint with the selected icon, which is an excellent xpm icon editor. In that sense it is sort of tied into icon editing.

I'm interested in knowing what a "database icon" would be linked to. If it's an icon for the mydsl database, that would be more of a mydsl icon and not too difficult to create, but if it's something more general for applications that use a database, it would be more difficult in my opinion.

Most of the xpm icons are very small - around 1500 or so.
So just doing a ls -Sr /usr/share/dfm/icons will show the fat icons. These could be reduced to save space and probably look nicer too. So here is a list that needs to be reduced or replaced:

Size   Name
------   ---------------
2413  console4.xpm
2578  wireless.xpm
2596  file.xpm
2606  edit.xpm
2805  home.xpm
3687  files-yellow.xpm
3909  files-red.xpm
4310  exit.xpm
4581  nicq.xpm
4801  naim.xpm
4806  calc.xpm
4842  daemons.xpm
5066  document_spreadsheet.xpm
5250  spreadsheet.xpm
5525  xvesa.xpm
5720  sshfs.xpm
5906  package3.xpm
6028  msword.xpm
6088  fetch.xpm
6139  calendar.xpm
6388  nirq.xpm
6392  USB-Drive.xpm
6394  smbclient.xpm
6497  files-blue.xpm
6658  files-green.xpm
6673  xpdf.xpm
7917  pdf.xpm
7926  vnc.xpm
7928  dillo.xpm
7942  files-yellow-exec.xpm


Re: The database icon would be generic for sqlite databases.
I have seen "disk-pack" looking icons used or ?  

Just note that the icon should look good at dfm 32x32 but also by jwm automatic size reduction used in jwm menu and jwm tray.

Next Page...
original here.