Package Details: nautilus-typeahead 42.2-1

Git Clone URL: https://aur.archlinux.org/nautilus-typeahead.git (read-only, click to copy)
Package Base: nautilus-typeahead
Description: Default file manager for GNOME - Patched to bring back the 'typeahead find' feature
Upstream URL: https://wiki.gnome.org/Apps/Files
Keywords: files gnome nautilus typeahead
Licenses: GPL
Conflicts: nautilus
Provides: nautilus
Submitter: badwolfie
Maintainer: albertvaka
Last Packager: albertvaka
Votes: 43
Popularity: 0.26
First Submitted: 2015-09-11 00:39 (UTC)
Last Updated: 2022-07-13 20:16 (UTC)

Required by (35)

Sources (3)

Latest Comments

dave.z commented on 2022-05-07 15:11 (UTC)

That makes sense, I'm on Wayland. This still doesn't explain the behavior though. After I type a second character it goes fully into search mode and doesn't highlight folders/files that start with that second character. Is this the intended behavior or am I missing something?

albertvaka commented on 2022-05-07 07:47 (UTC)

Ok, turns out the fact that the input box appears centered is because of Wayland. On X11 it appears where it should, but since positioning a window isn't possible on Wayland, there it appears centered. Apart from that, this still works as intended.

albertvaka commented on 2022-05-07 07:27 (UTC)

It is true that the text input appears centered (instead of on the lower right corner as before) since some Nautilus version and I haven't looked into why. But the functionality should still be fully working :) Whatever you type should both go into the input field and cause the selected file to change.

dave.z commented on 2022-05-07 01:46 (UTC)

After installing this, when I first type a character the first result is highlighted, but also a small search window comes up in the center. After typing another character, it goes into the search field and does not highlight with typeahead anymore.

albertvaka commented on 2022-04-09 00:25 (UTC)

Updated to 42.0! I had to update the patch, let me know if anything broke :)

ejona86 commented on 2021-12-26 01:54 (UTC)

For libportal 0.5, see https://github.com/archlinux/svntogit-packages/commit/0c4d93f71fd425d20a421d90ad401e84ddd5daa5

yochananmarqos commented on 2021-11-11 20:26 (UTC)

@albertvaka: It's working, thanks. By the way, the tests pass in a clean chroot, y you can enable them.

albertvaka commented on 2021-11-11 20:19 (UTC)

I've updated the patch, I hope it works but let me know if you see anything wrong :)

albertvaka commented on 2021-10-24 21:24 (UTC)

@light9876 should be fixed now.

light9876 commented on 2021-10-19 20:24 (UTC) (edited on 2021-10-19 20:25 (UTC) by light9876)

Currently there is a bug:

==> ERROR: A failure occurred in prepare().
    Aborting...

To correct it, edit PKGBUILD, go to prepare(), add quotation marks to the two lines:

cd "$_pkgbase"
git config submodule.libgd.url "$srcdir/libgd"

electricprism commented on 2021-05-05 17:28 (UTC)

Thanks @zhou -- sudo pacman -U /var/cache/pacman/pkg/meson-0.57.2-1-any.pkg.tar.zst temp-fixed it.

zhou13 commented on 2021-05-04 00:49 (UTC)

@yochananmarqos Thanks! That solves the problem.

yochananmarqos commented on 2021-05-03 23:59 (UTC)

@zhou: It's an issue with meson 0.58.0-1, I was able to build it with 0.57.2-1. Also that's what the Arch nautilus 40.1-1 was built with.

zhou13 commented on 2021-05-03 23:47 (UTC) (edited on 2021-05-03 23:47 (UTC) by zhou13)

I got

nautilus/test/automated/displayless/meson.build:45:2: ERROR: List item must be one of <class 'str'>, not <class 'list'>

A full log can be found at .cache/yay/nautilus-typeahead/src/build/meson-logs/meson-log.txt

albertvaka commented on 2021-03-28 16:26 (UTC)

Works for me. Try this:

cd /tmp
git clone https://aur.archlinux.org/nautilus-typeahead
cd nautilus-typeahead
makepkg

light987 commented on 2021-03-27 14:31 (UTC) (edited on 2021-03-27 14:32 (UTC) by light987)

Apologies for the typo. Even if I use makepkg alone I still get the error:

==> Validating source files with sha256sums...

nautilus ... Skipped

libgd ... Skipped

nautilus-restore-typeahead.patch ... FAILED

==> ERROR: One or more files did not pass the validity check!

