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 Thu 30 Oct 2014, 12:03
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 28 of 40 Posts_count   Goto page: Previous 1, 2, 3, ..., 26, 27, 28, 29, 30, ..., 38, 39, 40 Next
Author Message
don570


Joined: 10 Mar 2010
Posts: 3355
Location: Ontario

PostPosted: Wed 07 Mar 2012, 21:40    Post_subject:  

Is there a version of Pfind for Thunar file manager?

The reason I ask is Saluki uses Thunar.

___________________________________________
Back to top
View user's profile Send_private_message 
disciple

Joined: 20 May 2006
Posts: 6449
Location: Auckland, New Zealand

PostPosted: Thu 08 Mar 2012, 00:04    Post_subject:  

You can configure it to use thunar instead of rox in the Pfind settings (or by editing /usr/local/pfind/pfindrc), can't you?
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send_private_message 
zigbert


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

PostPosted: Thu 08 Mar 2012, 12:58    Post_subject:  

disciple wrote:
can't you?
Yes you can


_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
oliverjames

Joined: 04 Apr 2009
Posts: 46
Location: Divonne-les-Bains, France

PostPosted: Sun 18 Mar 2012, 07:02    Post_subject:  

Running Pfind in XFCE/Saluki

@Zigbert, Yes you can, and I've tried that but to no avail. Tried also changing the commands on the "commands" tab, rox /tmp/searchresult/ changed to thunar /tmp/searchresult/, but Pfind will not open the location of a search result.

Can anyone help identify a fix for this?

Maybe a workaround would be to install Rox.

Cheers

Oliverjames
Back to top
View user's profile Send_private_message 
Geoffrey


Joined: 30 May 2010
Posts: 1441
Location: Queensland Australia ɹǝpu∩uʍop

PostPosted: Sun 18 Mar 2012, 08:34    Post_subject:  

oliverjames wrote:
Running Pfind in XFCE/Saluki

@Zigbert, Yes you can, and I've tried that but to no avail. Tried also changing the commands on the "commands" tab, rox /tmp/searchresult/ changed to thunar /tmp/searchresult/, but Pfind will not open the location of a search result.

Can anyone help identify a fix for this?

Maybe a workaround would be to install Rox.

Cheers

Oliverjames


Saluki has pfind and pfilesearch already installed as standard, pfind is in the main menu named Find... and pfilesearch is in the right click menu of Thunar, it searchs the the directory you are in when it is run, so there is no need to install it.
Back to top
View user's profile Send_private_message 
oliverjames

Joined: 04 Apr 2009
Posts: 46
Location: Divonne-les-Bains, France

PostPosted: Sun 18 Mar 2012, 14:23    Post_subject:  

Yes, but it doesn't give the functionality I seek.

Pfilesearch brings up a list of file locations. However if one wishes to open the location it is necessary to execute a lot of keystrokes.

With Pfind in a Puppy distro using Rox one can search, and then highlight a result and select "open location". Very slick and fast.

This is what I wish to replicate in Saluki. Hence my question about the "commands" tab. see attachment

Furthermore, when I try to edit the Pfind > configure > commands > View in FileManager setting I cannot write Thunar with a capital T which maybe the reason why it cannot launch. Changing the case of an executable command is always an error.

Oliverjames.
Screenshot.png
 Description   
 Filesize   38.39 KB
 Viewed   466 Time(s)

Screenshot.png


Edited_time_total
Back to top
View user's profile Send_private_message 
zigbert


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

PostPosted: Sun 18 Mar 2012, 15:09    Post_subject:  

oliverjames
Do you know the command to open thunar in a specific directory.
is thunar /tmp valid from terminal?

Sigmund

_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
zigbert


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

PostPosted: Sun 18 Mar 2012, 15:16    Post_subject:  

I see....

See line 9 in /usr/local/pfind/func_showlocation:
Code:
exec $FILEMANAGER -s "$FILE" 2> /tmp/pfind-error$PROGPID
Rox requires the -s switch to show location of file. Without -s MIME kicks in... What switch does thunar use?


Sigmund

_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
zigbert


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

PostPosted: Sun 18 Mar 2012, 15:19    Post_subject:  

If Pfind is default in Saluki, the config should be edited as Pburn (and Rox) isn't a part of the iso.


Sigmund

_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
oliverjames

Joined: 04 Apr 2009
Posts: 46
Location: Divonne-les-Bains, France

PostPosted: Sun 18 Mar 2012, 16:06    Post_subject:  

Quote:
Do you know the command to open thunar in a specific directory.
is thunar /tmp valid from terminal?


I'm not quite sure what you mean by the first sentence.
thunar /tmp is not valid but Thunar /tmp is.

