View Full Version : [ubuntu] How to run "Search for Files" in root

Ralph L
January 27th, 2009, 10:45 PM
To my dismay I discovered that neither Nautilus nor Main menu>Places>Search For Files" will find all files. I think this is because in default mode (even though I am the administrator), these programs do not have permission to see all files. I think I fixed this for Nautilus by making a special launcher, Nautilus Root, that has the command "gksu nautilus" and thus runs with root permissions--dangerous but I don't use it often. However, the Nautilus search does not display a path to the files it finds. (Seems really strange--why do a search if you don't want to know how to get to the file--Properties gives the path but what a nuisance.)

Search For Files does display a path for each file found in a nice readable format and I was able to add it to my Task Bar panel so it is very available. I tried to create a special launcher with root permission for Search For Files (using gksu), which shouldn't be dangerous, but I can't find the command to initiate it. For Nautilus I just did right click Main menu>Edut Menus>Accessories>File Browser>Properties to find the command. However, Search For Files does not appear in Edit Menus and when I right click the Icon in my
Task Bar, it does not display Properties.

Does anybody know the command to launch Search For Files so that I can create a launcher for it with root permission?


PS. If anybody knows of an extension for Nautilus search that displays a path I would like to know about that also.

January 27th, 2009, 10:49 PM
just install beagle, its a better quality search program, its in the repos i believe
also here

January 27th, 2009, 10:54 PM
The command you asked about is gnome-search-tool the command is;

sudo /usr/bin/gnome-search-tool

or from the run program dialog:
gksudo /usr/bin/gnome-search-tool

If you get familar with the command line both locate and find are very powerful search tools and are likely what is underneath the GUI searches that you are using now.

man find
man locate

You can also find the man pages on line just google the commands above.

Ralph L
January 27th, 2009, 11:10 PM
Sorry for the post. I found it in System Monitor. Its gnome-search-tool.

But if anybody knows of a Nautilus extension that would show paths to found files, like Search For Files does, I am still interested.


January 28th, 2009, 07:49 AM

As Coreigh has mentioned you would do well to have a look, one day perhaps, at the linux 'find' command. If for example you wanted to search $HOME for ogg files you could simply run:

andrew@skamandros~$ find $HOME -iname '*.ogg'

and that is the most basic example of find's capacities :-).