albertvaka commented on 2021-03-27 11:54 (UTC)

@light987 it looks like you are trying to build libcgroup [1]. This is the entry for nautilus-typeahead, so you are probably posting on the wrong page (or you copy-pasted the wrong git URL, or you are really confused). Also all those commands shouldn't be needed, just makepkg.

[1] https://aur.archlinux.org/packages/libcgroup/

light987 commented on 2021-03-27 09:37 (UTC) (edited on 2021-03-27 14:31 (UTC) by light987)

I'm trying to install this package but I'm getting this error:

==> ERROR: A failure occurred in prepare().

I'm doing this:

git clone https://aur.archlinux.org/nautilus-typeahead

sed -e $'s|\r||g' -i PKGBUILD .SRCINFO

makepkg -g >> PKGBUILD

makepkg

makepkg -si

albertvaka commented on 2020-03-09 21:13 (UTC)

Sorry for breaking this folks, I just fixed it using your suggestions :)

yochananmarqos commented on 2020-03-09 20:36 (UTC)

@acidrain42: Perhaps, but the real issue is that the current PKGBUILD is missing the source URL for libgd.

electricprism commented on 2020-03-09 20:30 (UTC) (edited on 2020-03-09 20:31 (UTC) by electricprism)

@gm666q -- Thanks, I had trouble copy/pasting and patching so I manually did it and uploaded the plain text here:

http://ix.io/2dQg

Compiling and everything seems to work.

gm666q commented on 2020-03-09 19:03 (UTC) (edited on 2020-03-09 19:09 (UTC) by gm666q)

@acidrain42 I made this patch to fix submodule issue and building packages depended on libnautilus-extension

diff --git a/PKGBUILD b/PKGBUILD
index bd1ab2e..da78710 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,17 +10,18 @@ packager="Albert Vaca Cintora <albertvaka@gmail.com>"
 pkgver=3.36.0
 pkgrel=1
 pkgdesc="Default file manager for GNOME - Patched to bring back the 'typeahead find' feature"
-url="https://wiki.gnome.org/Apps/Nautilus"
+url="https://wiki.gnome.org/Apps/Files"
 arch=(x86_64)
 license=(GPL)
