please add the search tool, gtkfind.Damn Small LinForum: DSL Ideas and Suggestions Topic: please add the search tool, gtkfind.Damn Small Lin started by: gh78 Posted by gh78 on Oct. 29 2005,04:04
the gtkfind Extension is only 28kb.from < Damn Small Linux myDSL Application Extensions > :
Posted by mikshaw on Oct. 29 2005,04:48
The gtk find extesion is only 28kb, and already built as a mydsl extension, so it should be no problem to download and install if you need it.
Posted by SaidinUnleashed on Oct. 30 2005,00:50
all the cool kids use
or
anyway. ~J.P. Posted by hawki on Oct. 30 2005,16:52
Hi If you want find built in to Emelfm try this. In the center column select configure. Then Toolbar buttons. Then add. For Label find For tool tip find file by name For command find -name %{Filename?};read That should put a find button at the bottom of Emelfm. To use select the highest level directory you want to search then click on the button Enter something like *.mp3 to find all mp3 files in that directory tree. good luck Posted by WDef on Nov. 07 2005,12:51
But cooler adults put 2>/dev/null after find to filter out all the proc shite, and locate needs updatedb ran every time you want to find a new file, and it pigs down resources. Gtkfind is a great tool, it makes complex searches easy, and it would ease suffering when newbies first come to dsl. I can think of worse things to do with 28k. It's not a half bad suggestion at all. Posted by mikshaw on Nov. 07 2005,16:43
When you say "new file", do you mean a file that has been added to the system since the last time locate was run? If so, then...well, of course. However, this is "damn small" linux, so unless you have changed it into "pretty big" the updatedb process will take only a few seconds...a few minutes if you have a terribly old machine. On my other boxes i run updatedb daily, and that's more than frequent enough. As you become more accustomed to using Linux, I think you'll find that you have much less need to search for things anyway. In any case, neither gtk find or locate is included with DSL, so i won't argue the differences between them. I agree that complex searches can be troublesome (though not impossible) with find, particularly BusyBox find, but it may be more likely that you'd see a search tool written specifically for DSL than a tool that is already available in the repository. 28k may not sound like much, but when you can get the same fuctionality in flua for less than 10k (a guess), it leaves even more room for other things...many lines of script, for example, which may provide much more functionality systemwide than just a single tool. Posted by WDef on Nov. 08 2005,07:46
Sure we can do regex searchs, --newer-than, etc whatever, all with gnu find (I often use a lazy emelfm button something like the one above for simple needs). Busybox find is crippled as you say. I didn't think that was the point however. People who try dsl with little or no prior exposure to linux will go looking for a gui find of some sort, and gtkfind is a good one. Your small-footprint flua gui sounds just the ticket, so start coding Mik. Posted by mikshaw on Nov. 08 2005,15:07
lol! might have to do that, but first i'll have to learn more about "find"....i generally only use the "-name" or "-iname" parameter myself, and sometimes get the syntax incorrect.Also, I know i sound elitist with some of my responses. That's not intentional, but it's true. I'm mostly concerned that adding things that are already there will mean loss of functionality elsewhere, but sometimes i forget what it was like when i first moved toward linux. I wanted a GUI for everything, and it took a while to realize how powerful and simple some cli apps can be. Posted by MakodFilu on Mar. 09 2007,16:16
I was writing a murgaLua equivalent, tentatively named flFind, but I choose to try with "flRun" first.I'll need to learn more about "find" as well, as I was so lazy to ls -R /|less and then / to search for a file. Posted by roberts on Mar. 09 2007,16:28
Not to discourage an Lua Fltk equivalent but ...gtkfind was added to DSL. menu: Apps->Tools->Find Posted by MakodFilu on Mar. 09 2007,19:10
Yeah, I knew. It is 60KB also and that is why I thought about writing a murgaLua implementation. I'd like to finish flRun before.
|