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.
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.