solus-project / brisk-menu

An efficient menu for the MATE Desktop
GNU General Public License v2.0
139 stars 23 forks source link

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

Open meequz opened 7 years ago

meequz commented 7 years ago

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.

kurros commented 7 years ago

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.

linuxloot-de commented 7 years ago

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' ...

flexiondotorg commented 7 years ago

Perhaps Levenshtein_distance will help here:

folknor commented 6 years ago

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.