Single-click to open files, run or view executable text files, and specify trash behavior. Tiffany Antopolski tiffany@antopolski.com Shaun McCance shaunm@gnome.org Michael Hill mdhillca@gmail.com Sindhu S sindhus@live.in David King amigadave@amigadave.com 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 Files in the top bar, pick Preferences and select the Behavior tab.

Behavior <gui>Single click to open items</gui> <gui>Double click to open items</gui>

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.

amigadave

This "section" should be split out to a separate page. It is not related to the preferences nor behaviour settings of Nautilus, although it could be a a seealso link from this page.

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:

Navigate to the desired folder.

Select the desired file.

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.

File manager trash preferences Trash <gui>Ask before emptying the Trash</gui>

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.