Ask / Submit
183

Browser: Support for custom search engines [answered]

asked 2013-12-24 22:18:43 +0200

Tanghus gravatar image

updated 2015-02-06 09:53:16 +0200

Currently the browser supports 3 search engines: Google, Bing and Yahoo neither of which I'm comfortable with using. I'd rather use e.g.https://duckduckgo.com/

Update: Check the pull request comments here - https://github.com/sailfishos/sailfish-browser/pull/139 >>

with this commit b5ac970 there is no need to hardcode search engines...............

Closing as search engines are supposed to be installed by means of 3d-party packages.

Based on my understanding of above comments in GH, looks like, in theory, browser allows the possibility of adding custom search engines and list is not hard coded now. Not sure how exactly search provider packages will be made available officially. Probably we need to approach DDG for permission?

Also, we have unofficial solution now - Thanks to @coderus who obliged and promptly heeded my request to build a package for few more search engines. Baidu, DuckDuckGo, StartPage search engines for Sailfish Browser: https://openrepos.net/content/coderus/search-engines-sailfish-browser

Usual caveat -> Try it at your own risk.

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by coderus
close date 2015-02-06 09:52:58.356137

Comments

10

Keeping with the privacy theme, DDG and Startpage should be added to the default selection.

umko ( 2013-12-31 19:36:14 +0200 )edit

turns out, I created the same request after this one (https://together.jolla.com/question/4959/add-more-search-engines-to-the-web-browser/). The reason is that this Q does not turn up in search by "duckduckgo" (probably URL to blame). The other Q has more upvotes. Is it possible to merge?

Hess ( 2013-12-31 22:58:49 +0200 )edit

He, If I type 'search' this is the first entry that shows - just saying ;)

I'm afraid merging is not possible (yet, hopefully). Let's just link between the questions as this is also about adding custom search engines, not just adding to the chosen few.

Tanghus ( 2013-12-31 23:13:23 +0200 )edit
2

This is almost a duplicate of this other question. I would rather keep this one however, as it is more generic... If you can add search engines, the shipped engines are not that importnt anymore. And you want to keep the default list reasonably short...

mikelima ( 2014-01-03 20:32:11 +0200 )edit

3 Answers

Sort by » oldest newest most voted
21

answered 2014-10-31 21:43:50 +0200

Shadow gravatar image

updated 2015-02-06 08:39:53 +0200

Custom search engines can be installed just by copying the xml-file to /usr/lib/mozembedlite/chrome/embedlite/content/

An xml-file for DuckDuckGo can be found at: https://duckduckgo.com/opensearch.xml.

After you have created your xml-file to that directory, you can select your search engine from the browser settings. :)

The command to do this in phone’s terminal or via SSH (you need to use devel-su first to get super user rights):

curl https://duckduckgo.com/opensearch.xml -o /usr/lib/mozembedlite/chrome/embedlite/content/duckduckgo.xml

(thanks goes to sunkan for finding this)

PS. Someone could make a package for not-so-tech-savvy users and send it to Jolla Store or OpenRepos.

edit flag offensive delete publish link more

Comments

1

according to comments, this may be a feature of the opt-in update 9 (Uitukka)

tanriol ( 2014-11-01 20:44:04 +0200 )edit
1

I've had that file already, for a while, probably when I tried to add ddg through the open-search-plugin method, but I do not have a settings option for it.

This does not work!

Maybe on update9 will...

dsilveira ( 2014-11-02 14:56:14 +0200 )edit

i did it yesterday with up 8. it works well for me. the browser needs other updates like text only load and better readability by line breaks and text size

NuklearFart ( 2014-11-02 19:02:29 +0200 )edit
1

I had to restart the phone (Xperia X) for this to take effect. Regardless that it was possible to set it in the App settings.

BTW. Thanks to both of you Shadow and sunkan.

Filip K. ( 2017-10-14 22:37:17 +0200 )edit

Restarting the browser was enough in my case (Xperia X)

olli ( 2017-10-15 08:44:07 +0200 )edit
19

answered 2013-12-24 22:42:30 +0200

ibins gravatar image

seiichiro0185 examined this and wrote a little HowTo: http://talk.maemo.org/showthread.php?t=92129&highlight=duckduckgo

Having this as a valid choice in settins would be better although.

edit flag offensive delete publish link more

Comments

Thanks for the tip!

Tanghus ( 2013-12-25 00:02:21 +0200 )edit
1

And now editing /usr/share/jolla-settings/pages/browser/browser.qml for the 3rd time ;)

Tanghus ( 2014-03-18 06:18:30 +0200 )edit

thanks for sharing! really nice to have it

DanyZ ( 2014-11-04 15:26:07 +0200 )edit
-2

answered 2014-05-19 10:43:56 +0200

jukey gravatar image

This question is duplicate of https://together.jolla.com/question/4959/add-more-search-engines-to-the-web-browser/

edit flag offensive delete publish link more

Comments

No it's not. See comments on question.

Tanghus ( 2014-05-19 18:20:01 +0200 )edit

lol, the question you linked, itself says it is a duplicate of this one!

Actually, I think you wrote that.

Also, this question is much older than that one!

dsilveira ( 2014-05-19 18:28:33 +0200 )edit

OK, My bad, don't kill me! ;-)

I saw that this question is older but the other question got more votes so my idea was to decide for the question with more interactions.

However comparing the questions details of this question and the one I marked as duplicate look quite similar. If the focus is different that should be reflected in the question details, imho.

Anyway, sorry for the noise.

jukey ( 2014-05-19 18:52:49 +0200 )edit
1

I think there should be a way to transfer votes/comments, when a question is closed as duplicate, it would help clean up alot of clutter :P

dsilveira ( 2014-05-20 17:39:12 +0200 )edit

Yeah and if one creates a circle (like I did) the number of votes will be infinity! :)

jukey ( 2014-05-20 18:36:14 +0200 )edit

Question tools

Follow
27 followers

Stats

Asked: 2013-12-24 22:18:43 +0200

Seen: 3,624 times

Last updated: Feb 06 '15