在Linux Mint 12中访问高级文件管理器

在Linux Mint 12中访问高级文件管理器

The Nautilus file manager in Linux Mint allows you to browse all the files on your system, but it only allows you to write files in your home directory (e.g., /home/lori) and its subfolders, such as Documents and Desktop.

Linux Mint中的Nautilus文件管理器允许您浏览系统上的所有文件,但仅允许您将文件写入主目录(例如/ home / lori)及其子文件夹(如Documents和Desktop)。

If you want to rename a file or directory in or write a file to a location outside of your home directory, you must use an advanced version of the Nautilus file manager. We will show you how to add a link to an advanced version of Nautilus to the main menu.

如果要在其中重命名文件或目录或将文件写入主目录之外的位置,则必须使用Nautilus文件管理器的高级版本。 我们将向您展示如何在主菜单中添加指向Nautilus的高级版本的链接。

IMPORTANT NOTE: Be very careful when changing or deleting files outside of your home directory. If you rename or delete a critical file, you can ruin your system and make it unusable.

重要说明:在更改或删除主目录之外的文件时,请务必小心。 如果重命名或删除关键文件,则可能会破坏系统并使它无法使用。

Adding the advanced file manager menu item, involves using a program called alacarte. If you don’t know how to install and use that program, see our article showing you how.

添加高级文件管理器菜单项涉及使用一个名为alacarte的程序。 如果您不知道如何安装和使用该程序, 请参阅向我们展示如何使用该程序的文章

We are going to add the new menu item to the Accessories submenu. To open alacarte, select Other | Main Menu from the Applications menu.

我们将新菜单项添加到“附件”子菜单。 要打开alacarte,请选择“其他” |“ 应用程序菜单中的主菜单。

在Linux Mint 12中访问高级文件管理器

Once the Main Menu window is open, select the Accessories category from the list on the left and click New Item.

打开“主菜单”窗口后,从左侧列表中选择“附件”类别,然后单击“新建项目”。

在Linux Mint 12中访问高级文件管理器

The Create Launcher dialog box displays. Make sure Application is selected from the Type drop-down list. Enter a name, such as “Advanced Nautilus,” in the Name edit box. This name displays on the menu. Type the following line in the Command edit box:

将显示“创建启动器”对话框。 确保从“类型”下拉列表中选择了“应用程序”。 在“名称”编辑框中输入一个名称,例如“ Advanced Nautilus”。 此名称显示在菜单上。 在命令编辑框中键入以下行:

gksu nautilus

鹦鹉螺

The “gksu” command is like the “su” and “sudo” commands, but it is used when you need to open graphical programs that require your password to run.

“ gksu”命令类似于“ su”和“ sudo”命令,但是在需要打开需要运行密码才能运行的图形程序时使用。

Enter a description in the Comment edit box, if desired. This is not required. The Comment displays as a popup hint when you move your mouse over the menu item.

如果需要,在注释编辑框中输入描述。 这不是必需的。 当您将鼠标移到菜单项上时,注释显示为弹出提示。

Because the main program in the Command edit box is gksu, the icon for the menu item is not the Nautilus icon. We decided to change it back to the standard Nautilus icon. To do this, click the icon button on the Create Launcher dialog box.

由于“命令”编辑框中的主程序是gksu,因此菜单项的图标不是Nautilus图标。 我们决定将其更改回标准的Nautilus图标。 为此,请单击“创建启动器”对话框上的图标按钮。

在Linux Mint 12中访问高级文件管理器

The Choose an icon dialog box displays. Navigate to the following directory:

显示“选择图标”对话框。 导航到以下目录:

/usr/share/icons/Mint-X/apps/48

/ usr / share / icons / Mint-X / apps / 48

Select the nautilus.png file and click Open.

选择nautilus.png文件,然后单击“打开”。

在Linux Mint 12中访问高级文件管理器

You are returned to the Create Launcher dialog box and the icon changes to the image file you selected. Click OK.

您将返回到“创建启动器”对话框,并且图标更改为所选的图像文件。 单击确定。

在Linux Mint 12中访问高级文件管理器

The Advanced Nautilus item displays in the list of Accessories in alphabetical order. Click Close to close the Main Menu window.

“高级Nautilus”项将按字母顺序显示在“附件”列表中。 单击关闭以关闭主菜单窗口。

在Linux Mint 12中访问高级文件管理器

To open Advanced Nautilus, select Accessories | Advanced Nautilus from the Applications menu.

要打开高级Nautilus,请选择附件|附件。 从“应用程序”菜单中选择“高级Nautilus”。

在Linux Mint 12中访问高级文件管理器

You must provide your password to open Advanced Nautilus, because it requires administrative permissions. Enter your password in the Password edit box and click OK.

您必须提供密码才能打开Advanced Nautilus,因为它需要管理权限。 在“密码”编辑框中输入密码,然后单击“确定”。

在Linux Mint 12中访问高级文件管理器

The Advanced Nautilus window may not look much different from the normal file browser, but you can use it to edit and write files outside of your home directory.

“高级Nautilus”窗口看上去与普通文件浏览器没有太大区别,但是您可以使用它来编辑和写入主目录之外的文件。

在Linux Mint 12中访问高级文件管理器

It’s very important that you remember to be really careful when editing and deleting files outside of your home directory. Doing so, without knowing what you’re doing, can make your system unusable.

重要的是,记住在编辑和删除主目录之外的文件时要特别小心。 这样做,如果不知道自己在做什么,可能会使系统无法使用。

翻译自: https://www.howtogeek.com/105859/access-an-advanced-file-manager-in-linux-mint-12/