Icon Finder v1.4
Posted: Tue 02 Oct 2012, 16:36
Icons in Puppy are located in many, sometimes exotic, places.
This application helps to find them all and display at once.
Icon Finder will be useful, for instance:
- for users who want to easily find icons for new desktop shortcuts,
- for devs in searching for non gtk-stock icons for their apps,
(as a bonus I've included 'Gtk stock icons' viewer too, posted here by Smokey01)
Usage:
1. On the first run there's request to create a new list.
It may take even a few minutes - depends of your system specs and amount of icons.
2. When the list is already created, a window with icons will be displayed (see screenshot).
3. You can hover an icon to see its location and resolution.
4. You can click an icon to locate it via ROX-Filer.
5. If there were changes in your system and want to re-search icons, use 'Menu -> Create new list'.
More info:
Supported formats are: bmp gif ico jpg pcx png ppm pnm svg tga tif xpm
The app is not extensively tested, so I can't say if every variant of the above formats will be processed properly.
The minimum and maximum sizes of icons are set to 0x0-64x64, but it can be edited ('Menu -> Settings'), just remember to adjust the size of buttons too - it must be ~10px larger, to fit icons within...or use 'Scale images' option.
Requirements:
Gtkdialog >= 0.8.0, awk, cut, tr, grep, head, tail, file, exiv2 (or feh), xmessage, xrandr, Xdialog (all should be already included in most/all of modern Puppies)
Known issues:
Icon Finder examines files by extension and, depending on this info, tries to acquire their resolution.
If a file has altered extension (not corresponding to its real type), it won't be processed correctly and therefore not displayed.
BTW, I'm aware of a tool called "identify", but I didn't want to include any external tool that is not already in Puppy.
Files with spaces in filename are processed and displayed correctly, but in some Puppies won't be located via ROX-Filer (rox -s "$FILENAME").
This happens in Slacko-5.3.3, but not in Lupu-528; must be caused by different ROX versions...
EDIT: I've found the problem, it's /usr/local/bin/rox
If you're on Slacko 5.3.3 and the problem bothers you, open the above file and add double quotes, as shown below:
Slowness...
Even if the list is already created it takes a while to bring up the GUI (but hey, there is usually 1200+ icons to display!).
The same happens during window resizing, so it's not recommended.
If there's too many icons to display (~9000 in my tests) IconFinder/Gtkdialog just can't handle it and crashes...
In Lupu-528 (and its derivatives) when IconFinder is launched through right click menu entry and the displayed list of icons is too long (height counts) it may not work properly.
Workarounds:
- always run IconFinder through bottom left menu (Openbox) or shortcut on the pinboard, Wbar, etc.
- increase the number of columns (this will decrease the height)
_______________________
EDIT:
Uploaded new version with menu entry fix for Precise, see this post for details.
Uploaded version 1.1 with few fixes and additions, see this post for details.
Uploaded version 1.2, see this post for details.
Uploaded version 1.3, see this post for details.
Uploaded version 1.3.1, see this post for details.
Uploaded version 1.4, see this post for details.
_______________________
iconfinder_NLS-1.4.pet contains the following translations:
- Polish (me)
_______________________
Written on Slacko-5.3.3/5.5
Have fun &
Greetings!
This application helps to find them all and display at once.
Icon Finder will be useful, for instance:
- for users who want to easily find icons for new desktop shortcuts,
- for devs in searching for non gtk-stock icons for their apps,
(as a bonus I've included 'Gtk stock icons' viewer too, posted here by Smokey01)
Usage:
1. On the first run there's request to create a new list.
It may take even a few minutes - depends of your system specs and amount of icons.
2. When the list is already created, a window with icons will be displayed (see screenshot).
3. You can hover an icon to see its location and resolution.
4. You can click an icon to locate it via ROX-Filer.
5. If there were changes in your system and want to re-search icons, use 'Menu -> Create new list'.
More info:
Supported formats are: bmp gif ico jpg pcx png ppm pnm svg tga tif xpm
The app is not extensively tested, so I can't say if every variant of the above formats will be processed properly.
The minimum and maximum sizes of icons are set to 0x0-64x64, but it can be edited ('Menu -> Settings'), just remember to adjust the size of buttons too - it must be ~10px larger, to fit icons within...or use 'Scale images' option.
Requirements:
Gtkdialog >= 0.8.0, awk, cut, tr, grep, head, tail, file, exiv2 (or feh), xmessage, xrandr, Xdialog (all should be already included in most/all of modern Puppies)
Known issues:
Icon Finder examines files by extension and, depending on this info, tries to acquire their resolution.
If a file has altered extension (not corresponding to its real type), it won't be processed correctly and therefore not displayed.
BTW, I'm aware of a tool called "identify", but I didn't want to include any external tool that is not already in Puppy.
Files with spaces in filename are processed and displayed correctly, but in some Puppies won't be located via ROX-Filer (rox -s "$FILENAME").
This happens in Slacko-5.3.3, but not in Lupu-528; must be caused by different ROX versions...
EDIT: I've found the problem, it's /usr/local/bin/rox
If you're on Slacko 5.3.3 and the problem bothers you, open the above file and add double quotes, as shown below:
Code: Select all
exec /usr/local/apps/ROX-Filer/AppRun "${@#*file://}"
Even if the list is already created it takes a while to bring up the GUI (but hey, there is usually 1200+ icons to display!).
The same happens during window resizing, so it's not recommended.
If there's too many icons to display (~9000 in my tests) IconFinder/Gtkdialog just can't handle it and crashes...
In Lupu-528 (and its derivatives) when IconFinder is launched through right click menu entry and the displayed list of icons is too long (height counts) it may not work properly.
Workarounds:
- always run IconFinder through bottom left menu (Openbox) or shortcut on the pinboard, Wbar, etc.
- increase the number of columns (this will decrease the height)
_______________________
EDIT:
Uploaded new version with menu entry fix for Precise, see this post for details.
Uploaded version 1.1 with few fixes and additions, see this post for details.
Uploaded version 1.2, see this post for details.
Uploaded version 1.3, see this post for details.
Uploaded version 1.3.1, see this post for details.
Uploaded version 1.4, see this post for details.
_______________________
iconfinder_NLS-1.4.pet contains the following translations:
- Polish (me)
_______________________
Written on Slacko-5.3.3/5.5
Have fun &
Greetings!