在Ubuntu 14.04中搜索时如何禁用在线内容获取

在Ubuntu 14.04中搜索时如何禁用在线内容获取

By default, when you search using the Unity Dash, online shopping suggestions such as Amazon display in your results. You may not want online suggestions included in your search results, whether it be for bandwidth or privacy reasons. You can easily disable this feature.

默认情况下,当您使用Unity Dash搜索时,结果中会显示诸如Amazon之类的在线购物建议。 无论是出于带宽还是出于隐私原因,您可能都不想在搜索结果中包含在线建议。 您可以轻松禁用此功能。

To do this, press Ctrl + Alt + T to open a Terminal window. Type the following command at the prompt and press Enter.

为此,请按Ctrl + Alt + T打开“终端”窗口。 在提示符下键入以下命令,然后按Enter。

gsettings set com.canonical.Unity.Lenses remote-content-search ‘none’

gsettings设置com.canonical.Unity.Lenses远程内容搜索“无”

NOTE: Linux is case sensitive, so you must type the line above as shown. Also, when we say to type something in this article and there are quotes around the text, DO NOT type the quotes, unless we specify otherwise.

注意:Linux区分大小写,因此您必须如图所示键入上面的行。 另外,当我们说要在本文中键入内容并且文本周围有引号时,请不要键入引号,除非我们另外指定。

在Ubuntu 14.04中搜索时如何禁用在线内容获取

If you are returned to the prompt with no further messages, the command was successful. Type “exit” at the prompt to close the Terminal window.

如果返回到提示而没有其他消息,则命令成功。 在提示符下键入“退出”以关闭“终端”窗口。

在Ubuntu 14.04中搜索时如何禁用在线内容获取

For this setting to take effect, you must log out and then log back in. To do this, select Log Out from the system menu on the top panel in the upper-right corner of the screen.

为了使该设置生效,您必须先注销然后重新登录。为此,请从屏幕右上角顶部面板的系统菜单中选择“注销”。

在Ubuntu 14.04中搜索时如何禁用在线内容获取

You can either lock the screen or log out. Click Log Out.

您可以锁定屏幕或注销。 单击注销。

在Ubuntu 14.04中搜索时如何禁用在线内容获取

Once you log back in, click the Search button at the top of the Unity bar to access Unity Dash. Type a search term in the search box. Notice that the results displayed are only applications and files and folders found locally on your computer. There are no remote results.

重新登录后,单击Unity栏顶部的“搜索”按钮以访问Unity Dash。 在搜索框中键入搜索词。 请注意,显示的结果仅是计算机上本地找到的应用程序以及文件和文件夹。 没有远程结果。

在Ubuntu 14.04中搜索时如何禁用在线内容获取

If you decide you want the remote results again, type the following command at the prompt in a Terminal window and press Enter.

如果您决定再次希望获得远程结果,请在“终端”窗口的提示符下键入以下命令,然后按Enter。

gsettings set com.canonical.Unity.Lenses remote-content-search ‘all’

gsettings设置com.canonical.Unity.Lenses远程内容搜索“全部”

在Ubuntu 14.04中搜索时如何禁用在线内容获取

With no remote sources included in your searches, the search results should display faster.

搜索中不包含远程源,搜索结果应显示得更快。

翻译自: https://www.howtogeek.com/190665/how-to-disable-online-content-fetching-when-searching-in-ubuntu-14.04/