File manager behavior preferences

You can control whether you single-click or double-click files, how executable text files are handled, and the trash behavior. Click the menu button in the top-right corner of the window and select Preferences, and select the Behavior tab.

Ponašanje

Single click to open items
Double click to open items

By default, clicking selects files and double-clicking opens them. You can instead choose to have files and folders open when you click on them once. When you use single-click mode, you can hold down the Ctrl key while clicking to select one or more files.

Executable text files

An executable text file is a file that contains a program that you can run (execute). The file permissions must also allow for the file to run as a program. The most common are Shell, Python and Perl scripts. These have extensions .sh, .py and .pl, respectively.

When you open an executable text file, you can select from:

  • Run executable text files when they are opened

  • View executable text files when they are opened

  • Ask each time

If Ask each time is selected, a dialog will pop up asking if you wish to run or view the selected text file.

Executable text files are also called scripts. All scripts in the ~/.local/share/nautilus/scripts folder will appear in the context menu for a file under the Scripts submenu. When a script is executed from a local folder, all selected files will be pasted to the script as parameters. To execute a script on a file:

  1. Navigate to the desired folder.

  2. Select the desired file.

  3. Right click on the file to open the context menu and select the desired script to execute from the Scripts menu.

A script will not be passed any parameters when executed from a remote folder such as a folder showing web or ftp content.

Smeće

Ask before emptying the Trash

This option is selected by default. When emptying the trash, a message will be displayed confirming that you would like to empty the trash or delete files.