当前位置: 首页>>技术教程>>正文


nautilus – 如何在 Ubuntu 17.10 及更高版本中禁用 search-as-you 类型文本?

,

问题描述

我在以下位置找不到 enable-interactive-search

gsettings set org.gnome.nautilus.preferences enable-interactive-search true.  

我搜索使用

gsettings list-recursively | grep search  

gsettings list-recursively | grep interactive  

但没有这样的选择。

你能帮我在 Ubuntu 17.10 及更高版本中禁用此功能吗?

最佳方案

Gnome 决定将 remove 导航功能 type-ahead 替换为搜索。他们没有意识到这对许多用户来说是一个大问题。

直到 Ubuntu 17.10 Canonical 提供了 Nautilus 的修补版本,保留了此功能。现在情况已不再是这样,type-ahead 永远消失了。

当然,欢迎您加入 Nautilus mailing list 并说明仍然需要此功能的原因。不过,我认为这没有多大用处。一位维护者告诉我“这个问题已经讨论得很彻底了,我们可能已经听到了所有的争论。”

次佳方案

呜呜! Nautilus 有一个全新的修改版本。

\n参见 https://launchpad.net/~lubomir-brindza/+archive/ubuntu/nautilus-typeahead

\n我等了很久才再次找到这个功能。希望 Nautilus 开发者考虑将其添加为应用程序中的一个选项。

第三种方案

我与 Nautilus 开发人员进行了长时间的辩论,但我们无法像以前那样有足够的说服力来拥有此功能。唯一的回应是未来会改进。

我喜欢 Nautilus,但这个改变让我无法使用它。这让我发疯。

我的解决方案很简单:切换到另一个软件。我现在使用 Nemo,它是 Nautilus 的分支。

第四种方案

如果您确实想在 Nautilus 3.26(目前是 Ubuntu 17.10 中的当前版本)中拥有此功能,请查看我的 step-by-step 指南以在这个问题中找到它:Traditional search-as-you-type on newer Nautilus versions 构建您自己的 Nautilus 版本,并修补支持!

\\n

There is actually a way to get this in Nautilus 3.26 (the current\\n version in Ubuntu 17.10), which is building your own version from\\n source using a patch provided by the awesome Arch Linux community.\\n Luckily the great build system in Ubuntu makes this quite easy.\\n Here are the steps. I’ll assume you’ll be working in\\n ~/bld-nautilus-typeahead. Open the terminal and do the following:

\\n

# install some necessary tools\\nsudo apt-get install git\\n\\n# Create your work directory and go there\\nmkdir bld-nautilus-typeahead ; cd bld-nautilus-typeahead\\n\\n# Clone the repository holding the needed patch: \\ngit clone https://aur.archlinux.org/nautilus-typeahead.git\\n\\n# Make sure the source repositories for the main archives are available:\\nsudo nano /etc/apt/sources.list\\n\\n# If the deb-src line for the main repository (usually around line 6)   \\n# is commented out (starts with a #)     \\n# uncomment it (remove the #) and save the file.  \\nsudo apt-get update\\n\\n# Install the build dependencies\\nsudo apt-get build-dep nautilus\\n\\n# Retrieve the sources for Nautilus\\napt-get source nautilus\\n\\n# Source should now be in the 'nautilus-3.26.0/' folder. Go there\\ncd nautilus-3.26.0/\\n\\n# and Apply the patch from arch-linux\\npatch -p0 < ../nautilus-typeahead/nautilus-restore-typeahead.patch\\n\\n# Build the package from source\\ndpkg-buildpackage -rfakeroot -uc -b\\n\\n# This will take a little time. If everything goes well, the related packages will end up in the parent directory. Go there\\ncd ..\\n\\n# and install the required packages\\nsudo dpkg -i nautilus_3.26.0-0ubuntu1_amd64.deb nautilus-data_3.26.0-0ubuntu1_all.deb\\n

\\n

Start a new Nautilus. Type some letters. Experience that feeling of\\n joy that happens when the file you intended gets selected.

\\n

参考资料

本文由Ubuntu问答整理, 博文地址: https://ubuntuqa.com/article/14253.html,未经允许,请勿转载。