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:

#601 Post by zigbert »

don570 wrote:Would it make sense to save the window geometry like you do in pmusic?

++++++++++++++++++++++++++++++++++++++++++++++
will do :)

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

#602 Post by zigbert »

live wrote:Feature request for pFind 5.15
* Right-click menu "open as text" or "open with Geany"
* larger default startup width
Got it :)

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

#603 Post by don570 »

If you are re-writing the pfind interface window you should read
the Radky page HERE since it has some interesting
facts on the width of buttons and language requirements.

________________________________________________

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

#604 Post by zigbert »

Do you think the buttons in pFind works bad?

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

#605 Post by don570 »

The older version of pfind had a problem with the French translation -->
the button to sort the results was too narrow to hold all the French translation.

However I haven't tried your new interface (ie SVG icons) , I'll test it.
_______________________________________________

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

#606 Post by zigbert »

Version 6.0
See main post

Changelog
- Save geometry. (thanks to don570)
- Save advanced-gui status.
- Icon for advanced button.
- Larger default gui-width. (thanks to live)
- Border around right-click menu.
- Rewritten right-click menu code.
- Use libstardust theming if exist to set color of svg.
- bigger svg buttons.
- Open as text option in the right-click menu. (thanks to live)
- Update translation in credits.
- Scale about-dialog.
- Scale preferences window.
- Bugfix: Version upgrade failed.

User avatar
rg66
Posts: 1158
Joined: Mon 23 Jul 2012, 05:53
Location: Vancouver, BC Canada / Entebbe, Uganda Africa!?!

#607 Post by rg66 »

Code: Select all

# pfind
/usr/local/pfind/pfind: line 337: /root/.pfind/tmp/ADVANCED_GUI_STATUS: No such file or directory
/usr/local/pfind/pfind: line 337: /root/.pfind/tmp/ADVANCED_GUI_STATUS: No such file or directory

** (gtkdialog:15931): ERROR **: gtkdialog: Error in line 64, near token '</default>': syntax error
I had to first make /root/.pfind/tmp/ADVANCED_GUI_STATUS to get it to run. It then locked up, second run was ok after ADVANCED_GUI_STATUS had true written to it.

Thanks for adding open as text to the right click menu
X-slacko-5b1 - X-tahr-2.0 - X-precise-2.4
[url=http://smokey01.com/rg66/]X-series repo[/url]

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#608 Post by Geoffrey »

rg66 wrote:

Code: Select all

I had to first make /root/.pfind/tmp/ADVANCED_GUI_STATUS to get it to run. It then locked up, second run was ok after ADVANCED_GUI_STATUS had true written to it.[/quote]

Can confirm that needs to be done in Carolina also, I found it needs any text in ADVANCED_GUI_STATUS, as long as it's not a blank file.
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]

User avatar
rg66
Posts: 1158
Joined: Mon 23 Jul 2012, 05:53
Location: Vancouver, BC Canada / Entebbe, Uganda Africa!?!

#609 Post by rg66 »

Fix was easy, just add -f to line 20: [ ! -f $WORKDIR/ADVANCED_GUI_STATUS ] && echo false > $WORKDIR/ADVANCED_GUI_STATUS
and it creates the file.
X-slacko-5b1 - X-tahr-2.0 - X-precise-2.4
[url=http://smokey01.com/rg66/]X-series repo[/url]

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

#610 Post by zigbert »

Thanks for the feedback and the fix ;-)

Version 6.1
See main post

Changelog
- Use vector icon for roxapp
- Bugfix: startup failure (thanks to rg66)

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

search on date input a file located along a symlink

#611 Post by charlie6 »

Hi Sigmund,
thanks a lot for this 6.1 version!
still wondering how to find a file on date input ?

example:
looking for a text file named data.rtf created by 14 may 2013 and located in /mnt/home/my-documents. There is a symlink /root/my-documents pointing to /mnt/home/my-documents.

Starting pFind with only the search string date manages to fing date2.rtf;

If clicking on "Advanced" and entering under Match area the dates
from 05/13/2013 and to 05/15/2013 (date format MM/JJ/AAAA),
and checking the atime box,
then pFind returns "File not found".

