How to change the search engines of Firefox in Linux Mint 15

Firefox browser in Linux uses 2 search engines by default, DuckDuckGo in the address bar and Yahoo Search in the search bar. These search engines are there so whenever someone uses these search engines, the Linux Mint team will receive a little amount of money from these search engines. So using DuckDuckGo and Yahoo search is a method to financially support Linux Mint.

However, many people still prefer Google over these 2 search engines. One work-around method is to use "!g", "!i" with DuckDuckGo to get the result from Google for normal searches and image searches. But if you still want to change the default search engines of Firefox in Linux Mint 15 to Google search, here is how to do so:

Replace Yahoo with Google in the search bar

To change the Yahoo search in the search bar to Google, you launch Firefox then go to the following address:
 http://www.linuxmint.com/searchengines.php  

Then a page about Search Engines in Linux Mint will open, you scroll down to the bottom where you will find the Commercial Engines.

How to change the search engines of Firefox in Linux Mint 15

Click on the Google icon and the Google search option is now enabled in the search bar:

change the search engines of Firefox in Linux Mint 15

 Just select "Add Google" and Google will become the default search engine for the search bar.

Replace DuckDuckGo with Google in the address bar

Changing the search engine for the address bar requires a different approach. First, launch Firefox then type about:config in the address bar. Click the "I'll be careful" button to go to the config page. In this config page, search for the the line that begins with "keyword.URL":

How to change the search engines of Firefox in Linux Mint

Then right click on this line, you will see the option to modify it. In the box to edit the search engine, you just need to replace the search url for DuckDuckGo with that for Google:
 http://www.google.com/search?q=   


How to change the search engines  Firefox in Linux Mint 15

Hit OK and everything is done. Now Google is the default search engine for both the search bar and the address bar of Firefox in Linux Mint 15.
linux tips and tricks