Quote:
Rox requires the -s switch to show location of file. Without -s MIME kicks in... What switch does thunar use?


I'm not sure of the Thunar switch, looking now.

It would nice to have Pburn as standard in the iso, although Pfind is included in Saluki 013. I find both to be very efficient; XFburnn seems to work OK, although I note that one cannot select slow burn speeds.
Back to top
View user's profile Send_private_message 
Geoffrey


Joined: 30 May 2010
Posts: 1441
Location: Queensland Australia ɹǝpu∩uʍop

PostPosted: Sun 18 Mar 2012, 21:25    Post_subject:  

zigbert wrote:
I see....

See line 9 in /usr/local/pfind/func_showlocation:
Code:
exec $FILEMANAGER -s "$FILE" 2> /tmp/pfind-error$PROGPID
Rox requires the -s switch to show location of file. Without -s MIME kicks in... What switch does thunar use?


Sigmund


Hi Sigmund,

I had the same sort of a problem with trios youtube downloader, Thunar doesn't seem to have a switch that will strip the file name/target from the path,
I was just seeing what would work to fix this, I tried this,
Code:
#!/bin/sh
##Thunar open location
#
LOC="${@%/*}/"
exec Thunar "$LOC"


I called it thunar and placed it in /usr/bin , and to see if it worked placed it in your script like so
Code:
exec thunar "$FILE" 2> /tmp/pfind-error$PROGPID

this appears to work at opening the file location in Thunar, I just don't know how to include it without breaking anything.

Edit: this works also, though I don't have rox installed on Saluki to see if rox has a problem with it, but if not then it should be compatible with all file-managers and do away with the -s.

Just a thought , I installed rox and it works with it also so it looks as if it will work with all file managers Wink

@oliverjames,

Try the code below and see if it works the way you want it too, if it does cool, to easy Cool



Code:
exec $FILEMANAGER "${FILE%/*}/" 2> /tmp/pfind-error$PROGPID


I'm still testing this, Thunar is having a problem opening location's on loaded sfs file's, rox seems fine even with the changed code Confused
Back to top
View user's profile Send_private_message 
disciple

Joined: 20 May 2006
Posts: 6449
Location: Auckland, New Zealand

PostPosted: Mon 19 Mar 2012, 01:32    Post_subject:  

Quote:
Just a thought , I installed rox and it works with it also so it looks as if it will work with all file managers

The point with rox -s is that it is supposed to actually show you the file, not just open the directory containing it. The difference is particularly significant if a directory has a lot of files in it.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send_private_message 
Geoffrey


Joined: 30 May 2010
Posts: 1441
Location: Queensland Australia ɹǝpu∩uʍop

PostPosted: Mon 19 Mar 2012, 02:57    Post_subject:  

disciple wrote:
Quote:
Just a thought , I installed rox and it works with it also so it looks as if it will work with all file managers

The point with rox -s is that it is supposed to actually show you the file, not just open the directory containing it. The difference is particularly significant if a directory has a lot of files in it.


I now see, so it won't be fully compatible with Thunar, I guess rox will have to be used then, pitty, I had to see if it would work though, oh well, food for thought.

Saluki needs it own apps, sometimes trying to add other Puppy apps just to keep it looking familiar doesn't work, someone with a bit more knowledge may get Pfind working with Thunar. Smile
Back to top
View user's profile Send_private_message 
disciple

Joined: 20 May 2006
Posts: 6449
Location: Auckland, New Zealand

PostPosted: Mon 19 Mar 2012, 03:03    Post_subject:  

There's no reason you can't use another filer as you suggested if it doesn't have an equivalent of `rox -s` - it just won't be quite as good Wink

Are you sure Thunar doesn't have a switch like that? I seemed to think that it did...

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send_private_message 
Geoffrey


Joined: 30 May 2010
Posts: 1441
Location: Queensland Australia ɹǝpu∩uʍop

PostPosted: Mon 19 Mar 2012, 04:33    Post_subject:  

disciple wrote:
There's no reason you can't use another filer as you suggested if it doesn't have an equivalent of `rox -s` - it just won't be quite as good Wink

Are you sure Thunar doesn't have a switch like that? I seemed to think that it did...


Not that I'm aware of, all of Thunars options are in the GUI such as custom commands on the right click menu, that's where pfilesearch as been added.

Code:
Application Options:
  -B, --bulk-rename        Open the bulk rename dialog
  --daemon                 Run in daemon mode
  -q, --quit               Quit a running Thunar instance
  -V, --version            Print version information and exit
  --display=DISPLAY        X display to use
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 28 of 40 Posts_count   Goto page: Previous 1, 2, 3, ..., 26, 27, 28, 29, 30, ..., 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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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