Page 22 of 38

Posted: Mon 19 Mar 2012, 16:20
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

Posted: Mon 19 Mar 2012, 16:31
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)

Posted: Fri 13 Apr 2012, 00:19
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.



__________________________________________

Posted: Sat 14 Apr 2012, 04:32
by zigbert
don570
Yes, I can reproduce it. Added to todo-list.


Thank you
Sigmund

Posted: Thu 31 May 2012, 16:55
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

Posted: Thu 31 May 2012, 17:13
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

Posted: Thu 31 May 2012, 22:47
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

Posted: Thu 31 May 2012, 23:58
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

_________________________________________

Pfind never finishes in ARM image of puppy

Posted: Fri 01 Jun 2012, 01:36
by Ted Dog
Looks like it got stuck in a ARM version of /proc

Posted: Sat 02 Jun 2012, 11:49
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 ;)

Posted: Sat 02 Jun 2012, 16:48
by don570
The two settings that should be saved in the advanced window is

1) the partition the user searched

2) mtime setting

______________________________________

Posted: Sat 02 Jun 2012, 17:30
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

_____________________________________________________

Posted: Sun 03 Jun 2012, 00:04
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.

Posted: Sun 03 Jun 2012, 18:31
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.....

Posted: Sun 03 Jun 2012, 18:35
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

Posted: Sun 03 Jun 2012, 19:17
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

Posted: Tue 05 Jun 2012, 22:18
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)

_________________________________________________





_________________________________________________

Posted: Wed 06 Jun 2012, 06:39
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).

Posted: Wed 06 Jun 2012, 21:26
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

Suggestion

Posted: Wed 06 Jun 2012, 21:51
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

_________________________________________________