Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 24 Nov 2014, 16:40
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
Pfind 5.14
Post new topic   Reply to topic View previous topic :: View next topic
Page 5 of 40 [599 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, ..., 38, 39, 40 Next
Author Message
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: Tue 29 May 2007, 03:28    Post subject:  

veronicathecow wrote:
Hi, yes it's full HDD install as to the rest I am really not sure. I've been so busy I haven't had time to check it out, just use (I mostly use Firefox with very useful extensions and it is very stable on PClinux)
Thank you for the info.
In the pretty near future SeaMonkey and FireFox will evolve to be more compatable and thus FireFox extentions can then be used in SeaMonkey.

So see you back at that moment? Wink
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5788
Location: Valåmoen, Norway

PostPosted: Tue 29 May 2007, 15:31    Post subject:  

veronicathecow wrote:
Anyway, any idea how to use Pfind on PCLinux as it's far better than any other I have come across.

The requirements is:
- gtkdialog (Puppy uses version 0.7.18 )
- xdialog (version 1 or 2 shouldn't matter)
- gxmessage

If you compile or find these packages for PClinux, it should work. Please let me know how it goes.

Remember to use version 2.0, because the use of gtk-stock-icons.

Sigmund
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5788
Location: Valåmoen, Norway

PostPosted: Thu 31 May 2007, 11:34    Post subject:  

I forgot to upgrade burnerprogram from Tkdvd to Grafburn.

Change in config:
from exec_burner=gxmessage Run TkDVD and choose menu 'Load file list' (/tmp/pfind.tkdvd)
to exec_burner=grafburn -f /tmp/pfind-view

That's all.
Back to top
View user's profile Send private message Visit poster's website 
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: Thu 31 May 2007, 14:26    Post subject:  

Béèm wrote:
veronicathecow wrote:
Hi, yes it's full HDD install as to the rest I am really not sure. I've been so busy I haven't had time to check it out, just use (I mostly use Firefox with very useful extensions and it is very stable on PClinux)
Thank you for the info.
In the pretty near future SeaMonkey and FireFox will evolve to be more compatable and thus FireFox extentions can then be used in SeaMonkey.

So see you back at that moment? Wink
I can add more to that.
Following the SeaMonkey group, I saw that 1.1.2 is announced.
In the discussion that followed there was talk about suiterunner.
This permits SeaMonkey, FireFox and Thunderbird to be developed based on the same development platform and thus providing more interoperabiliy. (f.e. extensions). Just google on suiterunner and you have the interesting links.
Back to top
View user's profile Send private message 
HairyWill


Joined: 26 May 2006
Posts: 2949
Location: Southampton, UK

PostPosted: Thu 31 May 2007, 22:55    Post subject:  

I've just installed pfind 2.0 on puppy 2.16 and none of the matchdate options seem to work correctly

Here is a sample of what is in /tmp/pfind-execfind
Code:
find -P "/" -xdev -atime --735 -atime +-1 -iname "**"
Looks like the signs for the atime arguments are being written incorrectly.
_________________
Will
contribute: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5788
Location: Valåmoen, Norway

PostPosted: Fri 01 Jun 2007, 16:25    Post subject:  

HairyWill
Thanks for report. I'll check it out.

Sigmund
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5788
Location: Valåmoen, Norway

PostPosted: Fri 01 Jun 2007, 16:49    Post subject:  

HairyWill
It seems to me that you have used wrong format for datesetting.
From the helpfile:
Code:
format: MM/DD/YYYY

Am I right, or did I miss something? Rolling Eyes

-atime --735 -atime +-1 are pointing to future.

Sigmund
Back to top
View user's profile Send private message Visit poster's website 
HairyWill


Joined: 26 May 2006
Posts: 2949
Location: Southampton, UK

PostPosted: Fri 01 Jun 2007, 17:23    Post subject:  

zigbert,
Big apologies, my mistake, thanks for investigating.
I had assumed that the date was in European format and didn't realise it should be in American.

I read the help and MM/DD/YYYY is stated quite clearly.

_________________
Will
contribute: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send private message 
WhoDo


Joined: 11 Jul 2006
Posts: 4441
Location: Lake Macquarie NSW Australia

PostPosted: Sat 02 Jun 2007, 22:57    Post subject: Strange behaviour in 2.15CE  

I just noticed some very peculiar behaviour with pfind 2.0 on Puppy 2.15CE. I carried out a search for files using *.bmp and came up with a number of hits. Cool Great! So far no problem. BUT now, whenever I restart the Xserver, pfind opens automatically with my last find result! Confused

I tried restarting my machine with the same result. It was only when I physically removed pfind using PETget, and then rebooted, that it stopped automatically opening on my desktop with the last find result.

Any ideas, Zigbert?

_________________
Actions speak louder than words ... and they usually work when words don't!
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5788
Location: Valåmoen, Norway

PostPosted: Sun 03 Jun 2007, 05:05    Post subject:  

WhoDo
What can I say...I have no idea...

There is a kill-problem with some gtkdialog-scripts (mine included). Killing Pfind with windowmanager, doesn't kill the gtkdialog process. Jason Pline has fixed this in his code, but both Grafburn and Pbackup has this problem. Using the builtin 'Quit' button/menu will kill all processes. I will deal with this in an unknown future.

But after a shutdown.....whow.....you kill all processes and delete /tmp/, and still, there is something alive...

...I have absolutely no idea.

In such a moment, I think: Let's hope GuestToo or some other guru reads this.

Sigmund
Back to top
View user's profile Send private message Visit poster's website 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Sun 03 Jun 2007, 10:26    Post subject:  

i wouldn't call myself a guru ...

there is a Busybox bug with killall, which, pidof ... if there is a file or dir in the working dir with the same name as the file you are trying to kill, it doesn't work properly

for example:

# cd /tmp
# which Xdialog
/usr/local/bin/Xdialog
# > Xdialog && chmod a+x Xdialog
# which Xdialog
Xdialog
# rm Xdialog
# which Xdialog
/usr/local/bin/Xdialog
# mkdir Xdialog
# which Xdialog
Xdialog
# rmdir Xdialog/
# which Xdialog
/usr/local/bin/Xdialog
#

this can cause elusive bugs ... your script can sometimes seem to work, and sometime not work, or it may work for one person but not for another

but i don't think this Busybox bug is your problem

i don't know why the program would run automatically if X is restarted, unless you are using some sort of session management ... after a reboot, nothing should be running except what was started by the operating system (again, session management might start processes)

anyway, i haven't looked at the program yet, so i can't comment further at this point
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5788
Location: Valåmoen, Norway

PostPosted: Sun 03 Jun 2007, 11:10    Post subject:  

GuestToo
Thanks for the info. Is this making trouble for jwm. I find it strange that jwm is not killing child-processes of the target.

Gtkdialog-examples often uses this code...
Code:
I=$IFS; IFS=""
for STATEMENTS in  $(gtkdialog3 --program=pbackup --center); do
  eval $STATEMENTS
done
IFS=$I
case $EXIT in
  1)...;;
  2)...;;
