Add Duck Duck Go as a search engine in Gnome Shell

Take one of the xml for DuckDuckGo in the OpenSearch standard, here’s mine:

<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="">
<Description>Encrypted Duck Duck Go with encrypted Google Suggest</Description>
<Image height="16" width="16" type="image/x-icon"></Image>
<Url type="text/html" method="get" template="{searchTerms}"/>
<Url type="application/x-suggestions+json" template="{searchTerms}"/>
<Url rel="suggestions" type="application/x-suggestions+xml" template="{searchTerms}&client=ie8&mw={ie:maxWidth}&sh={ie:sectionHeight}&rh={ie:rowHeight}&inputencoding={inputEncoding}&outputencoding={outputEncoding}"/>

and save as /usr/share/gnome-shell/search_providers/duckduckgo.xml for instance on Debian Wheezy. Now, refresh Gnome Shell (by doing alt+f2, ‘r’) and whenever you search for someting in the Shell’s Activity overview, you have the possibility to search the Web with DuckDuckGo.

2 thoughts on “Add Duck Duck Go as a search engine in Gnome Shell

  1. Hi Hugo,

    just wondering why one would want to have duck-duck-go as your search engine, as it uses Bing as its backend (or so I heard)?

    I don’t see how Bing and Free Software could work well together – am I missing something?