You are not logged in.

#1 2012-04-07 00:05:37

Sotanaht
Member
Registered: 2012-01-14
Posts: 29

Any good standalone GUI search tools?

One thing I feel my setup is lacking is a proper search tool.  I could use Nautilus' search function, but I've never been particularly fond of it.  What I want is something that I can bind to a shortcut, and whenever I need to find a file on my disk, simply open the search program, enter my search terms, hit enter, and be done with it.  I know most of you probably just use the find command and whatnot, but if anybody does by chance use a GUI search tool, I'd be happy to hear your recommendations smile

Offline

#2 2012-04-07 01:27:12

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: Any good standalone GUI search tools?

Yes, the find command did come to mind. Why not use it as a back-end to a GUI, if you really insist on reaching over for that mouse ;-).

find $HOME -regex ".*$(zenity --title 'Enter search term' --entry --text 'Enter the regex you would like to search for.').*" | zenity --list --title "Search results" --column "Files"

Fairly primitive, true, but if it is no good, then your next step is to show that you're capable of doing your own research. Stfw for existing solutions, and if they do not satisfy your needs, specify what is wrong with them.

Offline

#3 2012-04-07 01:53:41

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,557
Website

Re: Any good standalone GUI search tools?

Look at that - a fancy gui search program with only one line of code!  OK, maybe two if the pipe is cheating.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2012-04-07 05:00:13

superchango
Member
From: Tenochtitlan
Registered: 2009-01-22
Posts: 133

Re: Any good standalone GUI search tools?

Catfish.

http://i.imgur.com/4hWM4.png

It can use like backend: find, locate, tracker, beagle or strigi.


Moderator edit:  Change image tags to URL tags.  See  our policy.  Feel free to edit this back if you change it to a thumbnail with a link to the full size picture.

Last edited by ewaller (2012-04-07 05:50:03)


"Yo creo que los muertos son tiernos. ¿Nos besamos?"

Offline

#5 2012-04-07 05:33:17

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: Any good standalone GUI search tools?

superchango wrote:

Catfish.

http://i.imgur.com/4hWM4.png

It can use like backend: find, locate, tracker, beagle or strigi.

Wtf. Please resize that. Some of us are on 3G and only have limited downloads.

Offline

#6 2012-04-07 23:22:27

Sotanaht
Member
Registered: 2012-01-14
Posts: 29

Re: Any good standalone GUI search tools?

/dev/zero wrote:

Yes, the find command did come to mind. Why not use it as a back-end to a GUI, if you really insist on reaching over for that mouse ;-).

find $HOME -regex ".*$(zenity --title 'Enter search term' --entry --text 'Enter the regex you would like to search for.').*" | zenity --list --title "Search results" --column "Files"

Fairly primitive, true, but if it is no good, then your next step is to show that you're capable of doing your own research. Stfw for existing solutions, and if they do not satisfy your needs, specify what is wrong with them.

This is actually nearly perfect.  Would there be a way to have it focus on the search window instead of the results window?  I know the search window has to open first, but there must be a way to change to the other window without manually alt-tabbing.

I'm also probably going to figure out how to add right-click menus for the items, and expand this program a bit.  I'll post my results.


EDIT: Actually I think I'll just throw something together in Qt, instead of learning Zenity.

Last edited by Sotanaht (2012-04-07 23:24:12)

Offline

#7 2012-05-04 04:18:16

innn
Member
Registered: 2010-10-12
Posts: 96

Re: Any good standalone GUI search tools?

/dev/zero wrote:

Yes, the find command did come to mind. Why not use it as a back-end to a GUI, if you really insist on reaching over for that mouse ;-).

find $HOME -regex ".*$(zenity --title 'Enter search term' --entry --text 'Enter the regex you would like to search for.').*" | zenity --list --title "Search results" --column "Files"

Fairly primitive, true, but if it is no good, then your next step is to show that you're capable of doing your own research. Stfw for existing solutions, and if they do not satisfy your needs, specify what is wrong with them.

How to search using wildcards it does not seem to work

Offline

#8 2012-05-04 06:13:26

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: Any good standalone GUI search tools?

If you're not just being a help vampire, have a think about how the code works and try to figure it out yourself. I can already think of one way to answer your question. I won't tell you yet, because that won't help you learn.

Offline

Board footer

Powered by FluxBB