On Mon, 06 Apr 2020 06:30:53 +0000 Mike Gabriel
<mike.gabr...@das-netzwerkteam.de> wrote:
> Package: chromium
> Severity: wishlist
>
> Currently (during the bullseye release cycle), chromium uses Google
as
> the default search provider.
>
> With the below snippet dropped into
> /etc/chromium/policies/managed/<somefile>.json we could switch that
to
> DuckDuckGo:
>
> {
> "DefaultSearchProviderEnabled":true,
> "DefaultSearchProviderName": "DuckDuckGo",
>
"DefaultSearchProviderIconURL":"https://duckduckgo.com/favicon.ico",
> "DefaultSearchProviderEncodings":["UTF-8"],
>
"DefaultSearchProviderSearchURL":"https://duckduckgo.com/?q={searchTerms}",
>
>
"DefaultSearchProviderSuggestURL":"https://duckduckgo.com/ac/?q={searchTerms}&type=list",
>
"DefaultSearchProviderNewTabURL":"https://duckduckgo.com/chrome_newtab",
> }
>
> Maybe an option for Chromium in Debian?
>
Unfortunately, this recipe is for administrators that want to force a
default search engine. There's no way to change the default search
engine to something else through the UI, so this won't work for us. We
just want to change the default search engine, and allow users to set
it to something else (including back to Google, if that's their
preference) in Settings -> Search Engine.
I'm trying to come up with a patch to change it (similar to
https://github.com/ungoogled-software/ungoogled-chromium/blob/master/patches/extra/ungoogled-chromium/prepopulated-search-engines.patch
), but if you're aware of a simple config file snippet that would
change the default but can be overridden, that would be better than a
patch.
Thanks,
Andres