LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-25-2011, 01:58 AM   #16
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612

gtkfind is nice and lightweight -even if old.
 
Old 10-25-2011, 02:10 AM   #17
xj25vm
Member
 
Registered: Jun 2008
Posts: 393

Original Poster
Rep: Reputation: 68
I don't use KDE on these machines - mainly because I want to squeeze as much speed out of them as possible. So catfish seems like the perfect tool for what I want. Thanks to all those who contributed with suggestions!
 
Old 10-25-2011, 06:11 AM   #18
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 1,134

Rep: Reputation: 277Reputation: 277Reputation: 277
This thread got me searching, and I pulled searchmonkey from svn:

Code:
http://sourceforge.net/projects/searchmonkey/develop
It built and installed with no issues; *looks* decent, and found 254 m4a files in a networked 30,000 file music directory in under a minute...so it seems ok initially....

cheers,
 
Old 10-25-2011, 07:14 AM   #19
bogzab
Member
 
Registered: Mar 2006
Location: Dyserth, Wales
Distribution: Slackware 14.0, Slackware 14.1, Slackware-current
Posts: 306

Rep: Reputation: 33
Quote:
I don't use KDE on these machines
Although you don't actually run KDE, you might consider using a KDE utility for this particular purpose. Dolphin has been mentioned above, but another one (not sure if it needs quite so much by way of KDE libraries either) is Krusader which is a bit like an MC clone for GUI deployment. I have both Dolphin and Krusader on KDE PCs and find the file search facilities in both are very useful. Dolphin is of course more fully KDE integrated but Krusader is nice if you are used to MC (including the old Function Key shortcuts).
 
Old 10-25-2011, 09:08 AM   #20
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by bogzab View Post
Although you don't actually run KDE, you might consider using a KDE utility for this particular purpose.
The problem with this that starting any KDE utility will wake up a lot of other KDE services as well, so that you will end up with a lot of additional programs running that you did not ask for.

I think catfish sounds like a nice tool, and I will probably create a package for it - I use XFCE myself on some (low-end) machines where it will integrate nicely with Thunar.

Eric
 
Old 10-25-2011, 09:56 AM   #21
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Catfish is nice and integrates well with Thunar. Searchmonkey is also very good but doesn't integrate at all. As a stand-alone program though it's second to none. I've submitted searchmonkey to slackbuilds.org and will probably see if the catfish maintainer wants to update or allow me to submit for 13.37.
 
Old 10-25-2011, 11:53 AM   #22
ottavio
Member
 
Registered: Nov 2007
Posts: 312

Rep: Reputation: 46
Quote:
Originally Posted by xj25vm View Post
I have reached the point where I have to provide them with a file-search facility. I've been tempted to teach them how to use "find" on the command line, but I reached the conclusion that (and some might argue against this) it isn't exactly suitable for them to try an learn command line syntax.
It takes 2 minutes to learn how to use find on the CLI and your acquaintances will thank you for the rest of their lives. Once I taught a flashy Mac user how to use the terminal and he told me he felt reborn.
 
Old 10-25-2011, 09:16 PM   #23
veeall
Member
 
Registered: May 2007
Location: Estonia
Distribution: Slackware64-current
Posts: 298

Rep: Reputation: 56
PCManFM-Mod file manager has search functionality builtin. I'm not sure original pcmanfm 0.5x has this feature or not, version 0.9x at slacbuilds.org doesn't.

The downside is - PCManFM-Mod doesn't support trash-bin.
 
Old 10-26-2011, 11:08 AM   #24
xj25vm
Member
 
Registered: Jun 2008
Posts: 393

Original Poster
Rep: Reputation: 68
bogzab wrote:
Quote:
Although you don't actually run KDE, you might consider using a KDE utility for this particular purpose.
My omission. I really should have written "I don't *install* KDE on these machines". Thus they don't even have the usual KDE libraries, and I prefer software which doesn't depend on them.

ottavio wrote:
Quote:
It takes 2 minutes to learn how to use find on the CLI and your acquaintances will thank you for the rest of their lives.
That might be so, or might be not. Many technical people seem to be under the impression that all other users in the world have the same mindset and the same capacity to learn technical stuff. I love CLI and use it a lot, but I can also see how other people are better off with a dumbed-down, "buttonized" interface. Also, there is plenty of other stuff to learn out there aside from computers. Some people just prefer to keep the computer related learning to a minimum.

