3

When I press the Super key I see the Overview window. From here I can search current open windows, files, Software Senter, etc, but I couldn't find how to make it search in Google. Looks like there should be a search provider for it, but I couldn't find it in GNOME Extensions portal.

Am I missing something?

My setup is GNOME Shell 3.32.0 (Ubuntu)

Overview

  • 1
    Possible duplicate of How to enable Google search for GNOME Shell? – pLumo Apr 16 '19 at 8:54
  • Very old duplicate, but answer still seems to be correct. Anyways, do you really want to give Google information on everything that you type in the Gnome shell search? – pLumo Apr 16 '19 at 8:59
  • Thanks for pointing me to the original question. Unfortunately, the answer there didn't work for me. I created google.xml file, pasted the source code from the link, copied it to the /usr/share/gnome-shell/search-providers and rebooted. – Alexey Chernov Apr 16 '19 at 9:18
  • Weather the privacy issue with google. I agree to switch from Google to DuckDuckGo, but couldn't find how to implement it either. – Alexey Chernov Apr 16 '19 at 9:19
  • Welcoem to AskUbuntu! There appears to be some confusion. Ubuntu 19.10 hasn't been released yet. Please edit the output of lsb_release -a into your question. Thank you for helping us help you! – Elder Geek Apr 16 '19 at 15:58
1

There is a GNOME Shell extension on GitHub called Web Search Provider for GNOME Shell that lets you add different web search providers.

Note that adding Extensions from non trusted sources is unsupported, not recommended and you may encounter stability and/or security issues.

Now if you still want to set it up, download the extension:

git clone --depth=1 https://github.com/mrakow/gnome-shell-web-search-provider ~/.local/share/gnome-shell/extensions/gnome-shell-web-search-provider@mrakow.github.com

Edit config.json file:

gedit ~/.local/share/gnome-shell/extensions/gnome-shell-web-search-provider@mrakow.github.com/config.json

And replace its content with the following:

{
  "searchEngines": {
    "Google Search": {
      "urlTemplate": "https://www.google.com/search?q={searchTerms}",
      "iconPath": "/usr/share/icons/gnome/256x256/actions/search.png"
    }
  }
}

Restart GNOME Shell: Alt+F2, r, then Enter. Or logout and login again (for Wayland).

Enable the Web Search Provider extension in GNOME Tweaks or at https://extensions.gnome.org/local.

Now a Google Search entry should appear whenever you use GNOME Shell search.

Tested on Ubuntu 19.04

0

The google search provider is available in the gnome extensions portal here.

It's reported to work with gnome-shell v.3.18.5 but I personally haven't tested it.

One alternative is the Web Search Dialog extension available here or on the project page here

It's pretty old and hasn't been updated in years but you might be able to get it to work by changing the version number in metadate.json

Another alternative would be to simply do your web searches from within your favorite browser. Personally I've found this approach to be highly effective.

A third alternative would be to develop your own using the data available here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.