Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Find button in EmelFM, How to get one< Next Oldest | Next Newest >
SaidinUnleashed Offline





Group: Members
Posts: 1428
Joined: Mar. 2004
Posted: Mar. 12 2005,02:20 QUOTE

You may have noticed that the internal "FIND" function in EmelFM doesn't work in DSL.

I don't know why, but it really doesn't matter anyway.

It sucks anyway.

Here's how to get a "Find" in EmelFM with what DSL's got.

Step 1. open up a root Xterm and run "updatedb"

It may take a few minutes, depending on your system's speed.

You might add this to /opt/bootlocal.sh to run at every boot, because it takes lees time to update the database than to create it.

Step 2. Open up EmelFM.

Step 3. Click the "Configure" button in EmelFM.

If you can't find it, look harder.

Step 4. Click where it says "Buttons" in the column on the left.

Step 5. Click the "Add" button. Enter "Find" in the name box and "locate %{Enter the filename or partial path:}" in the command box.

Hit OK and use the arrow buttons to put it wherever you want it to be.

Hit OK on the config winow, and you have a nice new Find button, just begging to do your bidding.

Enjoy.

-J.P.


--------------
They say if you play a Microsoft CD backwards, you hear satanic messages. That's nothing, cause if you play it forwards, it installs Windows.

Unleash the power of the TILDE~~~
Back to top
Profile PM AOL MSN YIM 
WoofyDugfock Offline





Group: Members
Posts: 146
Joined: Sep. 2004
Posted: Mar. 16 2005,13:50 QUOTE

Apologies Saidin, didn't see this post and in my crazed megalomania I posted a similar thing earlier today, except using 'find' instead of 'locate'.
http://damnsmalllinux.org/cgi-bin....;t=5029

I gather that 'locate' will run faster but will only be as current as the last time updatedb was run, whereas 'find' will find a file as soon as it is on the system.

Also these are not the same: 'locate' finds everything with the argument pattern in the path, whereas 'find / -name' only returns filenames with the argument pattern in the basename (ie on the end).

EDIT: obviously the 'locate' method is much more powerful - it will return everything find -name does, plus it allows searches containing paths eg locate /mnt/hdb1/*.sh finds all bash scripts on hdb1.


--------------
"We don't need no stinkin' Windows"

http://news.zdnet.co.uk/software/linuxunix/0,39020390,39149796,00.htm
Back to top
Profile PM 
adssse Offline





Group: Members
Posts: 505
Joined: Mar. 2005
Posted: Mar. 16 2005,15:58 QUOTE

thanks I was wondering about this the other day. I am new to all this so excuse my ignorance but how do I "add this to /opt/bootlocal.sh", and how much longer will this make the boot time?
Back to top
Profile PM 
2 replies since Mar. 12 2005,02:20 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Find button in EmelFM

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code