Nautilus在Ubuntu 17.10中没有预先输入搜索

我刚刚升级到Ubuntu 17.10,并注意到Nautilus(我知道他们多年前放弃了它,我的意思是Ubuntu之前修补了它)退出了类型提前。 现在它会打开搜索,这对我来说比较慢,而不是选择匹配文件。 因为这个,我很难用它。

有没有办法把它归还,降级Nautilus,还是有替代方案?

正如这里所指出的,已经删除了type-ahead find以支持full text search

但是,可以使full text search更像type-ahead find 。 只需打开Nautilus 首选项 ,单击“ 搜索和预览”选项卡,然后在“搜索”标题下进行以下调整:

  1. 在子文件夹中搜索 :从不
  2. 全文搜索 :不设置为默认值

现在在Nautilus中键入字母只会按名称搜索文件,而不是按内容搜索文件,而只搜索当前目录中的文件,而不是子目录。 不幸的是,这也会影响您在执行Ctrl + F搜索时看到的结果。


我只想把我的声音添加到那些认为禁用type-ahead find是错误的人身上,而且它甚至不作为可选function提供的事实是Nautilus开发人员的一个难以理解的糟糕决定 ,尤其是鉴于full text search总是可以通过Ctrl + F获得那些想要它的人。 我希望Ubuntu 切换回使用Nautilus的补丁版本18.04。

正如其他人所说的那样,预先输入类型似乎已经从nautilus不可撤销地删除了,但是有许多替代文件管理器具有非常相似的外观和感觉(并且共享海洋主题)可用于标准存储库,所有这些都带有类型-ahead默认查找:

  • nemo – nautilus 3.4的一个分支,带回了预先键入的查找和F3分割视图,可能还有其他一些我甚至不知道存在的删除function。
  • caja – 鹦鹉螺2.6的分支
  • thunar – xfce默认文件管理器,我个人最喜欢的,因为即使在我的高功率工作笔记本电脑上它也明显快于其他选择
  • dolphin – 熟悉使用KDE的任何人

如果你真的想在Nautilus 3.26中使用这个function(现在是Ubuntu 17.10中的当前版本),请查看我的分步指南,以便在这个问题中得到它: 传统的搜索类型更新Nautilus版本在补丁支持的情况下构建您自己的Nautilus版本!

实际上有一种方法可以在Nautilus 3.26(Ubuntu 17.10中的当前版本)中获得这个,它使用由令人敬畏的Arch Linux社区提供的补丁从源代码构建自己的版本。 幸运的是,Ubuntu中的优秀构建系统使这很容易。 这是步骤。 我假设你将在~/bld-nautilus-typeahead 。 打开终端并执行以下操作:

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

开始新的Nautilus。 输入一些字母。 体验当你想要的文件被选中时发生的快乐感。