pFind 6.3

Filemanagers, partitioning tools, etc.
Message
Author
User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#421 Post by zigbert »

I have added this

Code: Select all

	if [ $FILEMANAGER = rox ]; then
		exec rox -s "$FILE" 2> /tmp/pfind-error$PROGPID
	else
		exec $FILEMANAGER "${FILE%/*}/" 2> /tmp/pfind-error$PROGPID
	fi
Thank you guys!!!
Sigmund

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#422 Post by zigbert »

Version 4.25
See main post

Changelog
- Added Thunar as optional filemanager (thanks to oliverjames)
- Bugfix: 'Show location' didn't work for other filemanager than rox. (thansk to Geoffrey)

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#423 Post by don570 »

I noticed this bug in several puppies

Here's how to reproduce it:

Right click on folder and choose 'Search inside'.

Make a search inside folder (It can be successful or not)

Now do a search in system files for a file that should be there
like 'mtpaint'

It will give a false report.

Close and relaunch pfind and it will find mtpaint.



__________________________________________

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#424 Post by zigbert »

don570
Yes, I can reproduce it. Added to todo-list.


Thank you
Sigmund

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#425 Post by zigbert »

Here comes a (working) prototype of next generation of pFind.

It takes advantage of the latest gtkdialog and svg. Be aware of the right-click-menu and the support of multi-selection. The gui is meant to be even simpler than any previous releases.

I am requesting feedback of how you as a user would like it to work.
Please take a look, and tell us your thoughts.

Image

Note!
I have got some bugreports that requires pFilesearch to be updated. This will happen.... For now, let's concentrate on the gui.


Thank you
Sigmund
Attachments
pfind-4.9.8.pet
(14.73 KiB) Downloaded 296 times

oliverjames
Posts: 46
Joined: Sat 04 Apr 2009, 11:40
Location: Divonne-les-Bains, France

#426 Post by oliverjames »

Hello Zigbert

Running in Saluki this version does not allow me to open the location, although it is configured to use Thunar.

Cheers,
Oliverjames

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

#427 Post by Jim1911 »

zigbert wrote:I am requesting feedback of how you as a user would like it to work.
Please take a look, and tell us your thoughts.
Like it, except for the green text, not enough contrast for readability for my eyes. Right click functions are great.

Thanks for this and other fine utilities that you maintain.
Jim

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#428 Post by don570 »

Here's the interface for Apple's sherlock which was cutting edge
around 1990 :lol:

I didn't like using it but you might get some ideas from it.

A feature I did like about OS 9 was searching simultaneously
for a filename and mtime. For instance let's say I created a jpeg
5 days ago and stored it on an external hard drive but I had forgotten
the full name.

I would

1) select the hard drive

2) type in the name fragment

3) then pull down a menu nearby where I could choose the
number of days or a date within which to search

Pfind can do this I assume with mtime but the old interface
was confusing. Apple used a simple pull down menu,
not an extra window.

Clicking on the 'Edit' button made some changes to the
pull down menu (labelled 'Custom').

Image

_________________________________________

User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

Pfind never finishes in ARM image of puppy

#429 Post by Ted Dog »

Looks like it got stuck in a ARM version of /proc

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#430 Post by disciple »

Looks good.
I can't remember - has the ability to sort by clicking on the column headings only been removed in this version, or was it already gone?
On that note, I'm wondering if it is technically possible with gtkdialog to allow resizing or reordering columns (by clicking and dragging)...
I am requesting feedback of how you as a user would like it to work.
Personally I almost always use the advanced search... and I think the biggest improvement would be remembering all the selections in the advanced search so you can modify it slightly and search a second time.

I still think the "presets" idea I described previously could work really well. It would store each setting on a separate line in a plain text file, i.e. search text on the first line, search type (filename/content/both) on the second line, search location on the third, etc. (I'm sure there must be a clever way of reading each line of a file to set the state of a widget... but its pretty low on my todo list, so I can't see myself looking into it further in the forseeable future.)

Files could be kept for both named presets and recent searches (say the last 5 or 10 searches by default, or searches from the last week), both identified by filename.

Maybe a file select dialog would even be the best way to load search settings ;)
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#431 Post by don570 »

The two settings that should be saved in the advanced window is

1) the partition the user searched

2) mtime setting

______________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#432 Post by don570 »

Another possible feature is putting either an icon or a letter
in front of the file name in the search result window.

This would allow the right side of search result window to be hidden.

f=file
d=directory
l=link

Here is an image of a search using YAD code
It was discussed on this page

I tried to make an application to find files HERE
but it was buggy with foreign characters.

Image

_____________________________________________________

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#433 Post by disciple »

don570 wrote:The two settings that should be saved in the advanced window is

1) the partition the user searched

2) mtime setting

______________________________________
No, everything should be saved. If a search didn't find exactly what you want you could see all the settings used and adjust any of them.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#434 Post by zigbert »

disciple wrote:
don570 wrote:The two settings that should be saved in the advanced window is

1) the partition the user searched

2) mtime setting

______________________________________
No, everything should be saved. If a search didn't find exactly what you want you could see all the settings used and adjust any of them.
This could maybe be fixed by keeping the pFilesearch window 'alive' after the search has been done.....

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#435 Post by zigbert »

don570
Showing filetype is not hard, but using letters look rather old-fashion if you ask me.
In fact pFind already shows the letter in the permission coloumn, but what about something like this:

Image

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#436 Post by zigbert »

It is getting interesting :)

This one should give you full control over advanced search.
Please test.

You need to install both pFilesearch and pFind to get it work.

Image

Question: What kind of filetype is this?

Code: Select all

# file /dev/snd/timer 
/dev/snd/timer: character special
Attachments
pfind-4.9.8.pet
(14.67 KiB) Downloaded 313 times
pfilesearch-1.29.pet
(9.64 KiB) Downloaded 328 times

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#437 Post by don570 »

I have been using pfind 498 for the last few days in Exprimo
and Saluki and it works fine.

Concerning icons -----> What about icons for pictures,sounds
and the various compressed archives like pet and tar.gz
Icons might make them look nicer in window.

A feature I would love ---> Click on a filename in search results
and tap ctrl-I for info. This would pop a window
to give details like permissions,size, and the application that
created the file.

Or better still ---> Just move the mouse pointer over a filename
and the info popped up automatically without
even a click!! 8)

_________________________________________________





_________________________________________________

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#438 Post by disciple »

This one should give you full control over advanced search.
Please test.
Fantastic! Hopefully I'll remember to check it out when I get home this weekend.

Concerning icons (in the package manager as well as Pfind), how much do they affect performance?

And rather than manually assigning icons for particular mime types, have you looked at whether there is a way for GTK to directly assign the icon from the GTK theme, based on the mimetype? It seems like it might be possible, and that way the icons would match those displayed in Rox (or whatever GTK filer the user has).
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#439 Post by zigbert »

disciple wrote:Hopefully I'll remember to check it out when I get home this weekend.
Please do, and report back.
I have started to knock down some bugs in pFilesearch.


Sigmund

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

Suggestion

#440 Post by don570 »

Suggestion: To save about an inch of width I suggest using icons
rather than text. A tooltip pop up to give the name of the icon
would be nice to avoid confusion.

Also the total should be at the bottom rather than the top of the list.

Also an alternate wider window style should be an option
in the menu. Maybe a couple of inches wider to see the full path.

Here's a mock-up.

Image

_________________________________________________

Post Reply