Re: [opensuse] Show icons from all icon sets - handy little script (requires feh for graphical icon index)
On Sunday 01 November 2009 12:14:00 am you wrote:
On Fri, 2009-10-30 at 03:31 -0500, David C. Rankin wrote:
Terry, I had a few minutes tonight so I made the little script a bit more flexible and able to handle as many icon names as you would like to compare.
Thanks David,
The first script work very well. Using the same input
dec@linux-lrmo:~> sh showicon2.sh evolution showicon2.sh: line 10: with: command not found showicon2.sh: line 12: terminal: command not found showicon2.sh: line 14: the: command not found showicon2.sh: line 47: syntax error near unexpected token `)' showicon2.sh: line 47: `ok)'
I have been spending some time with a couple of bugs in RC2 with one important one that I can ping but not resolve names. It seems a deja vu of 11.1 that was finally fix. It happens with some dslmodem not with all.Mine is a Motorola from Qwest. I can add the DNS servers manually but does not the point.
Oh!, one thing that would be nice is to have a number with the text under the icon to correlate it with the location. For example if you have 20 icons and you are interested in icon 16 then you can look in the list an know the location. I often do not like all the icons of one theme so in this way I can find the icon I like from another theme and replace it.
Thanks for your work David.
-=terry=-
I'm still playing with it. Version 1 is bullet proof. In version two, you need to change the line: let REQVARS=2 to let REQVARS=1 (and then move the default ISIZE=48 below the cli loop) or Just download the first or fixed second versions here: http://www.3111skyline.com/download/linux/scripts/utils/showicon-1 http://www.3111skyline.com/download/linux/scripts/utils/showicon-2 Right now you just have to count left -> right and correlate the number shown on stdout with the icon in the graphic image. I'm thinking about adding the number to the graphic image, but so far the only thought I had was piping it through gd somehow, but haven't had time to work on it yet. Another neat trick that feh lets you do is to save a copy of the image. It will save as a time-stamped file in your home directory. I have a ~/dt folder where I keep desktop related info with subdirs (ati, compiz, e16, e17, fluxbox, icewm, icons, kde, kde4...). I have simply been moving the saved images to ~/dt/icons along with the fehlist (with filenames like icn_gimp.png and icn_gimp.txt) so I can just use konqueror for repeat references. The purpose of Ver. 2 of the script was to allow the creation of indexes using multiple name in order to collect ALL icons for a give app in one index (like: firefox.png mozilla-firefox.png, etc..) where different icon sets have different names for the same app icon. It also lets you see all the different mail icons at once as well (like kmail, thunderbird, mozilla-thunderbird, claws, etc..) I'll keep you posted as I add to it. It's kind-of a fun little project ;p -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (1)
-
David C. Rankin