maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Replace google search with another? (https://talk.maemo.org/showthread.php?t=81530)

www.rzr.online.fr 2012-03-06 22:32

Re: Replace google search with another?
 
this could be merged into n9tweak isnt it ?

fignew 2012-03-07 08:13

Re: Replace google search with another?
 
Hi guys, I was coordinating with the DuckDuckGo guys to make sure everything was ok... and it is :)

So without further ado here is the.deb file for the ddg search engine plugin for Harmattan.

eviloar 2013-06-03 03:18

Re: Replace google search with another?
 
Does anyone still have this file? Could you please host it somewhere else now that the repo is gone?

edit: I was able to simply edit the Yandex search file since I will never use it, but for some reason when I use a bang for google (!g, !gi) it takes me to a blank screen and I have to refresh to get the results. Just wanted to see if there was anything I should've done differently in the file..

wolke 2013-08-11 22:25

Re: Replace google search with another?
 
Code:

[Desktop Entry]
Version=1.0
Type=Application
Exec=/usr/bin/browser
MimeType=x-maemo-urischeme/x-web-search;
NotShowIn=X-MeeGo;
X-Maemo-Service=com.nokia.browser
Icon=icon-m-web-search-duckduckgo
Name=DuckDuckGo
X-Web-Search-Key=q
X-Web-Search-Url=https://duckduckgo.com/?kh=1&ki=-1&kj=b2&kl=fr-fr&kp=-1&kf=-1&kb=n&ko=s&k4=-1&km=l


wolke 2013-08-11 22:27

Re: Replace google search with another?
 
to set the search engine programmatically:
/home/user/.local/share/applications/defaults.list

x-maemo-urischeme/x-web-search=web-search-OLD.desktop => x-maemo-urischeme/x-web-search=web-search-NEW.desktop

then restart the phone, or initctl restart xsession/mthome

wolke 2013-08-11 22:32

Re: Replace google search with another?
 
to recalculate the list of available search engines, after changing/adding desktop files without restarting:
apt-get install --reinstall grob

{note that this will replace your grob binary if you normally use the one from android or whatever}

DJJonosound 2013-08-12 02:49

Re: Replace google search with another?
 
wolke I have no idea what you just said xD
Could someone just remake and reupload the .deb for ease of use?

wolke 2013-08-12 03:24

Re: Replace google search with another?
 
what i wrote above is technical info about doing things in general to search engines in grob, not a Newbies Guide to Setting Up DuckDuckGo

here is a crappy attempt at such a guide:

1) take that thing i pasted above, name it web-search-duckduckgo.desktop, copy it to MyDocs.
2) download a duckduckgo icon, perhaps here:
http://blog.toniob.net/public/icon-m...duckduckgo.png
3) name the icon "icon-m-web-search-duckduckgo.png" and copy it to MyDocs
4) run:
Code:

devel-su
cp /home/user/MyDocs/web-search-duckduckgo.desktop /usr/share/applications/
cp /home/user/MyDocs/icon-m-web-search-duckduckgo.png /usr/share/themes/blanco/meegotouch/icons/
apt-get install --reinstall grob

5) settings -> applications -> web -> search engine -> duckduckgo OR edit /home/user/.local/share/applications/defaults.list and change 'generic' or 'google' to 'duckduckgo'

DJJonosound 2013-08-12 08:21

Thanks mate. Will give it a shot.


All times are GMT. The time now is 09:12.

vBulletin® Version 3.8.8