You are not logged in.
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 ![]()
Offline
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
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
Catfish.
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
Catfish.
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
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
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
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