brisk-menu icon indicating copy to clipboard operation
brisk-menu copied to clipboard

[Feature Request] Improve search algorithm as we have it in Whisker Menu

Open meequz opened this issue 6 years ago • 4 comments

Whisker Menu from Xubuntu has a better search algorithm. Example: I want to run LibreOffice Writer. I open the menu, type lw, and get my LibreOffice Writer in the results, because the words in it start with L and W. Searching for lw in Brisk Menu doesn't return any result. So I'm asking to implement Whisker Menu search algorithm in Brisk Menu.

meequz avatar Jul 19 '17 13:07 meequz

synapse (which was removed from ubuntu-mate-meta in 17.10/artful as I assume the updated brisk-menu is supposed to replace it) works this way well.

kurros avatar Jul 29 '17 22:07 kurros

would be a nice feature. Also it would be really great if you could add possible to add own sets like gmrun. For example i have in my gmrun configurations thinks like: w: tcp (searching wikipedia) or php: phpinfo (search php.net). Configuration for this looks like:

URL_b = firefox 'http://bing.de/?q=%s' URL_css = firefox 'http://jigsaw.w3.org/css-validator/validator?uri=%s&profile=css3&usermedium=all&warning=1&vextwarning=&lang=de' URL_cisco=firefox 'http://tools.cisco.com/search/results/en/us/get#q=%s' URL_d = firefox 'https://duckduckgo.com/?q=%s' ...

linuxloot-de avatar Aug 08 '17 07:08 linuxloot-de

Perhaps Levenshtein_distance will help here:

  • https://en.wikipedia.org/wiki/Levenshtein_distance

flexiondotorg avatar Aug 23 '17 02:08 flexiondotorg

Here's a few links for reference: https://github.com/Microsoft/vscode/issues/968 https://github.com/atom/fuzzaldrin

vscode does this kind of matching, and so does fuzzaldrin, which is a plugin for atom. It really is the most excellent way to match - "msm" would watch "MATE System Monitor" for example.

folknor avatar Mar 14 '18 13:03 folknor