esac

When calling a gtkdialog from a bash-script like this, the gui gets a new PID, and it is not killed when clicking the jwm X-button.

Sigmund
Back to top
View user's profile Send private message Visit poster's website 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Sun 03 Jun 2007, 15:22    Post subject:  

i'm not sure what you are saying

if you run an executable from the command line, like this:

# gxmessage "puppy"

it waits until the gxmessage process exits, then continues the execution in the cli

the rxvt cli is the parent process, and gxmessage is the child process ... you can stop the child process by pressing ctrl+C or closing the rxvt window

same with a script

when you execute gtkdialog from a bash script, the script is the parent and the gtkdialog program (which generates the gui windows) is the child process ... when the gtkdialog program exits, execution should then continue in the script ... execution should return to the script after the gtkdialog program exits ... if you kill the script, it should kill gtkdialog and the gtkdialog windows

Quote:
it is not killed when clicking the jwm X-button

if you mean clicking the close button on the window does not close the window (the window is still there and is visible), i don't think it should do that

if you mean that when you click the close button on the gui window, that the gtkdialog process does not exit and continues to run as an invisible process (as opposed to there being a gui window visible), i don't think it should do that (unless the gtkdialog process has generated more than 1 window, and there are windows still open)

i just experimented with some of the examples that came with the gtkdialog 0.7.9 source and i found that a gui with menubar widgets can do just that ... you can click the close button, which closes the gui window, but gtkdialog does not exit and continues to run invisibly ... for example:
Code:

#! /bin/bash

export MAIN_DIALOG='
<vbox>
  <menubar>
    <menu>
      <menuitem stock="gtk-quit">
   <action>echo You selected the quit menu item</action>
   <action type="exit">exit by menu</action>
      </menuitem>
      <label>File</label>
    </menu>
  </menubar>
</vbox>
'

gtkdialog3 --program=MAIN_DIALOG

as a workaround, the window decorations could be disabled, but you can still close the window from the task bar

seems to be a bug to me, or at least an incompatibility with Puppy

i don't know if that is what you are referring to
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5788
Location: Valåmoen, Norway

PostPosted: Sun 03 Jun 2007, 15:43    Post subject:  

GuestToo
You are clever, and speak clear.

I didn't realize that menus made the bug.
I will disable the X-button (close) in jwm until a working upgrade of gtkdialog arrive.

Thanks a lot!!!!

Sigmund
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5788
Location: Valåmoen, Norway

PostPosted: Sun 03 Jun 2007, 16:16    Post subject:  

Back again.

I thought I could skip the X-button (close) inside gtkdialog with a <window> attribute, but I am only able to remove all window decorations. And that isn't really working. Is there another easy way or did I miss something in gtkdialog?

Sigmund
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 5 of 40 [599 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, ..., 38, 39, 40 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0987s ][ Queries: 13 (0.0133s) ][ GZIP on ]