pFind 6.3

Filemanagers, partitioning tools, etc.
Message
Author
User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#341 Post by Béèm »

zigbert wrote:Béèm
Your problems with sorting is a gtk issue rather than Pfind. - That is why I have made unique sort functions available from the menu.

How date is shown is also defined by gtk


Sigmund
What is gtk?
I ask this as a simple end-user having an issue with a product he likes to use.
Your answer is like answering in Chinese or Norwegian.

It never occurred to me, having a clickable header that does apparently some sorting, that the sorting isn't the same as when started from the menu.
For the benefit of end-users, I think it's better not to have the possibility to click on a header for sorting purposes, but eventually issue a warning to use the menu.

Being a developer I think you should make applications whose technical aspects and functionality are transparent for the end-user.

What do you want me to do, now I know that issues are gtk's ones.
Well I don't know.

I am rather disappointed in your answer here and I suppose none of my other questions will be answered neither.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

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

Re: Date selection not according to the locale.

#342 Post by ttuuxxx »

Béèm wrote:My locale is set to Belgium and thus the date is dd/mm/yy (or dd/mm/yyyy)
But the date selection fields in the advanced search shows mm/dd/yyyy

Can this be corrected?
Hi Beem the date is usually controlled by gtk2
I bet if you open a terminal and type date it will also be backwards.
you might try typing in a string like export LC_TIME=nl_NL in a terminal if that's the local your using, you can find the locales name in usr/lib/locale Its not a pfinds issue, its a gtk2 local issue your having.
Also if you type date --help in a terminal it will display the options.

Also if your using JWM window manager
open /root/.jwmrc-tray as text and look for <Clock format="%a %b %d, %l:%M %p ">minixcal</Clock>
next change it to
<Clock format="%a %d %b, %l:%M %p ">minixcal</Clock>
and it will have the date before month on the taskbar and would look like below.
ttuuxxx
Attachments
date.jpg
(1.74 KiB) Downloaded 1073 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
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#343 Post by zigbert »

Béèm wrote:Being a developer I think you should make applications whose technical aspects and functionality are transparent for the end-user.
That's what guis are for.

Pfind doesn't actually do something new, - it just let you skip the terminal when searching for a file. There are plenty of different file-searching guis, and you should pick the one you like the most. In Puppy (or in the Puppy repo), you'll find great tools like Zfind, Puppysearch and Searchmonkey that do the same thing as Pfind.
Béèm wrote:I am rather disappointed in your answer here and I suppose none of my other questions will be answered neither.
I am rather disappointed in your attitude to people using their spare time trying to help you.
Béèm wrote:For the benefit of end-users, I think it's better not to have the possibility to click on a header for sorting purposes
To be considered.


Sigmund

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#344 Post by Béèm »

@ttuuxxx
GTK2 and it effects doesn't mean much to me being simple end-user.
What does it do to applications?

Attached is the date/time display I have. I did put "%R" in the JWM-tray for the clock format.
In a terminal it gives:

Code: Select all

# date
wo jun  9 12:04:09 CEST 2010
# export LC_TIME=nl_BE@euro
#
kinda month first then day then year.

With my locale set at nl_BE@euro, I don't have any problem in applications like OOo. I get the dd/mm/yy (or yyyy) and the punctuation for thousand and decimal is correct also.

I never used searchmonkey and had a quick look. I didn't have a problem to set the date at dd/mm/yyyy

So why can't it be done in pfind?
Attachments
date-sys-tray.png
(5.48 KiB) Downloaded 1003 times
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

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

#345 Post by disciple »

zigbert wrote:
Béèm wrote:For the benefit of end-users, I think it's better not to have the possibility to click on a header for sorting purposes
To be considered.
I think some version(s) of pfind was/were like that, but someone (probably me) persuaded you to reenable clickable headers because they are much faster, more reliable (occasionally gtkdialog stuffs up when using the menu sort), and more convenient... at least once you know that you need to use the sort menu for size.

I wonder if it would be easy to make it configurable, so people can enable clickable-menus, and to do so they would see an explanation that they need to use the sort menu for some columns.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

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

#346 Post by disciple »

Is the date format in pfind really controlled by gtk? I'll have to look at the code again...
Béèm wrote:@ttuuxxx
GTK2 and it effects doesn't mean much to me being simple end-user.
What does it do to applications?
Pfind is a simple (well, no a complicated :) ) shell script that uses another program, gtkdialog to produce a gui for another program, find. It is therefore limited to some extent by the capabilities of those other programs.
Béèm wrote:I never used searchmonkey and had a quick look. I didn't have a problem to set the date at dd/mm/yyyy

