Xfce Forum

Sub domains
 

You are not logged in.

#1 2015-05-25 08:39:37

nouvo09
Member
Registered: 2011-06-26
Posts: 31

File finder in Xfce

Hi everybody !

It's me or there is no applet in Xfce to find a file by typing in his name or part of it ?

It got it on Gnome2 and I wonder not to have such a tool in Xfce.

thanks

Offline

#2 2015-05-25 10:50:08

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: File finder in Xfce

Not part of the Xfce project, but you can give catfish a try. It integrates well and should be in your distro's repositories.

To integrate within Xfce:

  1. You can create a Thunar Custom Action using catfish so you can initiate the search from within Thunar:

    <action>
    	<icon>xfce4-appfinder</icon>
    	<name>Find...</name>
    	<unique-id>1426466013179488-2</unique-id>
    	<command>catfish --hidden --path=%f</command>
    	<description>Search for files in a directory</description>
    	<patterns>*</patterns>
    	<startup-notify/>
    	<directories/>
    </action>

    ...this will pop-up the catfish window and allow to enter a search term.
    .

  2. Or, if you use the Application Finder application, an Appfinder Custom Action with a command like:

    catfish --hidden --start --path=$HOME "%s"

    ...will also work. Assign whatever prefix you'd like to use. In this case, you would enter something like (if the prefix is ~):

    ~myfile

    ...and catfish would pop-up with the search completed and the search results displayed.
    .

  3. If you want a search field text entry field on the panel, you can also use the verve plugin. To do so, create an executable shell script somewhere in your path (I named the script just 's' for ease of entry) with the following content:

    #!/bin/bash
    catfish --hidden --start --path=$HOME "$1"

    ...Add the verve plugin to the panel and type into the panel "s myfile" and it will open catfish with the search results displayed.

Last edited by ToZ (2015-05-25 12:43:23)


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2015-05-26 09:06:11

nouvo09
Member
Registered: 2011-06-26
Posts: 31

Re: File finder in Xfce

Hi and thanks for your reply. I'll try soon.

Could you pls just tell me where I have to place the script <action> <\action> ? Thanks again.

Offline

#4 2015-05-26 10:25:49

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: File finder in Xfce

nouvo09 wrote:

Could you pls just tell me where I have to place the script <action> <\action> ? Thanks again.

You can either copy/paste it directly into ~/.config/Thunar/uca.xml (make sure you get the formatting correct), or from Thunar, select Edit >> Configure Custom Actions, click on the Add button and create a new based on the information in that xml snippet:

- Name = Find...
- Description = Search for files in a directory
- Command = catfish --hidden --path=%f
- Icon = <select any one you like>
- Use Startup Notification = checked
- Appearance tab:
   - File Pattern = *
   - Directories = checked

More information here.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2015-05-26 17:03:06

nouvo09
Member
Registered: 2011-06-26
Posts: 31

Re: File finder in Xfce

Thank you !

sad catfish is buggy in Fedora 20 ! ...

actually it is python which is buggy !

Last edited by nouvo09 (2015-05-26 17:15:36)

Offline

#6 2015-05-26 17:09:10

Jerry3904
Member
Registered: 2013-11-09
Posts: 863

Re: File finder in Xfce

I use gnome-search-tool instead, which has proved to be an excellent tool.


MX-23 (based on Debian Stable) with our flagship Xfce 4.18.

Offline

#7 2015-05-26 17:18:12

nouvo09
Member
Registered: 2011-06-26
Posts: 31

Re: File finder in Xfce

Jerry3904 wrote:

I use gnome-search-tool instead, which has proved to be an excellent tool.


Tried but it leaks some dependencies.

Offline

#8 2015-05-26 20:28:59

Jerry3904
Member
Registered: 2013-11-09
Posts: 863

Re: File finder in Xfce

...lacks...?


MX-23 (based on Debian Stable) with our flagship Xfce 4.18.

Offline

#9 2015-05-27 09:26:05

nouvo09
Member
Registered: 2011-06-26
Posts: 31

Re: File finder in Xfce

Jerry3904 wrote:

...lacks...?

Yes of course, sorry !

Offline

#10 2015-05-27 10:22:52

Jerry3904
Member
Registered: 2013-11-09
Posts: 863

Re: File finder in Xfce

I kind of like the concept of "leaking some dependencies" though, hate to give it up. ;-D

I'm a bit surprised about the dependencies, since it has been around a long time and does not "leak" any in Debian.


MX-23 (based on Debian Stable) with our flagship Xfce 4.18.

Offline

#11 2015-05-28 10:04:41

nouvo09
Member
Registered: 2011-06-26
Posts: 31

Re: File finder in Xfce

Ok sorry for my poor english. I meaned : missing dependencies.

Offline

#12 2015-05-28 11:28:39

Jerry3904
Member
Registered: 2013-11-09
Posts: 863

Re: File finder in Xfce

Your English is fine. I was trying to make a joke, and it was not a very good one. Sorry.


MX-23 (based on Debian Stable) with our flagship Xfce 4.18.

Offline

#13 2015-05-28 16:21:33

nouvo09
Member
Registered: 2011-06-26
Posts: 31

Re: File finder in Xfce

You're welcome smile

And I got it !

Offline

#14 2015-06-15 19:36:21

fabioxxxx
Member
Registered: 2011-10-04
Posts: 18

Re: File finder in Xfce

Still cant get why devs put their foot down on this feature... having to manually add search it's not user friendly ...

Catfish it's really buggy and gnome-search-tools requires nautilus that requires a butt load of gnome packages  : P

After so many posts like these on the internet... the search feature still not deemed worthy.

(my setup)

apt-get install gnome-search-tool  nautilus

thunar> edit>custom actions>add(+)

-Name: Search
-command: gnome-search-tool --path=%F
-chose a system icon
tab in the same page "Appearance Conditions page"
mark all options or it won't show up

Last edited by fabioxxxx (2015-06-16 12:36:28)

Offline

#15 2015-06-15 20:21:35

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: File finder in Xfce

fabioxxxx wrote:

Catfish it's really buggy

Out of curiosity, how do you find catfish to be buggy? I use it and don't notice any bugs.
What kind of bugs are you seeing? And what version are you running?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#16 2015-06-15 20:44:46

fabioxxxx
Member
Registered: 2011-10-04
Posts: 18

Re: File finder in Xfce

during search, sometimes mouse will disappear when passed on the catfish window , application becomes unresponsive during search

Probably it's my version ubuntu LTS 12.04 ... catfish 0.3.2-2ubuntu1

Just tested on debian 8, catfish worked fine  1.2.2-1 : P

Last edited by fabioxxxx (2015-06-15 20:48:31)

Offline

#17 2015-06-16 01:39:51

MountainDewManiac
Member
From: Where Mr. Bankruptcy is Prez
Registered: 2013-03-24
Posts: 1,115

Re: File finder in Xfce

fabioxxxx wrote:

Probably it's my version ubuntu LTS 12.04 ... catfish 0.3.2-2ubuntu1

Just tested on debian 8, catfish worked fine  1.2.2-1 : P

You might try adding this PPA:

https://launchpad.net/~catfish-search/+archive/ubuntu/catfish-stable

to your sources list.

Regards,
MDM

Last edited by MountainDewManiac (2015-06-16 01:40:24)


Mountain Dew Maniac

How to Ask for Help <=== Click on this link

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 599.92 KiB (Peak: 616.77 KiB) ]