ImageNautilus is a file manager which provides a simple and integrated way to manage your files and applications, and you can use it to do the following:
    * Create folders and documents
    * Display your files and folders
    * Search and manage your files
    * Run scripts and launch applications
    * Customize the appearance of files and folders
    * Open special locations on your computer
    * Write data to a CD or DVD


    * Install and remove fonts
The file manager lets you organize your files into folders. Folders can contain files as well as other folders. Using folders helps you find your files more easily.
I am not going to explore all Nautilus's features simply because it is a pretty straight forward program to use. There are many secrets about Nautilus normal users might not be familiar with them; therefore, in this article, I will try to shed light on some of them. Although I am using Nautilus on Ubuntu 9.10 in this tutorial, everything mentioned will be valid also on most of other distributions like Fedora, Mandriva or OpenSUSE.




Location bar

The location bar is a very powerful tool for navigating your computer. It can appear in three different ways according to your selection. In all three configurations, the location bar always contains the following items.
Zoom buttons: Enable you to change the size of items in Nautilus.
View as a drop-down list: Enables you to choose how to show items. There are three types: icon view, list view or compact view.

Image


By default, location bar shows a row of buttons representing the current location's hierarchy, with a button for each containing folder.
If you know where you want to go, you can change to Text Location Bar by clicking on the pencil icon, press Ctrl+L or choose Go ▸ Location; then press Enter. The path field automatically completes what you are typing when there is only one possibility. To accept the suggested completion, press Tab.


Image



Searching For Files

The file manager includes an easy and simple way to search for your files and folders. To begin a search press Ctrl+F or select the Search toolbar button. The search bar should appear as shown on the next figure.
Enter characters present in the name or contents of the file or folder you wish to find and press Enter.

Image


Show hidden files

By default, Nautilus does not display certain system and backup files in folders. This prevents accidental modification or deletion, which  can impair the operation of your computer, and also reduces clutter in locations such as your Home Folder. So, and to prevent all these, Nautilus does not display:
    * Hidden files, whose filename begins with a period (.),
    * Backup files, whose filename ends with a tilde (~)
    * Files that are listed in a particular folder's .hidden file.
You may hide or show hidden files in a particular folder by selecting View ▸ Show Hidden Files.

Image


Change Nautilus's background

Many people don't know that you can change Nautilus's background to add a beautiful touch to browsing files.
To change the background of a window, pane, or panel,  perform the following steps:

1.Choose Edit ▸ Backgrounds and Emblems in any file manager window. The Backgrounds and Emblems dialog is displayed.

Image

2.Click the Patterns button or the Colors button to see a list of background patterns or background colors you can use.
3. To change the background, drag a pattern or color to the desired window, pane, or panel. To reset the background, drag the Reset entry to the desired window, pane, or panel.

Image

You can add a new pattern to the list by clicking the Add a New Pattern button when the patterns are selected.  Locate an image file in the file chooser dialog and click Open.  The image file will appear in the list of patterns you can use. I added an image as a new pattern and this is the result:

Image


Spatial mode

