pfind/pfilesearch improvements

Moderator: BarryK

Post Reply
don570
Posts: 688
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 117 times

pfind/pfilesearch improvements

Post 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
___________________________________________________

User avatar
BarryK
Posts: 2692
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 738 times

Re: pfind/pfilesearch improvements

Post 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!

don570
Posts: 688
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 117 times

Re: pfind/pfilesearch improvements

Post by don570 »

Thanks for looking into this.
_______________________________

geo_c
Posts: 2879
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2202 times
Been thanked: 876 times

Re: pfind/pfilesearch improvements

Post 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?

geo_c
Old School Hipster, and Such

don570
Posts: 688
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 117 times

Re: pfind/pfilesearch improvements

Post 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
_______________________________________

don570
Posts: 688
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 117 times

Re: pfind/pfilesearch improvements

Post 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

_______________________________________________

User avatar
BarryK
Posts: 2692
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 738 times

Re: pfind/pfilesearch improvements

Post 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

Post Reply

Return to “EasyOS”