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 19 Sep 2019, 19:43
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Normal Linux commands to Locate your system files, INSTANTLY
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 12 of 13 [184 Posts]   Goto page: Previous 1, 2, 3, ..., 10, 11, 12, 13 Next
Author Message
nic007


Joined: 13 Nov 2011
Posts: 3047
Location: Cradle of Humankind

PostPosted: Mon 27 Apr 2015, 03:39    Post subject:  

Can one open the searched file(s) directly from the search results box? Nevermind, I see it's find only
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14309
Location: Gatineau (Qc), Canada

PostPosted: Mon 27 Apr 2015, 05:12    Post subject:  

nic007 wrote:
Can one open the searched file(s) directly from the search results box? Nevermind, I see it's find only

Hi, nic007.

If you're using my "CLI" wrapper for slocate, you can open a searched
file indirectly by:
    * double-clicking at the left of the line of the file, and then
    * you open a terminal
    * inside that terminal you type < rox > and a space, and
    * then you press the middle button of the mouse and
    * you hit < return >.

It reads as more complicated that it is, really.
I hope this helps.

musher0

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 2461
Location: In The Way

PostPosted: Mon 27 Apr 2015, 05:40    Post subject:  

@nic007

My script opens the file directly with any app you state, and outputs the selected (multiple selections) files as a list (.m3u in case of media files, other formats doesn't matter) which is simultaneously opened with stated app and geany. All updating is performed with the same script as per use, because my script allows you to set a command (with options) to apply to the files e.g. rm -rf ... which will delete selected files, then the db (only on that partition) will be updated to reflect these changes.
Back to top
View user's profile Send private message MSN Messenger 
nic007


Joined: 13 Nov 2011
Posts: 3047
Location: Cradle of Humankind

PostPosted: Mon 27 Apr 2015, 06:13    Post subject:  

musher0 and stemsee, thanks. I'll check things out but all sounds a bit complicated and cumbersome. I'm using "everything" with Windows. As simple and quick as to search, highlighting the results and playing/opening the file directly. Seems the available linux applications fall short here unless there is something I'm not aware of.
Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 2461
Location: In The Way

PostPosted: Mon 27 Apr 2015, 07:44    Post subject:  

some screen shots
capture29463.jpg
 Description   
 Filesize   11.37 KB
 Viewed   190 Time(s)

capture29463.jpg

capture30047.jpg
 Description   
 Filesize   10.03 KB
 Viewed   187 Time(s)

capture30047.jpg

capture610.jpg
 Description   
 Filesize   87.74 KB
 Viewed   190 Time(s)

capture610.jpg

capture4036.jpg
 Description   
 Filesize   9.42 KB
 Viewed   188 Time(s)

capture4036.jpg

capture2398.jpg
 Description   
 Filesize   32.81 KB
 Viewed   184 Time(s)

capture2398.jpg

capture22960.jpg
 Description   
 Filesize   54.86 KB
 Viewed   187 Time(s)

capture22960.jpg

Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2461
Location: In The Way

PostPosted: Mon 27 Apr 2015, 08:16    Post subject:  

slocateGUI.pet . Find files, play files, edit files, rm -rf files, also asks for path to destination for cp or mv command.

Edit: new upload 28/04/15

Last edited by stemsee on Tue 28 Apr 2015, 06:23; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2461
Location: In The Way

PostPosted: Mon 27 Apr 2015, 08:19    Post subject:  

Hey smokey what is the ip of the porn poster?
Back to top
View user's profile Send private message MSN Messenger 
nic007


Joined: 13 Nov 2011
Posts: 3047
Location: Cradle of Humankind

PostPosted: Mon 27 Apr 2015, 11:04    Post subject:  

I've tried slocate on Wary, didn't work for me, I get no results ( I have a FAT32 and NTFS partition). Also takes a bit of time to open. The way I have been playing my music still seems to be the best/fastest ie. Link to music folder on desktop, click and select subfolder/files then use open with.
Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 2461
Location: In The Way

PostPosted: Mon 27 Apr 2015, 14:22    Post subject:  

The first usage will create databases on each mounted partition. How many files is proportional to length of time in opening.
Back to top
View user's profile Send private message MSN Messenger 
musher0

Joined: 04 Jan 2009
Posts: 14309
Location: Gatineau (Qc), Canada

PostPosted: Mon 27 Apr 2015, 21:33    Post subject:  

nic007 wrote:
I've tried slocate on Wary, didn't work for me, I get no results ( I have a FAT32 and NTFS partition). Also takes a bit of time to open. The way I have been playing my music still seems to be the best/fastest ie. Link to music folder on desktop, click and select subfolder/files then use open with.


Hello, nic007.

If you're going to use slocate just to locate your music, and then play it,
you may be better off using a dedicated music program.

Some music players or "jukebox" programs (e.g. snackamp, jajuk, etc.)
create a database of anything that is in a music folder that you specify at
first launch.

After that, playing a song or a piece of music with that program is just a
couple of clicks away, really.

BFN.

musher0

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
nic007


Joined: 13 Nov 2011
Posts: 3047
Location: Cradle of Humankind

PostPosted: Tue 28 Apr 2015, 02:13    Post subject:  

stemsee, it didn't create a database (nothing happened after five minutes and frankly i couldn't see anything happening like the cpu working). Does it work with FAT and NTFS partitions? Musher0 - yes I'm aware of players which work with libraries. Don't know about mplayer though. A tip for those who do play their music with mplayer - opening a terminal window in a folder/subfolder with media files and typing the command mplayershell -shuffle * will create a playlist and play all the files in that folder in random order. Alternatively, one can of course create a script for this.
Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 2461
Location: In The Way

PostPosted: Tue 28 Apr 2015, 02:36    Post subject:  

Yes, but ntfs has to have an fstab entry to mount by uuid with read write. Actually I haven't tested the pet on a pristine distro only on mine so i will do that!
Back to top
View user's profile Send private message MSN Messenger 
nic007


Joined: 13 Nov 2011
Posts: 3047
Location: Cradle of Humankind

PostPosted: Tue 28 Apr 2015, 03:10    Post subject:  

The database was built in fact but no results in the yad box, can't get any results on the FAT partition either.
Back to top
View user's profile Send private message 
nic007


Joined: 13 Nov 2011
Posts: 3047
Location: Cradle of Humankind

PostPosted: Tue 28 Apr 2015, 05:35    Post subject:  

So it builds/update the database everytime you use it which in my case takes about 10 seconds (that and then I get no hits either). That's way too long so guess slowgate is not for me.
Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 2461
Location: In The Way

PostPosted: Tue 28 Apr 2015, 05:59    Post subject:  

ok I see the problem.... /etc/updatedb.conf is missing from the pet (but it is there in my system, so it worked for me and others who already had some installation of slocate.). I also found a couple of bugs, from where I removed musher0's code and put in my own. Uploading a new pet shortly.
Back to top
View user's profile Send private message MSN Messenger 
Display posts from previous:   Sort by:   
Page 12 of 13 [184 Posts]   Goto page: Previous 1, 2, 3, ..., 10, 11, 12, 13 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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.1049s ][ Queries: 12 (0.0143s) ][ GZIP on ]