Wondering if anyone else has done any experimenting with adding search-providers in cinnamon?
I came across these today - https://github.com/linuxmint/Cinnamon/t ... s-examples
Anyone tried any of them?
I've got a working google search-provider which allows for a google search from the menu search bar. Attached as a zip file for anyone who is interested.
Unzip to
~/.local/share/cinnamon/search_providers
Open
~/.local/share/cinnamon/search_providers/google@linuxmint.com/search-providers.js
in a text editor and manually update the hardcoded icon path to point to your home directory rather than mine.var file = Gio.file_new_for_path('/home/steve/.local/share/cinnamon/search_providers/google@linuxmint.com/icon.png');
Optionally edit the icon size - 128 works nicely in Cinnamenu but is a bit big for the stock menu. 32 is a good size.
var myicon = new St.Icon({gicon: gicon, icon_size: 128, icon_type: St.IconType.FULLCOLOR, reactive: true, track_hover: true, style_class: 'applet-icon'});
Install the Cinnamenu applet - https://cinnamon-spices.linuxmint.com/applets/view/282 - add it to a panel, and in its configuration enable search providers and then enable the google entry. After that you can safely remove Cinnamenu from the panel and uninstall if you wish. Google search will be an option when searching from the stock menu. In Cinnamon DuckDuckGo and Yahoo search are already pre-installed and can be activated in the same way
The setting for enabled search-providers is in dconf / gsettings - org.cinnamon enabled-search-providers - however both the gsettings terminal command and dconf-editor gui app throw an error trying to set the key manually.