l4l/yofi

Can't launch gedit as "gedit"

alanorth opened this issue · 3 comments

Testing yofi snapshot (377497b) from 2020-12-30. I notice that I can't launch gedit by typing "gedit". I have to type something that matches "Text Editor" instead. Is yofi only checking the Name entries of desktop files?

I see the /usr/share/applications/org.gnome.gedit.desktop file on Arch Linux has the following:

Keywords[en_GB]=Text;Editor;Plaintext;Write;gedit;

Could it be possible add support for matching these keywords?

l4l commented

Sure, that is a reasonable enchantment. Current version only supports searching by "Name" field indeed.

l4l commented

That was fairly easy to implement, though without locale support yet. Mind to test a linked PR? For me it works fine with gedit.

The origin/keyword-search branch works great. Thanks!