In Spatial mode, The file manager window represents a particular folder. Opening a folder opens the new window for that folder. Each time you open a particular folder, you will find its window displayed in the same place on the screen and the same size as the last time you viewed it (this is the reason for the name 'spatial mode'.

Image

sptial mode


Spatial mode is the default in GNOME but Ubuntu doesn't enable it by default. To enable it choose Edit ▸ Preferences.

Image


set  Nautilus to always use it by selecting (or deselecting) Always open in browser windows in the Behavior tab.

Image


Single or Double click to open items

In Windows systems, the default way of opening items is by a double click. However, in Nautilus, you can choose a single click or a double to open items in by choose either way in Behavior tab (see the above picture).

Add more power to Nautilus by scripts

Sometimes you need to edit a file with root privileges and you are too reluctant to open the terminal; therefore, don't even bother yourself because Nautilus provides you with a way to do that by scripts.
A Nautilus Script is an executable file, written in a scripting language, which can perform some function on files or folders selected from within the Nautilus file manager window.
To add a new script, just copy it to this path :  “/home/(your account name)/.gnome2/nautilus-scripts”  copy the path and past it in Location text bar then press Enter.
This site gives you many scripts you can choose from which might meet your needs. I've picked three scripts that seem useful for most users: Open as root, Open Terminal Here and root-nautilus-here. You can download them from here.


Image


Changing the Icon for a File or Folder

To change the icon that represents an individual file or folder, perform the following steps:
1.Select the file or folder that you want to change.
2.Choose File ▸ Properties. The properties window for the item is displayed.
3.On the Basic tabbed section, click on the current Icon. A Select custom icon dialog is displayed.
4.Use the Select custom icon dialog to choose the icon to represent the file or folder.

Image


Changing Permissions

You can change the permissions by using terminal's commends for a short way but this way seems difficult for those who came from Windows environment. So, you may choose the easy way that Nautilus provides, just the way windows does it.
To change the permissions of a file, perform the following steps:
1.Select the file that you want to change.
2. Choose File ▸ Properties. The properties window for the item is displayed.
3. Click on the Permissions tab.
4.To change the file's group, choose from the groups the user belongs to in the drop-down selector.
5.For each of “the owner”, “the group”, and “all other users”, you can specify for each file one of the following permissions:
   None: No access to the file is possible. (You can't set this for the owner.)                  
   Read-only: The users can open a file to see its contents, but not making any changes.                
   Read and write: Normal access to a file is possible: it can be opened and saved
6.To allow a file to be run as a program, tick Execute button.

Image

Folders have more options in permissions tab. For instance, folder access permissions :
For each of the owner, the group, and all other users, choose from these folder access permissions:
None: No access to the folder is possible. (You can't set this for the owner.)                 
List files only:  users can see the items in the folder, but cannot open any of them.             
Access files: Items in the folder can be opened and modified, provided their own permissions allow it.            
Create and delete files:  The user can create new files and delete files in the folder, in addition to being able to access existing files.
To set permissions for all the items contained in a folder, set the File Access and Execute properties and click on Apply permissions to enclosed files.

Image


Changing “ Open with” default application

You can open an item like png files with many applications like gimp, F-spot or even firefox, and to choose the right application, right click on the file and choose open with:

Image


To Choose which application is used to open an item, and others of the same type.

1.Select the file that you want to change.
2.Choose File ▸ Properties. The properties window for the item is displayed.
3.Click on the Open with tab.
4.Select which application do you like to open that type of files.

Image

So far so good, and if you feel I have missed some important tips regarding this file manager, please share them with us!!

(If you like this post, please digg it )

 

see also:  How to use Empathy Messenger

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Nice one

Anonymous (not verified) on Mon, 12/14/2009 - 03:28

Nice one

It's a interesting post thank

Anonymous (not verified) on Mon, 12/07/2009 - 13:04

It's a interesting post
thank you for sharing it.

Use Ctrl+H to show hidden files/directoried

pawpawyoung (not verified) on Thu, 11/12/2009 - 09:41

Use Ctrl+H to show hidden files/directoried

Enable the advanced permissions

SilverWave (not verified) on Wed, 11/11/2009 - 21:09

Enable the advanced permissions:

GUI:
Launch the gconf-editor (using Alt+F2) and browse to the following preference:

/apps/nautilus/preferences/show_advanced_permissions

Or in the terminal:

gconftool-2 --type bool --set /apps/nautilus/preferences/show_advanced_permissions True

Switch back to the normal dialog with this command:
gconftool-2 --type bool --set /apps/nautilus/preferences/show_advanced_permissions False

Thanks.. Good tips !

Fahad on Wed, 11/11/2009 - 21:31

Thanks.. Good tips !

Install the extebsions... nautilus-gksu - nautilus-open-terminal

SilverWave (not verified) on Wed, 11/11/2009 - 21:01

nautilus-gksu - privilege granting extension for nautilus using gksu - Open as Administrator

nautilus-open-terminal - nautilus plugin for opening terminals in arbitrary local paths

Image as a background in Nautilus

Larry (not verified) on Wed, 11/11/2009 - 14:50

Seems to work doesn't it? Just try maximising the Nautilus window and see what happens.

I'm an eye candy freak, and adding an image to the Nautilus background last worked properly in Gutsy.

A bit of an aesthetic pain, really :-(

Thanks for your comment. It

Fahad on Wed, 11/11/2009 - 20:16

Thanks for your comment. It works in Ubuntu 9.10 (at least with me ). To do it, put the new background when the Nautilus window maximized, and it will work. Try it.

Q. Number 1

Hanadi on Wed, 11/11/2009 - 14:45

Suppose that I have folder 1,
which contains a sub folder A.

Is there is any way to change the background of folder 1
without changing the background of the folder A,

I mean , can we have two different backgrounds in the folder and sub folder?

I think so, to do it just

Fahad on Wed, 11/11/2009 - 19:59

I think so, to do it just drag the new background with right click (not left click), then it will ask you if you would like to set the new background for current folder or all folders.

right-click button

Hanadi on Thu, 11/12/2009 - 11:52

I used the right-click button as you said. And it worked.
Thanks

Very useful tutorial

Hanadi on Wed, 11/11/2009 - 13:49

Very useful tutorial. I have learned a lot from it.
Thanks for your effort.

Cool

UbaUba (not verified) on Wed, 11/11/2009 - 06:12

I agree most of those arent secrets...

Tho, thanks for the scripting tip. I didnt know that one.

at least you learned a new

Fahad on Wed, 11/11/2009 - 14:22

at least you have learned a new thing. I am happy for that.

Well, these are not exactly

Temikus (not verified) on Wed, 11/11/2009 - 02:02

Well, these are not exactly secrets, but might be good for a newbie...

Actually this tutorial for

Fahad on Wed, 11/11/2009 - 10:12

Actually this tutorial for newbies not for geeks !!

I strongly agree with u!!

noface on Thu, 11/12/2009 - 20:16

I strongly agree with u!! Because most of what you have mentioned is quite new for me!

So, it seems i am a newbie!!

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.