Searchmonkey sounds interesting, although, as pointed out, doesn't integrate with Thunar.
 
Old 10-26-2011, 10:07 PM   #25
acummings
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 615

Rep: Reputation: 50
FWIW, (BTW, no persuasion or argument intended) I tend to collect stuff/commands as can be seen below by the contents of my own

findh

which is an executable Perl script that, when ran, prints to screen many many example commands such as find, list files, cp files, rename files, and more. Once I've run findh then I just copy/paste to create my needed command.

I had dreamed to expand/build upon this ie Apache web server and CGI and Perl whereby a served up web page would query a user and user inputs answers into (form) fields on the web page which in turn would build their command for them then run the command and, lastly, return about the results. But, not enough around toits over the years thus findh is it so far.

Code:
al@P5Q:~/bin$ pwd
/home/al/bin
al@P5Q:~/bin$ cat findh
#!/usr/bin/perl
# findh prints example find useage
print "\nfilename accepts wildcards || Or try: locate filename\ncmd | top dir (recurses down) | opt -n denotes-> | name_of_file2find\n\n";
print "find /home -name filename\n--\n";

print <<STUFF;
find SBo/13.1/ -name "*.info" -exec grep -H 'MAINTAINER' {} \; | cut -d= -f2 | sort | uniq -c | sort -nr > maintainers.txt

find / -perm +04000 -exec ls -ld {} \\; 2> /dev/null > /tmp/SUID.files
find / -perm +02000 -exec ls -ld {} \\; 2> /dev/null > /tmp/SGID.files

# files larger than 2 megs. size.txt ordered list (see next 2 also)
find /home/al/ -xdev -size +2000k -print | xargs ls -ldS > ~/size.txt

# sed escapes spaces (makes the ls part work on MS Win folder/file names)
find . -xdev -size +2000k -print | sed 's/ /\\ /g' | xargs ls -ldS > ~/size.txt

# size is both listed and ordered also works on MS Win with spaces
find . -type f -size +50000k -exec ls -lhS {} \;

# replace space with underscore
find /your/path -iname "*" | while read fname ; do
  "`echo "$fname" | sed 's/ /_/i'`"
done

# caution searches from / (all of al files on entire disk)
find / -xdev -user al -print | xargs ls -ldS > /home/al/alfil.txt

# change group
find /bin /sbin /usr/bin /usr/sbin -type f -group bin | xargs chgrp root

# all files under yum_repo that are less than 26 days old
find /home/al/yum_repo -mtime -26

# quote when pattern used in name portion
find /mnt/usbhd/rhel/yum_repo -name '*'

find /usr -name foobar.txt

find / -name foobar.txt  # srch from root of HD

find / -iname '*.MP3'  # case insensitive

find -amin -60  # files accessed less than 60 minutes ago

# redirect next to a file may serve as an install log of files installed
# find / -xdev -ctime -1  # finds new(ly) (software installed) files
  ^^^^ ^ ^^^^^ ^^^^^^ ^^  ^ ^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^
perl -MFile::Find -le 'find sub{print if /\\.txt\$/}, "."'

# tested s/print/unlink/ to delete files
perl -MFile::Find -e 'find sub { print if /\\.txt\$/} , shift || "."'

my \@files = `find $dir -name '*.txt'`;

# files only also in cur dir only
find . -name '*' -maxdepth 1 -type f > ~/myfiles.txt
find . -name '*.htm' -maxdepth 1 -type f > ~/myfiles.txt

# cp files to /tmp/slackupdate (ok prompts, exec just does it)
find . -type f -name "*.txt" -maxdepth 1 -ok cp {} /tmp/slackupdate \\;
find . -type f -name "*.txt" -maxdepth 1 -exec cp {} /tmp/slackupdate \\;
find . -name '*.bak' -type f -exec rm {} \\;

# very powerful bulk rename ie s/?/_/ or s/ /_/ etc. in file names
find . -type f -name '*?*' -print0 | xargs -0 rename '?' '_'

scp -rp /mnt/hda5/home/carla carla\@192.168.1.5:/home/carla/tmp
# copies a folder recursively as a non root user to 2nd computer
scp pcdosbak.zip root\@192.168.1.6:/mnt/idehd
# copy to HD of sysresccd booted computer (passwd root)