-depends=(libgexiv2 gnome-desktop gvfs dconf tracker gnome-autoar
+depends=(libgexiv2 gnome-desktop gvfs dconf tracker nautilus-sendto gnome-autoar
          gst-plugins-base-libs tracker-miners)
-makedepends=(gobject-introspection packagekit git gtk-doc meson appstream-glib 'meson>=0.44.1' ninja)
-optdepends=('nautilus-sendto: right click to send files')
+makedepends=(gobject-introspection git gtk-doc meson appstream-glib)
 _commit=e11034204be70a8535c8eff0010a2881991f17eb  # tags/3.36.0^0
 source=("git+https://gitlab.gnome.org/GNOME/nautilus.git#commit=$_commit"
+        "git+https://gitlab.gnome.org/GNOME/libgd.git"
         nautilus-restore-typeahead.patch)
 sha256sums=('SKIP'
+            'SKIP'
             'd3e1a3df1042a412aa23d0a1710c490c117239cd4d9ae9bae2ee32e190c8c03f')

 prepare() {
@@ -39,13 +40,15 @@ pkgver() {
 }

 build() {
-  arch-meson $_pkgbase build -D docs=true
+  arch-meson $_pkgbase build \
+    -D docs=true \
+    -D packagekit=false
   ninja -C build
 }

-#check() {
-#  meson test -C build --print-errorlogs
-#}
+check() {
+  meson test -C build --print-errorlogs
+}

 _pick() {
   local p="$1" f d; shift
@@ -74,9 +77,11 @@ package_nautilus-typeahead() {

 package_libnautilus-extension-typeahead() {
   pkgdesc="Library for extending the $pkgdesc"
-  conflicts=(libnautilus-extension)
-  provides=(libnautilus-extension)
-  provides=(libnautilus-extension.so)
   depends=(gtk3)
+  conflicts=(ibnautilus-extension libnautilus-extension.so)
+  provides=(libnautilus-extension libnautilus-extension.so)
   mv libne/* "$pkgdir"
 }
+
+# vim:set sw=2 et:

acidrain42 commented on 2020-03-09 15:51 (UTC)

@yochananmarqos Isn't that redundant though? The submodule's url is already

https://gitlab.gnome.org/GNOME/libgd.git

by default. Removing the following line has the same effect.

git config submodule.libgd.url $srcdir/libgd

yochananmarqos commented on 2020-03-09 15:39 (UTC)

@albertvaka:

Please make the following corrections according to VCS package guidelines for Git Submodules:

source=("git+https://gitlab.gnome.org/GNOME/nautilus.git#commit=$_commit"
        'git+https://gitlab.gnome.org/GNOME/libgd.git'
        'nautilus-restore-typeahead.patch')
prepare() {
  cd $_pkgbase

  git submodule init subprojects/libgd
  git config submodule.libgd.url $srcdir/libgd
  git submodule update

  patch -p1 -i ../nautilus-restore-typeahead.patch
}

acidrain42 commented on 2020-03-09 15:25 (UTC) (edited on 2020-03-09 15:25 (UTC) by acidrain42)

I can't build because of this line:

git submodule set-url subprojects/libgd "$srcdir/libgd"

I don't have the libgd folder.

albertvaka commented on 2019-09-28 12:09 (UTC)

Updated to follow the main package, although I would have liked better to wait to an official release.

@ryanw: the linkining you are doing there is a bad practice, and I bet re-building this package would have made it work (nautilus should then pick the newly installed version).

joelongjiamian commented on 2019-09-28 04:40 (UTC) (edited on 2019-09-28 04:46 (UTC) by joelongjiamian)

There's a bug in Nautilus 3.34 that's been patched in the Extras repository pertaining to launching the previewer: see https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/nautilus&id=fb77df4de2e4ceedaf3bb55c9992ff6a3f5184dc . A fix for the issue has been merged upstream.

ryanw commented on 2019-09-21 01:49 (UTC) (edited on 2019-09-21 03:10 (UTC) by ryanw)

on 3.34

nautilus: error while loading shared libraries: libgnome-desktop-3.so.17: cannot open shared object file: No such file or directory

temporary solution: run cd /usr/lib && sudo ln -s libgnome-desktop-3.so.18.0.3 libgnome-desktop-3.so.17

joelongjiamian commented on 2019-09-12 01:24 (UTC)

patch applies on 3.34 (from git) with no modifications needed.

manolollr commented on 2019-05-08 19:00 (UTC)

Fixed with new version. Thanks!

manolollr commented on 2019-05-07 17:52 (UTC)

Thumbnails not working well.

With normal version thumbnails work without problems, with this patched version doesn't appear thumbnails. If you press F5 key appears only the thumbnail of one image, you need to press F5 for every image to get thumbnails of all.

albertvaka commented on 2019-03-19 07:38 (UTC)

Should be fixed now.

smallmouse commented on 2019-03-18 23:36 (UTC)

I'm getting a git problem:

fatal: reference is not a tree: 35d98c95016dbdb64ec6d9784b61eaad8321d14b

when I try to install this (with trizen)

albertvaka commented on 2018-10-13 05:38 (UTC)

Indeed, the patch still applies. Updated.

bryango commented on 2018-10-13 04:30 (UTC) (edited on 2018-10-13 04:31 (UTC) by bryango)

For 3.30.2:

-pkgver=3.30.0
+pkgver=3.30.2
-_commit=fb4fe5c7050c8b6191fe385410f0750aaf4b32de  # tags/3.30.0^0
+_commit=09fd9171dbb3a4ecbac093710411314f83e6322e  # tags/3.30.2^0

Works for me!

joelongjiamian commented on 2018-09-23 15:34 (UTC)

Many thanks! I rely heavily on this, and your efforts are very much appreciated.

albertvaka commented on 2018-09-18 18:43 (UTC)

Upgraded to 3.30 :)

albertvaka commented on 2018-03-26 12:04 (UTC)

Upgraded to 3.28.0.1, this should fix it!

Also, now the dependency nautilus-sendto is optional.

bibekdahal commented on 2018-03-26 06:15 (UTC)

Looks like this need to be updated. After updating to latest Gnome, I get the following error:

nautilus: error while loading shared libraries: libgnome-desktop-3.so.12: cannot open shared object file: No such file or directory

jematee commented on 2018-02-27 20:49 (UTC)

Build fails: Meson encountered an error in file meson.build, line 56, column 0: C library 'libm' not found

This might be related: https://bugzilla.gnome.org/show_bug.cgi?id=784189

bobo1239 commented on 2017-10-16 23:23 (UTC)

https://bugs.archlinux.org/task/56001 is probably also relevant for this; libtracker-sparql doesn't exist anymore

jplatte commented on 2017-10-07 10:56 (UTC)

Note: If the package fails to build for you, make sure you have `en_US.UTF-8` in your `/etc/locale.gen`. The switch to building with meson includes a line that sets LANG=en_US.UTF-8 for some reason, and if you don't have that locale, you get an error about some character not being encodable. Re-run `locale-gen` after editing `/etc/locale.gen`. The Arch Linux installation guide says to always have that locale in addition to what you might use as your main locale, so I guess it's not a bug in the PKGBUILD; it's fairly easy to miss though IMO. Hope this saves somebody the time to look into the build failure as I had to.

albertvaka commented on 2017-09-17 12:00 (UTC)

I fixed the build, plus I updated it to version 3.26.0 which was released four days ago :)

rhoit commented on 2017-09-16 09:14 (UTC)

thanks joca.bt I thought there is problem with the repo. I was checking every other day to build it, because of nautilus frustration auto find and thunar crappy look. Today frustation won! Problem was in the source link, change it to. source=("git+https://git.gnome.org/browse/nautilus#commit=$_commit" "git+https://git.gnome.org/browse/libgd" nautilus-restore-typeahead.patch) I found the correct link via official build, asp checkout nautilus NOW, have to configure the open terminal shortcut! Wish me luck!

joca.bt commented on 2017-09-09 11:03 (UTC) (edited on 2017-09-09 11:04 (UTC) by joca.bt)

I'm obtaining some kind of error when building the package, on the git clone step: fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Which is probably related to the fact that they are now using GitLab.

albertvaka commented on 2017-07-09 22:08 (UTC)

I adopted the package and updated it to 3.24.1 using eprk's updated patch. I've also updated the build system to use meson (which will be the only supported system for 3.26), following the changes in the main nautilus package.

electricprism commented on 2017-06-18 21:02 (UTC)

@eprk thanks for the 3.24.1 patch, I have updated the PKGBUILD in my personal repository here: https://github.com/ElectricPrism/nautilus-typeahead-desktop-buff-aur I have a personal experimental patch where I have changed the desktop icon layout to horizontal instead of vertical, it's not complete yet so if anyone wants 3.24 typeahead they can install from there and disable the patch in the PKGBUILD.

qgpmass commented on 2017-05-07 22:13 (UTC) (edited on 2017-05-08 06:31 (UTC) by qgpmass)

Here's the updated patch for 3.24.1 (1bab05578caf4c6eab15d385b95358efd3354c8b) https://pastebin.com/UZMRb4Sz

albertvaka commented on 2017-05-07 17:39 (UTC)

Is this package unmaintained?

electricprism commented on 2016-11-02 02:28 (UTC)

I'm experiencing crashes when doing Ctrl + F and type in "el dewr"

joelongjiamian commented on 2016-10-20 01:37 (UTC)

The functions isearch_activate_event and isearch_activate_items_alternate need to be modified because nautilus now segfaults when enter is pressed when no items are selected (this behaviour is new in 3.22). See https://gist.github.com/darthoctopus/9580eb8d68328a607d47 for @badwolfie's patch with these fixes applied.

daltones commented on 2016-10-17 15:55 (UTC)

Thank you so much, @badwolfie! It's hard to believe that Gnome team thinks I want to search recursively whenever I hit any key instead of press Ctrl+F explicitly... It really makes no sense.

kossa commented on 2016-10-17 07:39 (UTC)

Cool, thank you @badwolfie

badwolfie commented on 2016-10-17 05:44 (UTC)

Ok, I fixed the patch and the "typeahead" feature is working correctly now. I also added a checkbox for enabling it from the preferences window.

kossa commented on 2016-10-16 19:38 (UTC)

@thawill, I get : `No such key 'enable-interactive-search'` @badwolfie, I see Out of date, http://storage2.static.itmages.com/i/16/1016/h_1476646750_7703843_4a475416fc.png

badwolfie commented on 2016-10-14 07:25 (UTC)

The package has been upgraded to v3.22 but there's something not working right with the interactive search (typeahead feature), I'll try to fix the patch as soon as I can.

electricprism commented on 2016-09-21 19:48 (UTC)

@thatwill - maybe badwolfie can append that to the PKGBUILD now that it needs a update for Nautilus 3.22 releasing today.

thatwill commented on 2016-09-01 20:55 (UTC)

Just a note to anyone else like me, who couldn't get this working straight away without reading the patch details - Run the following command to enable the typeahead feature: gsettings set org.gnome.nautilus.preferences enable-interactive-search true

electricprism commented on 2016-06-11 06:38 (UTC)

@badwolfie - Thanks a lot, I can see the new nautilus-typeahead in my terminal now :)

badwolfie commented on 2016-06-11 03:29 (UTC)

@electricprism I wasn't aware of the update, thanks for the feedback. I'll get to it.

electricprism commented on 2016-06-11 01:57 (UTC)

Would it be possible to rebuild against Nautilus 3.20.1 The developers inform me a fix should be available for the Ctrl + 1 and Ctrl + 2 accelerators as described here: https://bugzilla.gnome.org/show_bug.cgi?id=767278

electricprism commented on 2016-05-17 08:49 (UTC)

Does Ctrl + 1 and Ctrl + 2 not work for others as well to switch the layout?

vagonpop commented on 2016-05-06 10:13 (UTC) (edited on 2016-05-06 10:21 (UTC) by vagonpop)

Hey look at this patch. http://pastebin.com/raw/tCwyxU0W Maybe you already know about it. There is one defect - it works when list view is active, otherwise it uses default search. Is there a way to activate list view at start? So this will work like your patch.

joelongjiamian commented on 2015-10-11 11:13 (UTC) (edited on 2015-10-11 11:13 (UTC) by joelongjiamian)

there's two files in the gist; the second is for nautilus

badwolfie commented on 2015-10-09 20:42 (UTC) (edited on 2015-10-09 20:42 (UTC) by badwolfie)

@ joelongjiamian is that patch for nautilus or gtk? Cause it looks like it's for gtk

joelongjiamian commented on 2015-10-03 00:11 (UTC)

Nautilus needs to be recompiled (even 3.16) to run on GNOME 3.18. This patch applies successfully on Nautilus 3.18: https://gist.github.com/darthoctopus/9580eb8d68328a607d47

electricprism commented on 2015-10-01 22:51 (UTC)

Gnome 3.18 has entered the [testing] repo, I upgraded and now nautilus-type-ahead won't run $ nautilus nautilus: error while loading shared libraries: libgnome-desktop-3.so.10: cannot open shared object file: No such file or directory This is a heads up as 3.18 will enter mainline soon

jonarnold commented on 2015-09-29 01:09 (UTC)

Thanks- working well now.

badwolfie commented on 2015-09-28 22:10 (UTC)

@jonarnold @smcdougall thanks for the feedback, I didn't noticed that. I'm now using the ubuntu patch to restore that feature even on Icon View

jonarnold commented on 2015-09-27 01:25 (UTC)

Here's a link to the old package which used a patch from Ubuntu: http://pkgbuild.com/git/aur-mirror.git/tree/nautilus-typeahead

mayamcdougall commented on 2015-09-27 01:14 (UTC)

I'm having this issue too. The patch seems to only effect List View / Tree View in Nautilus, where it used to effect Icon View as well. When in List View, Typeahead works as expected, but in Icon View typing brings up Recursive Search instead. The patch file toggles "gtk_tree_view_set_enable_search", but it seems like there should be a similar line for Icon View as well.

badwolfie commented on 2015-09-22 23:33 (UTC)

@jonarnold what do you mean by folder view? Like when on a file selector? Cuz there's a package that does that https://aur.archlinux.org/packages/gtk3-typeahead ;)

jonarnold commented on 2015-09-22 12:57 (UTC)

Also, it would be nice if this would patch the folder view as well. I know the old AUR package did this.

jonarnold commented on 2015-09-22 12:49 (UTC)

That worked. Running makepkg from the package build rather than building from yaourt did the trick. Not sure why...

badwolfie commented on 2015-09-21 20:21 (UTC)

@jonarnold not sure... Could you try to compile it locally and see if the source file it's patched correctly? The file is "src/nautilus-3.16.2/src/nautilus-list-view.c" and it should have searching enabled like this: "gtk_tree_view_set_enable_search (view->details->tree_view, TRUE);" around line 1926

jonarnold commented on 2015-09-21 20:00 (UTC)

I reinstalled, including the replacement of libnautilus-extension, and it still doesn't work. Should I check some log?

badwolfie commented on 2015-09-21 19:14 (UTC)

@jonarnold could you try again and tell me if you keep getting the same result, please? The typeahead feature is working just fine for me

jonarnold commented on 2015-09-19 03:29 (UTC)

I installed this, and it seems to have no effect. Whenever I type, it still brings up the search box.