Chapter 7. Nautilus File Manager

Opening Files

When you open a file, the file manager performs the default action for that file type. The default action can be one of the following:

  • Use a viewer component to display the file in the view pane.

  • Launch an application that opens the file.

The file manager checks the contents of a file to determine the type of a file. If the first lines do not determine the type of the file, then the file manager checks the file extension.

If you cannot find the file that you want to open, you can use Search Tool. To start Search Tool, choose Actions->Search for Files.

To Execute the Default Action

To execute the default action for a file, double-click on the file. For example, if the default action for plain text documents is to display the file in a text viewer. In this case, you can double-click on the file to display the file in a text viewer.

You can set your file manager preferences so that you click once on a file to execute the default action. For more information, see the section called “To Set Behavior Preferences”.

To Execute Non-Default Actions Using the Open With Submenu

To execute actions other than the default action for a file, perform the following steps:

  1. In the view pane, select the file that you want to perform an action on. Choose File->Open With. The Open With submenu opens. The items in this submenu correspond to the contents of the following parts of the File Types and Programs preference tool:

    • Default action drop-down list in the Edit file type dialog

    • Viewer component drop-down list in the Edit file type dialog

  2. Choose an action from the Open With submenu.

To Execute Other Actions When Displaying a File

When you display a file in the view pane, the side pane might contain buttons.

The buttons represent any actions that are defined in the File Types and Programs preference tool. The actions are defined in the Default action drop-down list in the Edit file type dialog in the File Types and Programs preference tool. Click on a button to execute an action. For example, if an action defined for plain text documents is to open the file in the gedit text editor. If this action is defined, an Open with gedit button is displayed in the side pane. To open the file in the gedit application, click on the Open with gedit button.

Note

A button that represents the action does not appear in the side pane if the actions are excluded in either of the following dialogs:

  • Open with Other Application

  • Open with Other Viewer