![]() |
[tutorial] Add Search Engines to stock browser
1 Attachment(s)
Tutorial about how to add your own search engines to the stock browser on your N9.
Hi guys. It's not possible to add a new search engine to the list from the UI. So I figured out a way to do it, via terminal. I think it's an unfinished feature, because what you have to do is pretty easy. After you finished this, the search engine will be able to be selected as an item from the list. (If you want to change the search engine in opera, follow these instructions: http://talk.maemo.org/showthread.php?t=89244.) In this tutorial we will add the search engine Duck Duck Go. I will also attach a proper search icon, that you can use, at the end. First you need terminal access. Easiest way to achieve this is:
Proceed with opening the terminal (icon on homescreen) and enter the following: (note: default password is rootme) Code:
devel-su Alternatively you can copy another web-search-*.desktop to web-search-ddg.desktop and edit the specific lines. Then you need to add this file to the UI selection menu. I have tested a bit around and saw the MimeType Parameter (written above). It contains the parameter that holds the information of the search engines (web-search files). The point is you need to edit the mimeinfo.cache file. Code:
vi /usr/share/applications/mimeinfo.cache Get the icon on your phone. Then execute this, while still logged in as root: (note: assuming you are, where your icon file is) Code:
mv icon-m-service-ddg.png /usr/share/themes/blanco/meegotouch/icons That's it. Thanks for reading and I'm happy for every response I get :). |
Re: [tutorial] Add Search Engines to stock browser
That's very similar to what I've done, but as a sidenote: part of DDG's appeal is its lack of tracking. Therefore, it might also be wise to change the search URL to "https" instead of "http" to ensure that each request is encrypted. It might take longer to process because of the SSL handshaking, but that's an inconvenience I (and probably many others) are willing to take.
The other advantage to this is that when searching from the included "Search" app, your DDG search now shows up as an option, which is great for initiating other things using it's !bangs, such as Wikipedia (!w), IMDB (!imdb), Amazon (!a), or even Google (!g). |
Re: [tutorial] Add Search Engines to stock browser
If you want to enable direct https change the line to this in .desktop:
Code:
X-Web-Search-Url=https://duckduckgo.com/ Now why wouldn't you package this in a nice little DEB for everyone to use? For a start. Perhaps later make an app that can generate various search .desktop files and automatically add to mimecache. ;) |
Re: [tutorial] Add Search Engines to stock browser
Thanks for suggesting. I'm on it ;).
|
Re: [tutorial] Add Search Engines to stock browser
has there been any news on a deb? i'm just too stupid to do this myself successfully...
|
Would Like to have it in n9qtweak
|
Re: [tutorial] Add Search Engines to stock browser
Finally looking at basic tweaks like this for my N9 in my scraps of spare time. This was really helpful. (Modern browsers not having built in Open Search support are obscene, and this helps at least bypass the obscenity.)
|
All times are GMT. The time now is 14:04. |
vBulletin® Version 3.8.8