通过 VNC 连接到 Xfce 环境,Thunar 无法打开文件。我可以用 Nautilus 打开它们,但是,我无法“在终端中打开”

通过 VNC 连接到 Xfce 环境,Thunar 无法打开文件。我可以用 Nautilus 打开它们,但是,我无法“在终端中打开”

所以,基本上就是标题所说的。

我最终成功连接到我的 Uni 桌面,但我无法使用 Thunar 打开文件,当我将“首选应用程序”更改为 Nautilus 时,我仍无法在终端中打开。

有什么帮助吗?

答案1

打开文件时,无论是通过主菜单、文件的上下文菜单、双击还是按回车键,文件管理器都会执行该文件类型的默认操作。

默认的文件打开模式是双击,但您可以设置 Thunar 首选项,以便单击即可执行默认操作。

要执行文件默认操作以外的其他操作,请选择相关文件,然后从文件菜单或右键单击上下文菜单中可用的打开方式选项中选择所需的操作。

要添加与文件类型相关的操作,请执行以下步骤:

In the main area, select a file of the type to which you want to add an action.

Choose File → Open With → Open With Other Application... from the main menu.

Either choose an application from the list or select Use a custom command and browse to the program with which you wish to open this type.

您选择的操作现已添加到该特定文件类型的推荐应用程序列表中。如果您启用了“将此类型文件用作默认选项”选项,或者之前没有与该类型关联的操作,则新添加的操作将成为默认操作。

您还可以使用文件 → 属性... 下的打开方式选择列表添加操作。

要修改与文件或文件类型相关的操作,请执行以下步骤:

In the main area, select a file of the type for which you want to modify the action.

Choose File → Properties... from the main menu.

Select the new default action by choosing one of the recommended applications in the Open With pick list or add a new action by choosing Other Application... and selecting an application in the Open With dialog. 

属性对话框显示有关文件管理器中任何文件或文件夹的更多信息。要打开属性窗口,请执行以下步骤:

Select the file or folder you want to examine or change. You can select multiple items at once and display the properties that are common to them all.
Do one of the following:

Choose File → Properties... from the main menu.

Right-click the item and choose Properties... from the context menu.

Press Alt-Return.

如果没有选择任何文件或文件夹,则右键单击空白处的任意位置或执行上面列出的任何其他操作将显示您正在查看的当前文件夹的上下文菜单。

属性对话框中有三个或四个选项卡,可让您访问以下信息或操作:常规

For folders:
   
See the total size of all the files in the current folder and all subfolders.

View a Usage slider which displays used and free space on the current partition.

For files:
    The ability to change the default Open With action for this file and other files of the same type.

    File type and size.

徽章

Customize a particular file or folder's icon by adding an emblem.
To add custom emblems, add your icons to the 'emblems' directories of your current icon theme, for each size. E.g: ~/.icons/$theme/*/emblems/

权限

Change the UNIX file permissions for a file or folder.

图像

Only present for graphics files. View the image size in pixels (and other metadata, if available).

在 Thunar 中有多种方法可以选择文件。

To select a single file, you can simply click on it with the left mouse button.

You can select multiple files by holding down the Ctrl key and clicking on the files, or holding down the Shift key to select a range of files.

You can also select multiple files and folders by using the mouse to drag a selection box over them. Note: If you are using View as a Detailed List in the Main Area, you must first position the mouse over a file/folder name (not in the whitespace) before dragging.

You can also select files by providing a pattern with the keyboard shortcut Ctrl-S or from the main menu Edit → Select pattern.... For example, to select all text files, hit Ctrl-S and enter “*.txt” in the dialog.

If you want to find a single file and know the beginning of the filename, simply start entering the filename in the view. A text box will appear in the bottom right corner and an incremental search will be performed. The first file that matches what you type will be selected. If there are multiple files names beginning with the same letters, continuing to type the name you're looking for will narrow your search down until the file you want is selected.

其他选项包括“选择所有文件”和“反向选择”,可以在“编辑”菜单中找到。

相关内容