Reply
Thread Tools
seiichiro0185's Avatar
Posts: 270 | Thanked: 610 times | Joined on Nov 2007 @ Leipzig/Germany
#1
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.
__________________
N800 -> N810 -> N900 -> N9 -> Jolla & TOHKBD -> Jolla C -> Xperia X -> XA2 Plus Dual Sim

http://www.seiichiro0185.org

Last edited by seiichiro0185; 2013-12-23 at 10:09.
 

The Following 33 Users Say Thank You to seiichiro0185 For This Useful Post:
Posts: 201 | Thanked: 410 times | Joined on Dec 2013
#2
Thanks very much. This is just great.
 
Posts: 1,298 | Thanked: 2,277 times | Joined on May 2011
#3
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.

Last edited by shmerl; 2013-12-23 at 15:46.
 

The Following User Says Thank You to shmerl For This Useful Post:
seiichiro0185's Avatar
Posts: 270 | Thanked: 610 times | Joined on Nov 2007 @ Leipzig/Germany
#4
no, there was no need to edit about:config. the settings app does set the defaultenginename value which is enough apparently.
__________________
N800 -> N810 -> N900 -> N9 -> Jolla & TOHKBD -> Jolla C -> Xperia X -> XA2 Plus Dual Sim

http://www.seiichiro0185.org
 

The Following User Says Thank You to seiichiro0185 For This Useful Post:
Posts: 705 | Thanked: 300 times | Joined on May 2011
#5
what is the default search engine of jolla? Sorry i dont own jolla
 

The Following User Says Thank You to youmeego For This Useful Post:
seiichiro0185's Avatar
Posts: 270 | Thanked: 610 times | Joined on Nov 2007 @ Leipzig/Germany
#6
default is google and you can choose between google, bing and yahoo without this mod.
__________________
N800 -> N810 -> N900 -> N9 -> Jolla & TOHKBD -> Jolla C -> Xperia X -> XA2 Plus Dual Sim

http://www.seiichiro0185.org

Last edited by seiichiro0185; 2013-12-23 at 16:57.
 

The Following User Says Thank You to seiichiro0185 For This Useful Post:
seiichiro0185's Avatar
Posts: 270 | Thanked: 610 times | Joined on Nov 2007 @ Leipzig/Germany
#7
FYI: I sent a feature request to jolla to include DDG in the default choices, lets see if this goes through.
__________________
N800 -> N810 -> N900 -> N9 -> Jolla & TOHKBD -> Jolla C -> Xperia X -> XA2 Plus Dual Sim

http://www.seiichiro0185.org
 

The Following 6 Users Say Thank You to seiichiro0185 For This Useful Post:
tiempjuuh's Avatar
Posts: 202 | Thanked: 165 times | Joined on Jul 2012 @ Apeldoorn, Netherlands
#8
Works like a charm, thanks!
__________________
Nokia N900 hw rev. 2204
Nokia N9 16GB black hw rev. 1507
Jolla + LETOH
 

The Following User Says Thank You to tiempjuuh For This Useful Post:
Posts: 4 | Thanked: 6 times | Joined on Dec 2013
#9
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
 

The Following User Says Thank You to mgbler For This Useful Post:
Posts: 1,298 | Thanked: 2,277 times | Joined on May 2011
#10
Originally Posted by seiichiro0185 View Post
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/
 

The Following 4 Users Say Thank You to shmerl For This Useful Post:
Reply

Tags
duckduckgo, sailfish os


 
Forum Jump


All times are GMT. The time now is 10:16.