No better when "Follow symlinks" box checked: here are some of the command line messages about a "file system loop" in this last case:
...
find: File system loop detected; `/initrd/pup_rw/mnt/home/zrightclick-wheezy-0.0.2/root/.config/rox.sourceforge.net/OpenWith/.image_gif/Edit with mtPaint/mtpaint' is part of the same file system loop as `/initrd/pup_rw/mnt/home/zrightclick-wheezy-0.0.2/root/.config/rox.sourceforge.net/OpenWith/.image_gif/Edit with mtPaint'.
find: File system loop detected; `/initrd/pup_rw/mnt/home/zrightclick-wheezy-0.0.2/root/.config/rox.sourceforge.net/OpenWith/.image_svg+xml/Edit with mtPaint/mtpaint' is part of the same file system loop as `/initrd/pup_rw/mnt/home/zrightclick-wheezy-0.0.2/root/.config/rox.sourceforge.net/OpenWith/.image_svg+xml/Edit with mtPaint'.
find: File system loop detected; `/initrd/pup_ro7/lib/i386-linux-gnu' is part of the same file system loop as `/initrd/pup_ro7/lib'.
find: File system loop detected; `/initrd/pup_ro7/usr/lib/i386-linux-gnu' is part of the same file system loop as `/initrd/pup_ro7/usr/lib'.
...
Am i missing something?
Thanks for any comment
Charlie

live
Posts: 223
Joined: Wed 10 Feb 2010, 21:04

#612 Post by live »

@zigbert
Thanks, great improvement with 6.1

Some comments:
I. When there is no search result, I notice this (but no incidence)

Code: Select all

(gtkdialog:10870): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1 char 19: Element 'span' was closed, but the currently open element is 'markup'
II. How did you get the nice grey background color of your screenshots?

III. Drop down of the 8(?) last search queries (possibly with their options).

IV. On search result, toggle off the advanced pane search.
It took me some time to realise that by clicking on advanced button it does the job. Normally you only need to view the result.

V. A metatag search possibility.

VI. pfilesearch preferences window,
* if you could increase its width, it would be clearer to view which container are taken into account.
I do copy & paste into Geany.
I would add:
* for audio: m4b, opus, vorbis
* for video: mp4, mkv, webm
* for code: css

VII. Food for thoughs http://stefanstools.sourceforge.net/grepWin.html

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

Re: search on date input a file located along a symlink

#613 Post by zigbert »

charlie6 wrote:Hi Sigmund,
thanks a lot for this 6.1 version!
still wondering how to find a file on date input ?

example:
looking for a text file named data.rtf created by 14 may 2013 and located in /mnt/home/my-documents. There is a symlink /root/my-documents pointing to /mnt/home/my-documents.

Starting pFind with only the search string date manages to fing date2.rtf;

If clicking on "Advanced" and entering under Match area the dates
from 05/13/2013 and to 05/15/2013 (date format MM/JJ/AAAA),
and checking the atime box,
then pFind returns "File not found".

No better when "Follow symlinks" box checked: here are some of the command line messages about a "file system loop" in this last case:
...
find: File system loop detected; `/initrd/pup_rw/mnt/home/zrightclick-wheezy-0.0.2/root/.config/rox.sourceforge.net/OpenWith/.image_gif/Edit with mtPaint/mtpaint' is part of the same file system loop as `/initrd/pup_rw/mnt/home/zrightclick-wheezy-0.0.2/root/.config/rox.sourceforge.net/OpenWith/.image_gif/Edit with mtPaint'.
find: File system loop detected; `/initrd/pup_rw/mnt/home/zrightclick-wheezy-0.0.2/root/.config/rox.sourceforge.net/OpenWith/.image_svg+xml/Edit with mtPaint/mtpaint' is part of the same file system loop as `/initrd/pup_rw/mnt/home/zrightclick-wheezy-0.0.2/root/.config/rox.sourceforge.net/OpenWith/.image_svg+xml/Edit with mtPaint'.
find: File system loop detected; `/initrd/pup_ro7/lib/i386-linux-gnu' is part of the same file system loop as `/initrd/pup_ro7/lib'.
find: File system loop detected; `/initrd/pup_ro7/usr/lib/i386-linux-gnu' is part of the same file system loop as `/initrd/pup_ro7/usr/lib'.
...
Am i missing something?
Thanks for any comment
Charlie
Follow symlink is troublesome for find because of this loop-issue. If a symlink ie in /mnt/home is pointing back to / - we got the loop running. This is why follow symlink is not the default option in pFind.

Date:
- I guess you are aware of that atime is access time - ctime is create time.
- I am not familiar with the date format MM/JJ/AAAA, but in english it is MM/DD/YYYY as Month/Date/Year.
- More info if you hover the date-area. A tooltip box will show.
- Have you tested the date-match from 01/01/1970 - today.
- I made a date-test here, and it works as expected.