So why can't it be done in pfind?
Changing the date format could be done in pfind (as could your other request - exporting all the columns). It is just a question of how complicated (and slow) it will be, and whether Sigmund (or someone else) puts in the time to write new code for it. Personally I think everyone should always use the 2010/06/09 format as it easily sorted (e.g. if you used a different format in Pfind you couldn't sort it by clicking the column header either).

Unfortunately it is not feasible (unless there is something we don't know) to sort the size column (or a column of dates in another format) due to the limitations of gtkdialog.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

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

bug (Sort of)

#347 Post by disciple »

Hey Zigbert, did you know that "sort by extension" omits any results that don't have an extension?
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#348 Post by Béèm »

Thanks disciple.
That makes more sense to me now. Hope I retain the lesson.
Now this quote makes more sense to me also.
"I would be pointing the finger at gtk2...the source of all bugginess" - mikeb
So OOo doesn't use GTKDialog and therefor formatting is developed by the developer.

I tried to see how Pfind looked like, but it is a rather special form.

As for searchmonkey, I don't know if it's GTKDialog based also. I see it as a binary file only. But the date selection is through a calendar.

Also I have no objection to use 2010/06/09 as this is indeed YYYY/MM/DD
In fact when I put a date in a file name, I use for today, xxxx.2010.06.09.xxx

And now I discovered that one can sort a column through the menu, which renders correctly, I avoid pushing the header for sorting.
So it would be nice if pushing on a header to sort renders the same way as through the menu, but if too complicated it can stay as it is.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

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

Re: bug (Sort of)

#349 Post by zigbert »

disciple wrote:Hey Zigbert, did you know that "sort by extension" omits any results that don't have an extension?
Got it!

thank you
Sigmund

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

#350 Post by disciple »

So OOo doesn't use GTKDialog and therefor formatting is developed by the developer.
OOo doesn't use gtkdialog or even GTK - they have their own unique gui toolkit. OOo can mimic your GTK theme though.
As for searchmonkey, I don't know if it's GTKDialog based also.
No, searchmonkey does not use gtkdialog - it is a standard c & gtk program.
Also I have no objection to use 2010/06/09 as this is indeed YYYY/MM/DD
Ah... sorry, I'd got confused about which date format you were getting.
"I would be pointing the finger at gtk2...the source of all bugginess" - mikeb
The quote is somewhat tongue-in-cheek - I don't think GTK is really that bad.
In the case of Pfind I think the limitations are less the fault of GTK itself than of gtkdialog, which is really quite primitive.
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:

#351 Post by zigbert »

Version 4.19
See main post


changelog
- Improved language detection (thanks to wow)
- .desktop file includes several languages (thanks to shinobar)
- Reduced size of NLS file
- Sort from tree-header is disabled (didn't work very well) - sort from menu (thanks to Beem)
- Bugfix: path to pfind-view in case more than 500 hits
- Bugfix: some search options failed in combination with 'exclude' option
- Bugfix: "sort by extension" omits any results that don't have an extension? (thanks to disciple)

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

#352 Post by disciple »

Hi again, here are some more bugs :( I thought I had already reported them... but maybe I forgot.

1. The action buttons don't work if you searched in ./
e.g. the browse button produces an error like this for each file:

Code: Select all

cp: `/tmp/searchresult15883/07 Vals Venezolano': can make relative symbolic links only in current directory
e.g. the play button produces errors like this for each file, although you'll get a different error if you don't use audacious:

Code: Select all

unix-io: Cannot open /tmp/./Tim Daniel/Grace Mercy And Peace/11 God Is With Us.mp3: No such file or directory.
MADPlug-Message: error initialising input
2. pfind -d doesn't work with paths with spaces.

Code: Select all

# pfind -d "/initrd/mnt/dev_save/My Documents/Alister New/Multimedia/Music/new"
find: /initrd/mnt/dev_save/My: No such file or directory
find: Documents: No such file or directory
find: New/Multimedia/Music: No such file or directory

** ERROR **: GtkDialog: Could not find the dialog description in the environment variable 'MAIN_DIALOG'.
aborting...
/usr/local/pfind/pfind: line 442: 22182 Aborted                 gtkdialog3 is /usr/sbin/gtkdialog3
3. When you click the browse button the symlinks created do not have extensions. Or is this intentional?
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

Suggestion for PFind -- show the search term in the results

#353 Post by Sit Heel Speak »

A search which looks on a terabyte of storage takes a few minutes.
Meanwhile, I work on Computer #2.
Then, the PFind search-results window appears on Computer #1.
I turn back to Computer #1 but have forgotten what the search term was.
Sometimes it can be inferred, sometimes not...

(Hmm, this looks like a good start on a haiku...)

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

#354 Post by disciple »

Yes, I have the same trouble, but only using one computer :)
Personally I'd like it to display the actual find command that was run... it would help me learn to use find as well as helping with troubleshooting :)
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:

#355 Post by zigbert »

Sit Heel Speak
Show find command is a good idea.

disciple
I have looked at the bugs, and fixed 2. The problem of action buttons when using ./ as search-path worked for me. (after fixing the other 2 bugs) Hopefully this happens for you too.


Sigmund

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

#356 Post by zigbert »

Version 4.20
See main post

changelog
- Removed quit-button
- Bugfix: When you click the browse button the symlinks created do not have extensions (thanks to disciple)
- Bugfix: pfind -d doesn't work with paths with spaces. (thanks to disciple)

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

#357 Post by zigbert »

I will try to rebuild pfilesearch to show 'find' command

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

#358 Post by zigbert »

disciple
The reported 'action buttons does not work when searching ./' seems to works with Pfind 4.20. I have not done anything to solve it??????

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#359 Post by edoc »

Is it possible to do a pfind search and then select all (or a group of) results and delete them?

The usual ctrl-arrow and shift-arrow method to select does not appear to work.

At the moment I am trying to delete Google-Chrome (actually anything with "google" in it from my Netwook with Fluppy 005 -- but I'd like to do the same on all of our computers.

Google-chrome does not show up in Package Manager or else I would have done this there (which would probably be a more-clean method).
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

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

#360 Post by disciple »

zigbert wrote:disciple
The reported 'action buttons does not work when searching ./' seems to works with Pfind 4.20. I have not done anything to solve it??????
Yes, it seems to be fixed now :)
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

Post Reply