文件管理器行为首选项

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.

行为

单击打开项目
双击打开项目

默认情况,双击打开一个文件,您也可以设定单击打开一个文件或文件夹,在使用单击模式时,您可以按住 Ctrl 键点击选中一个或多个文件。

可执行文本文件

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.

回收站

Ask before emptying the Trash

默认选中此项,当清空回收站时,会显示确认信息,提示您将要清空回收站或删除文件。