Categories: desktopXFCE

Search improvements

Search improvements

 Welcome back. This is my last (or second to last) blog post for this year’s Google Summer of Code with Xfce and Thunar. Unlike previous weeks this time I have only one new thing to talk to you about. Searching in Thunar.

 Most of you might have noticed that Thunar has had a significnt deficiency for a while. Thunar has been missing a decent solution for searching for files in the filesystem. Users could search for files in the selected directory, but even that was a pretty mediocre

Sponsored
experience, because results weren’t being filtered while searching. Fortunately there is another program under the Xfce umbrella that
makes searching for files a breeze. That program is, of course, Catfish. Unfortunately this status quo requires users to juggle between Thunar and Catfish even when searching for simple things.

 In the past two weeks I’ve been working on two things. First, making Catfish easier to use through Thunar. Second improving Thunar’s built-in search features to make routine and/or simple searches possible without leaving Thunar. The first improvement is pretty straightforward.
A new button has been added that allows the user to open catfish with the specified search query from inside Thunar. As far as the improving the built-in search features goes, I’ve implemented a basic depth-limited recursive search in Thunar that is accessed from the location
bar, which can now be used as both a location bar and a search bar. As the user types his/her search query the view is updated with the results. For convenience in addition to the current directory and its subdirectories, Thunar searches the GTK-Recent database for eligible entries.

Sponsored

 Instead of describing how all this works I would like to demonstrate state of things to you. Some small things are missing (like options for selecting whether the GTK-Recent database should be searched and a new `location` column that will be introduced), but the
core functionality has been implemented and is close to being merged.


Link to all my Merge Requests: link

Previous post

Ubuntu Server Admin

Recent Posts

New 50 TOPS DC-ROMA RISC-V AI PC ships with Ubuntu Desktop 24.04 LTS pre-installed

Canonical is excited to announce the launch of DeepComputing’s new 50 TOPS DC-ROMA RISC-V AI…

1 day ago

CRA compliance: Things IoT manufacturers can no longer do under the CRA (and what to do instead)

I’ve written about the EU Cyber Resilience Act (CRA) on our Canonical blog a few…

3 days ago

IBM LinuxONE 5 and Ubuntu Server, a great combination from day one

Today, IBM announced the launch of their latest server: the new IBM LinuxONE Emperor 5.…

4 days ago

Ubuntu Weekly Newsletter Issue 890

Welcome to the Ubuntu Weekly Newsletter, Issue 890 for the week of April 27 –…

5 days ago

Ubuntu IoT Day in Singapore – Unlock compliant and scalable innovation in edge AI

Singapore | May 27, 2025 | Full-day event How do you build robust, performant edge…

5 days ago