Abroswer Start Page Search Bar

8 replies [Last post]
Telinome

I am a member!

Offline
Joined: 08/13/2013

First off, on my home and office computers, I downgraded and reinstalled Trisquel 6. In a few months, I'll give Trisquel 7 another try, and hope that some of the bugs are worked out (some things did not work well on my home computer, and Trisquel 7 Mini was unusable on my office computer).

But, I am happily back on Trisquel 6. I decided to stick with Abrowser and not install IceCat, but I think I would have the same problem there. The search box on the Start Page always and only searches DuckDuckGo. Is there a way to change this?

SuperTramp83

I am a translator!

Offline
Joined: 10/31/2014

yes,there is. on the startpage websit look for the entry "add to my browser" - it's under the search box left follow the instructions..

Telinome

I am a member!

Offline
Joined: 08/13/2013

I didn't mean the Start Page search engine. I meant the Abrowser start page, both about:home and about:abrowser (although the second one no longer works for me... hmm).

lembas
Offline
Joined: 05/13/2010
Telinome

I am a member!

Offline
Joined: 08/13/2013

That's about the search box up near the address bar. I'm talking about the boxes on about:home and about:abrowser.

onpon4
Offline
Joined: 05/30/2012

I'm pretty sure it just uses the default search engine. If you want to use a different one, you're supposed to use the search bar in the top-right.

You can change the default search engine in about:config (I don't remember what the setting is, though).

G4JC
Offline
Joined: 03/11/2012

I can confirm the about:home page has an anti-feature that you have discovered, I have filed a bug report here: https://trisquel.info/en/issues/13112

Normally, you would type "about:config" and search for "browser.search.defaultenginename" and change it to your desired search engine.

Or for older versions of Mozilla based browsers you also had to change the "chromeappsstore.sqlite" file in your Profile Folder, information here for reference:
https://support.mozilla.org/hu/questions/779082

However, someone decided to hardcode the DuckDuckGo search engine into the page located in the zipped file /usr/lib/abrowser/browser/omni.ja - you can edit it via 'mkdir ~/omniunpacked', 'unzip omni.ja -d ~/omniunpacked' "cd ~/omniunpacked/chrome/browser/content/browser/abouthome", "nano aboutHome.xhtml", then replace the entire searchContainer div with the official one:
http://pastebin.com/z4eeQ0mM

Naturally this method is semi-dangerous since you can break aBrowser and is totally unessecary since it's easy to fix from the developer side. So we'll see if this bug gets fixed in future versions. :-)

Ishamael
Offline
Joined: 08/29/2014

I've only done this with IceCat but. One quick fix I figured out is to open your about:home, then ctrl+S the page as xhtml. Once you've done that you could save that to Templates or something, then open it within the browser, and right click then hit view page source. You should then find this line with DDG,

Pic#1

and change it to this(I used Ixquick, you can use whatever you want).

Pic#2

When you're done open preferences and change about:home to /home/Templates/IceCat Start Page.xhtml. You'll now have that address in the URL bar, instead of empty space, but It's worked well enough for me for the time being.

Screenshot - Source.png Screenshot - Source1.png
onpon4
Offline
Joined: 05/30/2012

Templates is a special directory indicating templates for creating new files. Unless you're planning on making variations of this modified start page on a regular basis, you shouldn't put it there. (It won't cause any harm, but it does add entries to the "New Document" menu in Nautilus which you aren't using.)