locate command. To upgrade the database for the locate command do this while in the superuser mode: slocate -u. Then wait a while while it upgrades. To use the command just type locate mozilla (for example) and it will post all of the mozilla references in your computer.

slocate -u
STUFF
# end of findh

al@P5Q:~/bin$
 
1 members found this post helpful.
Old 02-14-2012, 01:33 AM   #26
naveennishad
LQ Newbie
 
Registered: Feb 2012
Posts: 11

Rep: Reputation: Disabled
Thumbs up ......

....

Last edited by naveennishad; 02-14-2012 at 05:34 AM.
 
Old 02-14-2012, 02:03 AM   #27
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Do you have a relationship with SNAPSE, naveennishad? Are you its developer?
 
Old 02-14-2012, 02:32 AM   #28
xj25vm
Member
 
Registered: Jun 2008
Posts: 393

Original Poster
Rep: Reputation: 68
Well, the blog post mentions "SNAPSE" - then the suggested command suppose to install "synapse". Which one is it? - and no link to the developer's website. Just trolling for free clicks? If that is the case - maybe the post should be reported and removed.
 
Old 02-14-2012, 05:10 AM   #29
NeoMetal
Member
 
Registered: Aug 2004
Location: MD
Distribution: Slackware
Posts: 114

Rep: Reputation: 24
Really primitive and I know its already solved perhaps more effectively but I was interested so heres a python gui I put together that gives you locate results and opens them with thunar. Opening the non directory results will behave differently according to how you have thunar configured I think
Code:
#! /usr/bin/python
import commands
import os
import tkMessageBox
from Tkinter import *

 
#use locate on entered string
def locater(locatestr,nametxt):

   #open selected result in thunar
    def opendir():
        index=int(resultslist.curselection()[0])
        chosen=resultslist.get(index)
        os.system("thunar '" + chosen+"'")
   

    wind.title("Locating...")
    locatestr=nametxt.get()
    results=commands.getoutput("locate " + locatestr).splitlines()

  #create a list of results that you can mousewheel through
    resultbox=Tk()
    resultbox.title("Results")
    resultbox.geometry("310x600")
    resultslist=Listbox(resultbox)
    resultslist.pack(fill="both",expand=1)

    #create a button to open selected directory
    openbtn=Button(resultbox,text="Open", command=opendir)
    openbtn.pack(side="left",fill="y",expand=1)
    for result in results:
        resultslist.insert(END,result)


  
#make a main tkinter window
wind = Tk()
count=0
wind.title("Pylocater")
wind.geometry('250x120')



#txt entry field
nametxt=Entry(wind)
nametxt.pack(expand=1,side="bottom",fill="x")
locatestr=nametxt.get()

#Button to call the locater function
locatebtn = Button(wind,text="Locate Files",command=lambda:locater(locatestr,nametxt))
locatebtn.pack({"side":"left"},expand=1,fill="x")

quitbtn = Button(wind,text="Quit",fg="red",command=quit)
quitbtn.pack({"side": "right"},expand=1)

mainloop()

Last edited by NeoMetal; 04-26-2012 at 09:43 PM. Reason: fixes
 
Old 02-15-2012, 08:27 PM   #30
FluxFlux
LQ Newbie
 
Registered: Feb 2012
Location: Muelheim/Ruhr, Germany
Distribution: FluxFlux
Posts: 1

Rep: Reputation: Disabled
Sgsearch - Fast and simple

Hi all,

a fast and little alternative is 'sgsearch' from Frank ENDRES.
I am using it in my little distro because of its very few deps.
It can be easiliy included as a custom action in Thunar/PCManFM, too.
You'll find it at h**p://sallu.tuxfamily.org

Regards,

Manfred

Last edited by FluxFlux; 02-15-2012 at 08:38 PM. Reason: Forgot mentioning deps and filemanager integration
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Search tools (Affinity, Tracker Search Tool, etc.) not working - don't find any files Adamantus Linux - Newbie 1 03-29-2009 11:21 PM
LXer: GNOME Do - Launcher tool to search and launch applications files and more LXer Syndicated Linux News 0 10-22-2008 11:50 AM
Is there a Slackware GUI administration tool like Yast??? parcox Slackware 18 02-05-2007 03:22 AM
How to search files in linux using GUI? SAnton Linux - Newbie 3 09-21-2005 09:01 AM
simple search and replace accross files/direcotries podollb Linux - Software 3 06-04-2004 08:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration