Pfind alternative Search-Monkey for 4+ series

Stuff that has yet to be sorted into a category.
Message
Author
User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

Pfind alternative Search-Monkey for 4+ series

#1 Post by ttuuxxx »

I've been using pfind for years now, and yes its a great Puppy program, but I've always dislike programs that stay running if you don't properly shut them down, and Pfind is one of them, actually if you close it the with the window dressings _-X it will stay running until you kill it with Pprocess which is another application with the same flaw. These programs can take a lot of cpu usage if they are left running in background and actually make you system unstable, if you have enough of them running at once.

Anyways Search-Monkey is a perfect complete replacement for Pfind, it runs quicker and shutsdown 100% of the time, so I packaged up 2 versions.

version 1
Pfind-searchmonkey-0.8.1-i386.pet
this version will replace Pfind so you don't have 2 items in your menu doing the same thing, and you won't accidentally run Pfind. Also if you have a quicklaunch like in puppy 4.2 icewm this should also launch Search Monkey, to use this version just click on Pfind in the Menu :wink:

Version 2
searchmonkey-0.8.1-i386.pet
This version doesn't touch Pfind at all it will give you another item listing in the menu above Pfind called "#1 Search Monkey - File Finder"

enjoy
ttuuxxx
Attachments
search.jpg
(63.25 KiB) Downloaded 2053 times
Pfind-searchmonkey-0.8.1-i386.pet
(116.36 KiB) Downloaded 874 times
searchmonkey-0.8.1-i386.pet
(116.2 KiB) Downloaded 968 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
droope
Posts: 801
Joined: Fri 01 Aug 2008, 00:17
Location: Uruguay, Mercedes

#2 Post by droope »

Hey, and can't GTK, or whatever zigbert's working on, be fixed to actually shutdown???

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#3 Post by Jim1911 »

Is there a "Howto" to do a search with Searchmonkey? Personnally, I find zigbert's PFind easier to use and it is more likely to locate the file for which I'm searching. I've never had a problem with Pfind not shutting down, or if it doesn't, my hardware isn't adversely affected.

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#4 Post by ttuuxxx »

droope wrote:Hey, and can't GTK, or whatever zigbert's working on, be fixed to actually shutdown???
Not it can't its only does that if you use the window dressings or say you restart x server while its running, its uses gtkdialog and thats where the issue is. All gtkdialog programs have the same flaw, you always have to use the cancel/exit button, if not they will stay running.
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#5 Post by ttuuxxx »

Jim1911 wrote:Is there a "Howto" to do a search with Searchmonkey? Personnally, I find zigbert's PFind easier to use and it is more likely to locate the file for which I'm searching. I've never had a problem with Pfind not shutting down, or if it doesn't, my hardware isn't adversely affected.
Jim you sound like you like zigbert or something, Searchmonkey is just as easy as pfind
look at the image provided
where it says 'files' type the name of the file your looking for like pfind
and you can specify where to look the example by typing in the folders section, the example is looking from /root
but if you want to check the whole system and not just in root change it to /
so basically to find pfind you would type like this

Files:Pfind
Folders:/
thats it, Pfinds default settings is the same as using '/'
this one can search a directory, partition, folder etc
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

jakfish
Posts: 762
Joined: Fri 18 Jul 2008, 19:09

#6 Post by jakfish »

Nice work, ttuuxx. I'll try it out today. Thanks,
Jake

jakfish
Posts: 762
Joined: Fri 18 Jul 2008, 19:09

#7 Post by jakfish »

Hey, ttuuxx,

Using 4..1.2, I installed ("successfully" says the installation) each pet (one at a time, with no save between) but neither actually starts searchmonkey. Am I doing something wrong or is this a 4.2-specific pet?

All best,
Jake

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#8 Post by ttuuxxx »

jakfish wrote:Hey, ttuuxx,

Using 4..1.2, I installed ("successfully" says the installation) each pet (one at a time, with no save between) but neither actually starts searchmonkey. Am I doing something wrong or is this a 4.2-specific pet?

All best,
Jake
hi jake did you fixmenus in the terminal then restarted JWM
or just rebooted?
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

jakfish
Posts: 762
Joined: Fri 18 Jul 2008, 19:09

#9 Post by jakfish »

Hi, ttuuxx,

My steps were to restart JWM, then X, then save and reboot. Even when I searched out the actual searchmonkey app, I still couldn't get it to run. (though it seems to put its files in the right places)

Jake

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#10 Post by ttuuxxx »

jakfish wrote:Hi, ttuuxx,

My steps were to restart JWM, then X, then save and reboot. Even when I searched out the actual searchmonkey app, I still couldn't get it to run. (though it seems to put its files in the right places)

Jake
hi jake click the terminal button on yur desktop and paste this
ldd /usr/bin/searchmonkey

and report back any files not found, oh ya which version of puppy are you using?
thanks
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

jakfish
Posts: 762
Joined: Fri 18 Jul 2008, 19:09

#11 Post by jakfish »

Hi, ttuuxx,

# ldd /usr/bin/searchmonkey
linux-gate.so.1 => (0xffffe000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7cc0000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb7c5e000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb7c47000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb7c37000)
libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb7c2f000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb7bff000)
libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb7ba2000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7b82000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7b7f000)
libdl.so.2 => /lib/libdl.so.2 (0xb7b7b000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb7b77000)
librt.so.1 => /lib/librt.so.1 (0xb7b63000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7ad6000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7ac1000)
libc.so.6 => /lib/libc.so.6 (0xb79c6000)
libX11.so.6 => /usr/X11R7/lib/libX11.so.6 (0xb78f5000)
libXfixes.so.3 => /usr/X11R7/lib/libXfixes.so.3 (0xb78f1000)
libm.so.6 => /lib/libm.so.6 (0xb78ce000)
libfontconfig.so.1 => /usr/X11R7/lib/libfontconfig.so.1 (0xb78a8000)
libXext.so.6 => /usr/X11R7/lib/libXext.so.6 (0xb789c000)
libXrender.so.1 => /usr/X11R7/lib/libXrender.so.1 (0xb7895000)
libXrandr.so.2 => /usr/X11R7/lib/libXrandr.so.2 (0xb788f000)
libXcursor.so.1 => /usr/X11R7/lib/libXcursor.so.1 (0xb7886000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb7861000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7803000)
libz.so.1 => /lib/libz.so.1 (0xb77f4000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb77d7000)
libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb77a5000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb76be000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb76b3000)
/lib/ld-linux.so.2 (0xb7f22000)
libXau.so.6 => /usr/X11R7/lib/libXau.so.6 (0xb76b0000)
libXdmcp.so.6 => /usr/X11R7/lib/libXdmcp.so.6 (0xb76ab000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb768e000)
#

All best,
Jake

Oh, version 4.1.2

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#12 Post by ttuuxxx »

ok well all that checks out fine, open a terminal and type
searchmonkey
and see if it reports any errors?
if you get this error like 5 times its ok
(searchmonkey:25471): Gdk-CRITICAL **: gdk_window_invalidate_rect: assertion `window != NULL' failed

anything else report back please
and thanks
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

PupMike
Posts: 18
Joined: Thu 23 Apr 2009, 01:39

#13 Post by PupMike »

I'm getting the same here with Puppy 4.12.

I d/led the original sources and built them and the same thing as well. Looking through the sources I found that the Main Window was not being shown before the rest of the windows so I added a gtk_widget_show for the main window and rebuilt. It started up okay after that but then it would fault on many other tasks. I noticed it never saved the config.ini file and would fault when asked to do so. There seems to be a path problem. Some of usage of string macros looks a little odd to me. Not sure i feel like sifting through the whole program to debug it though.

Mike

jakfish
Posts: 762
Joined: Fri 18 Jul 2008, 19:09

#14 Post by jakfish »

Hi, ttuuxx,

In console, when I type searchmonkey and hit enter, I get:

Segmentation fault

Jake

ujhermans
Posts: 27
Joined: Sat 12 Nov 2005, 23:14

Search_Monkey Version 1

#15 Post by ujhermans »

Hi ttuuxxx.
Thank you for all you do for puppy.
I downloaded Version one and found that it finds the wanted file in an instant but than freezes while trying to run down the list using my mouse. Is there anything I can do about it?

uj

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#16 Post by mikeb »

Ok I get segmentation fault in puppy 4.12 also but curiously it works perfectly in puppy 2.12.........nice and full featured...I like the regular expression builder feature as that stuff makes me go crosseyed normally.

Another gtk2 problem like the firefox one perhaps??Does 4.20 which I presume you tested in have an updated gtk2?

regards

mike

PupMike
Posts: 18
Joined: Thu 23 Apr 2009, 01:39

#17 Post by PupMike »

mikeb wrote:Ok I get segmentation fault in puppy 4.12 also but curiously it works perfectly in puppy 2.12.........nice and full featured...I like the regular expression builder feature as that stuff makes me go crosseyed normally.

Another gtk2 problem like the firefox one perhaps??Does 4.20 which I presume you tested in have an updated gtk2?

regards

mike
I think it is a Gtk version/bug problem. Most all of the seg faults I tracked down to the way the controls/widgets are shown. It seems a show is done on the controls before the parent and my current version of Gtk doesn't like it a bit. My Gtk version is 2.12.1 which also seems to have a bug in the file chooser dialog. If a non existent name is set to default the dialog will hang in lala land until you kill the process.

Mike H.

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#18 Post by ttuuxxx »

mikeb wrote:Ok I get segmentation fault in puppy 4.12 also but curiously it works perfectly in puppy 2.12.........nice and full featured...I like the regular expression builder feature as that stuff makes me go crosseyed normally.

Another gtk2 problem like the firefox one perhaps??Does 4.20 which I presume you tested in have an updated gtk2?

regards

mike
Yes and 4.2 has the gtk2 patch pizzasgood made, Its probably that, it works fine for me on 4.2 never crashed, must of tested/used it 50 times already. Perfectly stable.

now to fine the patch and post the link here for others to try
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#19 Post by mikeb »

Yes and 4.2 has the gtk2 patch pizzasgood made,
I'll ask here cos I'm losing track of this...what version of gtk2 is stable and being used in 4.20, where does the patch come into this...is there a pet that could be used on 4.12 and earlier for established setups, or would it be simpler to grab the latest 4.20 and hyjack the libraries?

As this affects at least 2 applications so far (3 with avidemux perhaps???) would be a useful patch.

If this is already available simply slap me or anyone you care to choose...

ps..I find search monkey deleriously easy to use ....been a gtkfind user until now :D

mike

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#20 Post by ttuuxxx »

mikeb wrote:
Yes and 4.2 has the gtk2 patch pizzasgood made,
I'll ask here cos I'm losing track of this...what version of gtk2 is stable and being used in 4.20, where does the patch come into this...is there a pet that could be used on 4.12 and earlier for established setups, or would it be simpler to grab the latest 4.20 and hyjack the libraries?

As this affects at least 2 applications so far (3 with avidemux perhaps???) would be a useful patch.

If this is already available simply slap me or anyone you care to choose...

ps..I find search monkey deleriously easy to use ....been a gtkfind user until now :D

mike
Hi mike I think this is the package your looking for, test it out and tell us how it went ok, It took about 20 mins to find it on the forum :)
thanks
ttuuxxx

http://www.murga-linux.com/puppy/viewto ... 9&start=75
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

Post Reply