![]() |
[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. |
Re: [HOWTO] Using DuckDuckGo as Default search in Sailfish
Thanks very much. This is just great.
|
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. |
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.
|
Re: [HOWTO] Using DuckDuckGo as Default search in Sailfish
what is the default search engine of jolla? Sorry i dont own jolla
|
Re: [HOWTO] Using DuckDuckGo as Default search in Sailfish
default is google and you can choose between google, bing and yahoo without this mod.
|
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.
|
Re: [HOWTO] Using DuckDuckGo as Default search in Sailfish
Works like a charm, thanks!
|
Re: [HOWTO] Using DuckDuckGo as Default search in Sailfish
Open FingerTerm, type:
Code:
cd /home/nemo/Downloads |
Re: [HOWTO] Using DuckDuckGo as Default search in Sailfish
Quote:
UPDATE: Just found this: https://together.jolla.com/question/...e-web-browser/ |
Re: [HOWTO] Using DuckDuckGo as Default search in Sailfish
I did send a mail with the request to jolla, cause TJC wasn't open at this time yet. But as you pointed out, a similar request was posted on TJC. So everyone go vote for it ;)
|
Re: [HOWTO] Using DuckDuckGo as Default search in Sailfish
Quote:
su nemo -c "curl ... " otherwise you could end up with an empty duckduckgo.xml and it will use bing anyway even if you choose ddg in browser settings. |
Re: [HOWTO] Using DuckDuckGo as Default search in Sailfish
Quote:
i am no coder but can open a terminal and type in like a monkey.. is the code you gave what i need to type into my jollato get duckduckgo on my jolla? cheers |
Re: [HOWTO] Using DuckDuckGo as Default search in Sailfish
Quote:
cd /home/nemo/Downloads (with this you change to directory "Downloads" curl http://pastie.org/pastes/8582714/download > ddg.sh (with this you download the information on pastie.org and save it to a file like ddg.sh) chmod u+x ddg.sh (with this you give rights to execute the ddg.sh file on your system) devel-su (this is needit to get root right on your phone, after this there will your password to login) sh ddg.sh (and the last... this will execute the file and install the information in your phone) PS: dont kill me if i am wrong :D |
Re: [HOWTO] Using DuckDuckGo as Default search in Sailfish
ok i try this and now it happend this what ljo have write....
Quote:
------ if i try with this: su nemo -c "curl ... " than i get the info: /usr/bin/curl: /usr/bin/curl: cannot execute binary file |
Re: [HOWTO] Using DuckDuckGo as Default search in Sailfish
Quote:
Quote:
|
Re: [HOWTO] Using DuckDuckGo as Default search in Sailfish
ok thanks, i see that there is a backup from original brwoser.qml
i fix it so: Code:
devel-su |
Re: [HOWTO] Using DuckDuckGo as Default search in Sailfish
FYI: Updated DuckDuckGo search plugin XML can be found here: https://duckduckgo.com/opensearch.xml
(it's the original source). Just rename the file to duckduckgo.xml first to avoid any collisions. |
Re: [HOWTO] Using DuckDuckGo as Default search in Sailfish
Hi
I noticed that cargo can't see files named in RTL languages, for example hebrew. Would be nice if creator will add this support and showing hidden files.. Thanks EDIT: Oops, it can see rtl. Sorry, my mistake.. |
Re: [HOWTO] Using DuckDuckGo as Default search in Sailfish
The browser.qml diff doesn't apply any more on 1.1.0.38. The ComboBox no longer has the names of the search engines hardcoded in the QML, now it seems to be getting them from org.sailfishos.browser.settings, any idea where that is defined?
Code:
ComboBox { |
Re: [HOWTO] Using DuckDuckGo as Default search in Sailfish
Just use the solution of sunkan from here:
https://together.jolla.com/question/...e-web-browser/ "cp -vi duckduckgo.xml /usr/lib/mozembedlite/chrome/embedlite/content/" wait for some time and then you can choose the search engine in jolla settings. Clean and easy. |
Re: [HOWTO] Using DuckDuckGo as Default search in Sailfish
Hi need some help, I've tried to add DDG as search engine. Obviously, something went wrong. So I tried to go back.
Don't know what happens exactly, but search doesn't work anymore in the browser. Of course, I can open a tab to any search engine and like this, I can search. But search directly from the browser seems broken. Any help? Thanks. EDIT : Search works indeed, but it is so sllloooooooowwwwwwwwwww. When I tap on the "Enter" keyboard button, it takes more than 1 minute to actually launch the search, whatever the selected search engine is. HELP! |
All times are GMT. The time now is 00:04. |
vBulletin® Version 3.8.8