Normal Linux commands to Locate your system files, INSTANTLY

Using applications, configuring, problems
Message
Author
User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#166 Post by nic007 »

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

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#167 Post by musher0 »

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
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

stemsee

#168 Post by stemsee »

@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.

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#169 Post by nic007 »

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.

stemsee

#170 Post by stemsee »

some screen shots
Attachments
capture29463.jpg
(11.37 KiB) Downloaded 193 times
capture30047.jpg
(10.03 KiB) Downloaded 190 times
capture610.jpg
(87.74 KiB) Downloaded 193 times
capture4036.jpg
(9.42 KiB) Downloaded 191 times
capture2398.jpg
(32.81 KiB) Downloaded 187 times
capture22960.jpg
(54.86 KiB) Downloaded 190 times

stemsee

#171 Post by stemsee »

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, 10:23, edited 1 time in total.

stemsee

#172 Post by stemsee »

Hey smokey what is the ip of the porn poster?

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#173 Post by nic007 »

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.

stemsee

#174 Post by stemsee »

The first usage will create databases on each mounted partition. How many files is proportional to length of time in opening.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#175 Post by musher0 »

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
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#176 Post by nic007 »

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.

stemsee

#177 Post by stemsee »

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!

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#178 Post by nic007 »

The database was built in fact but no results in the yad box, can't get any results on the FAT partition either.

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#179 Post by nic007 »

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.

stemsee

#180 Post by stemsee »

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.

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#181 Post by smokey01 »

stemsee wrote:Hey smokey what is the ip of the porn poster?
What are you on about mate?

stemsee

#182 Post by stemsee »

@smokey01
There was a porno pic in this thread yesterday! By a new user with 1 post. I thought YOU removed it!


New pet. Tested on pristine, no savefile vivid-beta2 by 666philb (i didn't check if slocate was already installed though!!) Worked very quick and correctly. Maybe remove previous slocate.db for fresh start.
Attachments
slocate-3.1-GUI-i483.pet
(36.56 KiB) Downloaded 251 times
Last edited by stemsee on Wed 29 Apr 2015, 07:08, edited 1 time in total.

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#183 Post by smokey01 »

stemsee wrote:@smokey01
There was a porno pic of dude buggering shaved blond in this thread yesterday! By a new user with 1 post. I thought YOU removed it!
I don't have any admin rights on http://www.murga-linux.com

It was probably flash.

stemsee

#184 Post by stemsee »


Post Reply