Notices


Reply
Thread Tools
Posts: 313 | Thanked: 247 times | Joined on Jan 2010 @ USA
#11
Originally Posted by MiK546 View Post
Is there any way to add a new value in N900. I would like to add "nglayout.initialpaint.delay", as descripted in here as this makes Firefox show everything as soon as they are loaded and therefore make it a lot faster.
You can manually add the value in ~/.mozilla/fennec/*.default/prefs.js. Make sure to backup the file first.
 
Posts: 149 | Thanked: 25 times | Joined on Nov 2009
#12
the mod for searching google at normal view works only when typing words then hitting the enter button however when you tap the bit where it says for example im searching for maemo. the bit where it says Google Search: 'maemo' when you tap that it still searches in mobile mode. how can i take tht off and make it normal view
 
TomJ's Avatar
Posts: 505 | Thanked: 665 times | Joined on Oct 2009
#13
Originally Posted by lifenexus View Post

Address bar Google search.

By default, when you type anything in the address bar and press enter, it searches in google mobile which can be annoying. If u want it to search in google desktop, go back to about:config,
in the filter type, "keyword".
click on "keyword.url" and press enter. change the tect to
Code:
http://www.google.com/search?btnG=Google+Search&q=
If u want it to use "im feeling lucky" ie, when you search for anythin it wll dip theirst website from sarch results automatically,
change the smae keyword.url to
Code:
http://www.google.com/search?btnI=I%27m+Feeling+Lucky&q=
(Taken wholesale from my post in the main mod thread, and with due credit to the posters who did most of the work, noted below)

It is possible to make the default web browser's address bar search use more than just google, a la Opera or (I'm told) Firefox.

What to do:

Download this file to your N900, prefereably to the Documents folder.

In XTerminal enter the command

Code:
mv MyDocs/.documents/search.txt search.htm
(NB If you saved to a folder other than Documents from the webbrowser MyDocs/.documents will need to be changed to the requisite path)

In the web browser go to the page about:config
Read the "Here be dragons" warning and promise to be careful.

Find the setting keyword.URL by typing key into the filter box at the top of the page. Select the line keyboard.URL by tapping it and press enter.

Put
Code:
file:///home/user/search.htm?
in the dialogue box that appears and tap Done.

Now when you type a search into the address bar you can choose the following search engines by prefixing them with the letters lited below:

go - regular Google search (not mobile!)
wiki - wikipedia
map - Google Maps UK
ebay - eBay UK
php - PHP manual
mysql - MySQL manual
acronym - acronymfinder.com
urban - urbandictionary.com

(eg ebay n900 in the address bar will seach ebay.co.uk for an N900, wheras wiki n900 will search wikpedia)

You can add to or edit the choice of engines by editing search.htm - I would advise using pygtkeditor, which I think any serious modder should have installed unless they like vim or emacs. I, for instance, have edited the line
Code:
urls['go']='http://www.google.com/search?q=%s';
to read
Code:
urls['g']='http://www.google.co.uk/search?q=%s';
which means that instead of typing
Code:
go foo
into the address bar to get a search for foo from the full-fat google.com I type
Code:
g foo
to search google.co.uk.

A further change I have made is to add the lines
Code:
urls['tt']='http://traintimes.org.uk/%s';
into the search engine list block of code and
Code:
redirUrl = redirUrl.replace(/%2F/g,"\/");
before the line
Code:
document.location.replace(redirUrl);
This allows you to replicate the bookmarkable search function for UK train journeys on the excellent traintimes.org.uk by typing, for instance
Code:
tt hitchin/york/1000/tomorrow
to search for tomorrow's departures from Hitchin to York at around 1000.
The second line of code needs to be added as else between the script and the browser / is replaced with %2F which confuses the website. For more on how to use this look at the traintimes.org.uk frontpage; you can click the iCal links from its search results to get the times entered into your n900 calendar.

Hat-tips to evad for coming up with the idea and Viqsi for the device-side rather than online evolution of the idea in this thread.
__________________
Want to know how to add public holidays to your device calendar? See the instructions wiki page.

Want to improve the location bar's search capabilities? there's a wiki page for that too...
 

The Following 7 Users Say Thank You to TomJ For This Useful Post:
Posts: 202 | Thanked: 103 times | Joined on Dec 2009
#14
i didnt know it was posted before. forgive me
 
Posts: 202 | Thanked: 103 times | Joined on Dec 2009
#15
in the new fennec version, one can ad new values from the about config page
 
TomJ's Avatar
Posts: 505 | Thanked: 665 times | Joined on Oct 2009
#16
Originally Posted by lifenexus View Post
i didnt know it was posted before. forgive me
No worries... the more people find out about the various tricks the better. Incidentally, I've found a page in the wiki about changing the default search which I've tidied up and added my little bit to.
__________________
Want to know how to add public holidays to your device calendar? See the instructions wiki page.

Want to improve the location bar's search capabilities? there's a wiki page for that too...
 

The Following User Says Thank You to TomJ For This Useful Post:
Posts: 202 | Thanked: 103 times | Joined on Dec 2009
#17
thx. ill experiment with configuration files and see what i can do
 
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,466 times | Joined on Jan 2010 @ Australia Mate
#18
Originally Posted by mornage View Post
oh yeah, I did also adjust:

network.http.max-connections-per-server to 32
network.http.max-connections to 16

as shown here
it is

network.http.max-connections-per-server to 16
network.http.max-connections to 32
 
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,466 times | Joined on Jan 2010 @ Australia Mate
#19
anyone know where the microb config file is on the phone (i want to backup)

thx
 
euanandrews's Avatar
Posts: 105 | Thanked: 45 times | Joined on Nov 2009 @ Wellington, New Zealand
#20
Woop woop!
Have def seen a speed increase in my browser....and I have changed the default Google Mobile search to Google New Zealand...nice
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 18:02.