Sigmund

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

#614 Post by zigbert »

live wrote:II. How did you get the nice grey background color of your screenshots?
From my alternative desktop manager (for jwm)
http://murga-linux.com/puppy/viewtopic.php?p=794783

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

#615 Post by zigbert »

live wrote:III. Drop down of the 8(?) last search queries (possibly with their options).
Added to todo-list

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

#616 Post by zigbert »

live wrote:V. A metatag search possibility.
Extremely slow, and I don't think it is suitable for pFind.
pMusic on the other hand is already made for this.

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

#617 Post by zigbert »

live wrote:VI. pfilesearch preferences window,
* if you could increase its width, it would be clearer to view which container are taken into account.
This is already done for pFilesearch 2.0

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

#618 Post by zigbert »

live wrote:I would add:
* for audio: m4b, opus, vorbis
* for video: mp4, mkv, webm
* for code: css
Me to - thanks ;)

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

#619 Post by zigbert »

live wrote:VII. Food for thoughs http://stefanstools.sourceforge.net/grepWin.html
Your specific thoughts are more valuable to me.

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

Re: search on date input a file located along a symlink

#620 Post by charlie6 »

Hi Sigmund,
many thanks for your exhaustive answer as also for your steady kindness for answering !
zigbert wrote:Follow symlink is troublesome for find because of this loop-issue. If a symlink ie in /mnt/home is pointing back to / - we got the loop running. This is why follow symlink is not the default option in pFind.
Yep ! i've found number of symlinks in my pupsave file:
/sys/bus/i2c/devices/i2c-0 pointing to /sys/devices/pci0000:00/0000:00:1f.3/i2c-0
/sys/bus/i2c/devices/i2c-1 pointing to /sys/devices/pci0000:00/0000:00:1f.3/i2c-1
etc...
I don't know if this is specific to my pupsave story (ca. 2 years old :roll: ) ??? So I 'll get a try on a fresh pupsave. Or maybe run pfind from a live-cd session and scanning my mounted pupsave file ...?

Here are message from terminal while running pfind with "Follow symlinks" activated:
...
find: File system loop detected; `/sys/bus/i2c/devices/i2c-0/device/subsystem/devices/0000:00:02.0/firmware_node/device:03/subsystem/devices/PNP0303:00/physical_node/subsystem/devices/00:0b/tty/ttyS0/subsystem/ttyS2/device/subsystem/devices/i8042/serio0/input/input0/event0/subsystem/event5/device/device/subsystem/devices/1-6/1-6.1/driver/1-6.2/1-6.2:1.0/host3/scsi_host/host3/subsystem/host0/device/target0:0:0/subsystem/devices/target1:0:0/1:0:0:0/bsg/1:0:0:0/subsystem/2:0:0:0/device/scsi_disk/2:0:0:0/subsystem/3:0:0:0/device/block/sdc/sdc1/subsystem/ram10/bdi/subsystem/7:4/subsystem' is part of the same file system loop as `/sys/bus/i2c/devices/i2c-0/device/subsystem/devices/0000:00:02.0/firmware_node/device:03/subsystem/devices/PNP0303:00/physical_node/subsystem/devices/00:0b/tty/ttyS0/subsystem/ttyS2/device/subsystem/devices/i8042/serio0/input/input0/event0/subsystem/event5/device/device/subsystem/devices/1-6/1-6.1/driver/1-6.2/1-6.2:1.0/host3/scsi_host/host3/subsystem/host0/device/target0:0:0/subsystem/devices/target1:0:0/1:0:0:0/bsg/1:0:0:0/subsystem/2:0:0:0/device/scsi_disk/2:0:0:0/subsystem/3:0:0:0/device/block/sdc/sdc1/subsystem/ram10/bdi/subsystem'.
find: File system loop detected; `/sys/bus/i2c/devices/...
Date:
- I guess you are aware of that atime is access time - ctime is create time.
- I am not familiar with the date format MM/JJ/AAAA, but in english it is MM/DD/YYYY as Month/Date/Year.
- More info if you hover the date-area. A tooltip box will show.
sorry ...I'd better write MM/DD/YYYY ... :wink:
- Have you tested the date-match from 01/01/1970 - today
yes ==>> see the terminal messages quoted above.

Cheers, Charlie
Attachments
loop_2015-02-04(1).png
(47.19 KiB) Downloaded 342 times

Post Reply