maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   [HOWTO] Using DuckDuckGo as Default search in Sailfish (https://talk.maemo.org/showthread.php?t=92129)

seiichiro0185 2013-12-23 10:01

[HOWTO] Using DuckDuckGo as Default search in Sailfish
 
Hi,

I just discovered how one can use DuckDuckGo as the default search engine in the sailfish browser. Please note that you'll have to change system files to achive this, and that you do everything described here at your own risk! The procedure works for me, but YMMV.

Step 1: Enable developer mode, you'll need either the terminal or ssh to continue.

Step 2: Login via ssh or start terminal

Step 3: cd to /home/nemo/.mozilla/mozembed/searchplugins/

Step 4: Create a file duckduckgo.xml with the contents taken form http://pastie.org/8517520 (Thanks shmerl for this)

Step 5: cd to /usr/share/jolla-settings/pages/browser

Step 6: Make a backup copy of browser.qml !

Step 7: Get root with devel-su and edit browser.qml to look like this: https://gist.github.com/seiichiro0185/8094341

Step 8: Restart the settings app, navigate to Apps -> Browser and select DuckDuckGo from the available Search engines

Step 9: restart the Browser and enjoy ;)

Please note that this change will most likeliy be overwritten by the next update of the browser, so the changes to browser.qml will have to be repeated.

gaelic 2013-12-23 10:05

Re: [HOWTO] Using DuckDuckGo as Default search in Sailfish
 
Thanks very much. This is just great.

shmerl 2013-12-23 15:44

Re: [HOWTO] Using DuckDuckGo as Default search in Sailfish
 
Is there any need to modify about:config like here?
http://talk.maemo.org/showthread.php?t=91890

You can propose to add this QML change as part of the official UI for the browser.

seiichiro0185 2013-12-23 16:16

Re: [HOWTO] Using DuckDuckGo as Default search in Sailfish
 
no, there was no need to edit about:config. the settings app does set the defaultenginename value which is enough apparently.

youmeego 2013-12-23 16:35

Re: [HOWTO] Using DuckDuckGo as Default search in Sailfish
 
what is the default search engine of jolla? Sorry i dont own jolla

seiichiro0185 2013-12-23 16:54

Re: [HOWTO] Using DuckDuckGo as Default search in Sailfish
 
default is google and you can choose between google, bing and yahoo without this mod.

seiichiro0185 2013-12-24 07:28

Re: [HOWTO] Using DuckDuckGo as Default search in Sailfish
 
FYI: I sent a feature request to jolla to include DDG in the default choices, lets see if this goes through.

tiempjuuh 2013-12-24 08:48

Re: [HOWTO] Using DuckDuckGo as Default search in Sailfish
 
Works like a charm, thanks!

mgbler 2013-12-28 15:40

Re: [HOWTO] Using DuckDuckGo as Default search in Sailfish
 
Open FingerTerm, type:
Code:

cd /home/nemo/Downloads
curl http://pastie.org/pastes/8582714/download > ddg.sh
chmod u+x ddg.sh
devel-su
sh ddg.sh


shmerl 2013-12-29 17:03

Re: [HOWTO] Using DuckDuckGo as Default search in Sailfish
 
Quote:

Originally Posted by seiichiro0185 (Post 1400205)
FYI: I sent a feature request to jolla to include DDG in the default choices, lets see if this goes through.

Did you post it through the TJC?

UPDATE: Just found this: https://together.jolla.com/question/...e-web-browser/


All times are GMT. The time now is 17:30.

vBulletin® Version 3.8.8