Linux experience on Acer S7 (UEFI, RAID)

Hi folks,

let me share some experience on installing Linux on Acer S7 laptop. It usually has Win8.1 or Win10 pre-installed but I don’t like that OS.

So here is the history of Linux on that laptop.
Continue reading

Advertisements

Google Chrome and Custom Search Engine

Hi folks,

sometimes after you update the Google Chrome, it changes the default search engine for omnibox to this one: Custom Search Engine. Your search page starts looking weird and loses a lot of functionality.

Once you try to change the Search Engine (type chrome://settings/searchEngines in empty tab and press Enter), you realize that it’s impossible (the message “This setting is enforced by your administrator” appears).

I don’t know why it happens, but here is the way how to get things back (for Linux users):

  1. close all the instances of Chrome.
  2. Locate the /etc/opt/chrome/policies/managed/chrome.json and make sure that it contains the settings related to Custom Search Engine.
  3. Edit it:
{
   "DefaultSearchProviderEnabled": true,
   "DefaultSearchProviderInstantURL": "{google:baseURL}search?q=%s&{google:RLZ}{google:originalQueryForSuggestion}{google:assistedQueryStats}{google:searchFieldtrialParameter}{google:bookmarkBarPinned}{google:searchClient}{google:sourceId}{google:instantExtendedEnabledParameter}{google:omniboxStartMarginParameter}{google:contextualSearchVersion}ie={inputEncoding}",
   "DefaultSearchProviderKeyword": "google.com",
   "DefaultSearchProviderName": "Google search",
   "DefaultSearchProviderSearchURL": "{google:baseURL}search?q=%s&{google:RLZ}{google:originalQueryForSuggestion}{google:assistedQueryStats}{google:searchFieldtrialParameter}{google:bookmarkBarPinned}{google:searchClient}{google:sourceId}{google:instantExtendedEnabledParameter}{google:omniboxStartMarginParameter}{google:contextualSearchVersion}ie={inputEncoding}",
   "DefaultSearchProviderSuggestURL": "{google:baseURL}search?q=%s&{google:RLZ}{google:originalQueryForSuggestion}{google:assistedQueryStats}{google:searchFieldtrialParameter}{google:bookmarkBarPinned}{google:searchClient}{google:sourceId}{google:instantExtendedEnabledParameter}{google:omniboxStartMarginParameter}{google:contextualSearchVersion}ie={inputEncoding}"
}

Now your default omnibox Search Engine is Google.com without any CSE. If you prefer another engine, like Yahoo, pick appropriate URL from Settings > Search > Manage Search Engines (or go to chrome://settings/searchEngines).

Windows users can find Chrome / Policies somewhere in the registry. If you were able to do it, please provide registry key in comments.