Tuesday, September 6, 2016

Changing search engine on Raspberry pi 3 (from duckduckgo to google)

original info from here:
http://www.lifehacker.com.au/2015/02/how-to-change-the-raspberry-pis-epiphany-browser-to-use-google/

sudo leafpad /usr/share/glib-2.0/schemas/org.gnome.epiphany.gschema.xml
Then locate this block of XML:
  1. <key type="s" name="keyword-search-url">
  2. <default>'https://www.google.com/search?q=%s'</default>
  3. <summary>URL Search</summary>
  4. <description>Search string for keywords entered in the URL bar.</description>
  5. </key>
The line <default>'https://duckduckgo.com/?q=%s&t=raspberrypi'</default> is what you need to change. Replace https://duckduckgo.com/?q=%s&t=raspberrypi withhttps://www.google.com.au/#q=%s
Next compile the xml with this:

sudo glib-compile-schemas /usr/share/glib-2.0/schemas

The original article above has you install what I am guessing is the schema compiler, but that didn't work on the raspian I'm running and the compile-schemas was already there when I ran it.

1 comment:

  1. yes, exactly..
    but i don't know " Duck Duck Go " which country is using this search engine.
    i have a website (https://nucleusconsultinggroup.com/prince2-certification-training-in-hyderabad/). i want to submit my website in duck duck go search engine. please help me.

    Thank You...

    ReplyDelete