Page 1 of 1

pfind/pfilesearch improvements

Posted: Mon Nov 14, 2022 9:26 pm
by don570

Forum member Burunduk made a simple improvement for pfind/pfilesearch...

viewtopic.php?p=65890#p65890

______________________________________________________

Also I made pfind addon to add a right click menu to do a search in a folder..
viewtopic.php?t=6634
___________________________________________________


Re: pfind/pfilesearch improvements

Posted: Tue Nov 15, 2022 1:23 am
by BarryK
don570 wrote: Mon Nov 14, 2022 9:26 pm

Forum member Burunduk made a simple improvement for pfind/pfilesearch...

viewtopic.php?p=65890#p65890

______________________________________________________

Also I made pfind addon to add a right click menu to do a search in a folder..
viewtopic.php?t=6634
___________________________________________________

Thanks for the links, I have bumped pfilesearch PET from 2.2 to 2.3

I will need to think about that right-click addon.
Easy generates the right-click menus in woofQ
...I will need to refresh my memory how this works.

Just a quick search of my blog, found these posts in 2018:

https://bkhome.org/news/201805/rox-file ... -menu.html

https://bkhome.org/news/201909/rox-file ... types.html

OK, remembering how it works...

I have edited /usr/sbin/build-rox-sendto, inserted this at line 181:

Code: Select all

  pfind) MIMEDIR='inode_directory'; aNAME='pFind' ;;

The created /etc/xdg/rox.sourceforge.net/MIME-types/inode_directory:

Code: Select all

#!/bin/sh
exec pfind -d "$1"

...that should work!


Re: pfind/pfilesearch improvements

Posted: Wed Nov 16, 2022 8:31 pm
by don570

Thanks for looking into this.
_______________________________


Re: pfind/pfilesearch improvements

Posted: Fri Nov 18, 2022 2:58 pm
by geo_c
don570 wrote: Mon Nov 14, 2022 9:26 pm

Forum member Burunduk made a simple improvement for pfind/pfilesearch...

viewtopic.php?p=65890#p65890

______________________________________________________

Also I made pfind addon to add a right click menu to do a search in a folder..
viewtopic.php?t=6634
___________________________________________________

Would you mind posting the finished script in this thread?


Re: pfind/pfilesearch improvements

Posted: Sat Nov 19, 2022 8:30 pm
by don570

Zigbert on sept 25 made a change to

/usr/local/pfilesearch/func
3 additions and 1 deletion

https://github.com/puppylinux-woof-CE/w ... 63040e035b
_______________________________________


Re: pfind/pfilesearch improvements

Posted: Mon Nov 21, 2022 10:16 pm
by don570

It appears that there are two files that were changed by Zigbert --> pfilesearch and func...

https://github.com/puppylinux-woof-CE/w ... filesearch

https://raw.githubusercontent.com/puppy ... earch/func

_______________________________________________


Re: pfind/pfilesearch improvements

Posted: Wed Nov 23, 2022 1:45 am
by BarryK
BarryK wrote: Tue Nov 15, 2022 1:23 am
don570 wrote: Mon Nov 14, 2022 9:26 pm

Forum member Burunduk made a simple improvement for pfind/pfilesearch...

viewtopic.php?p=65890#p65890

______________________________________________________

Also I made pfind addon to add a right click menu to do a search in a folder..
viewtopic.php?t=6634
___________________________________________________

Thanks for the links, I have bumped pfilesearch PET from 2.2 to 2.3

I will need to think about that right-click addon.
Easy generates the right-click menus in woofQ
...I will need to refresh my memory how this works.

Just a quick search of my blog, found these posts in 2018:

https://bkhome.org/news/201805/rox-file ... -menu.html

https://bkhome.org/news/201909/rox-file ... types.html

OK, remembering how it works...

I have edited /usr/sbin/build-rox-sendto, inserted this at line 181:

Code: Select all

  pfind) MIMEDIR='inode_directory'; aNAME='pFind' ;;

The created /etc/xdg/rox.sourceforge.net/MIME-types/inode_directory:

Code: Select all

#!/bin/sh
exec pfind -d "$1"

...that should work!

I didn't get it quite right. Fixed now:

https://bkhome.org/news/202211/pfind-ri ... older.html