After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 606029 - gnome-search-tool should allow queries to be saved
gnome-search-tool should allow queries to be saved
Status: RESOLVED WONTFIX
Product: gnome-search-tool
Classification: Applications
Component: general
git master
Other Linux
: Normal enhancement
: ---
Assigned To: gnome-search-tool-maint
gnome-search-tool-maint
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2010-01-04 16:24 UTC by dan
Modified: 2019-02-23 02:44 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28



Description dan 2010-01-04 16:24:48 UTC
The gnome-search-tool is a great utility to give the power of commandline searching to non-techie users. However, what you typically want to give them is not just the utility, but the search itself. Therefore, the gnome-search-tool should allow a search query to be saved and assigned an alias. That way, the end user can just click on the name and get the results they need without having to construct the search from scratch every time.

As it turns out, this tool already supports this feature, in a way. The gnome-search-tool command provides commandline flags for every field in the user interface. This allows me to create a .desktop file that calls gnome-search-tool using my prepared query. So all the user interface needs to do is offer a way to generate a .desktop file from the current search and prompt the user for a name. The file can be saved to the desktop and the search can be run by clicking (or double-clicking) on it.

Here's an example .desktop file that searches for songs less than a month old.

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Icon[en_US]=/usr/share/icons/Humanity/actions/48/search.svg
Name[en_US]=Find New Songs
Exec=gnome-search-tool --path /home/username/Music --regex ".(mp3|ogg)$" --mtimeless=30 --sortby date --start
Comment[en_US]=Search for songs less than 30 days old
Name=Find New Songs
Comment=Search for songs less than 30 days old
Icon=/usr/share/icons/Humanity/actions/48/search.svg
Comment 1 dan 2010-01-04 16:25:56 UTC
This bug was originally submitted to launchpad (Ubuntu):

https://bugs.launchpad.net/ubuntu/+source/gnome-utils/+bug/502535
Comment 2 André Klapper 2019-02-23 02:44:24 UTC
gnome-search-tool is not under active development anymore.
Its codebase has been archived:
https://gitlab.gnome.org/Archive/gnome-search-tool/commits/master

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Please feel free to reopen this ticket (or rather reactivate the project
to GNOME Gitlab, as GNOME Bugzilla is deprecated) if anyone takes the
responsibility for active development again.