View Single Post
BrentDC's Avatar
Posts: 903 | Thanked: 632 times | Joined on Apr 2008
#33
Originally Posted by YoDude View Post
Bumped as requested... I can get to the belly of the beast.
Ready? Set? Go!
  1. SFTP into your N900 as root
  2. Navigate to /usr/lib/hildon-desktop/
  3. You should see a file called touchsearch.py, open it in a non-Windows specific editor (basically, anything other than Notepad)
  4. Scroll down to line 369

You should see this:

Code:
      elif engine == "Google Maps":
         icon = gtk.gdk.pixbuf_new_from_file_at_size(d + "google_maps.png", 122, 40)
         #url = "http://maps.google.com/maps?hl=en&tab=wl&q=%s"
         url = "http://tomch.com/maemaps.html?from=%s&go=1"
Remove the pound sign in front of the:
Code:
#url = "http://maps.google.com/maps?hl=en&tab=wl&q=%s"
line, and place it in front of the other url = line.

It should look like this:

Code:
      elif engine == "Google Maps":
         icon = gtk.gdk.pixbuf_new_from_file_at_size(d + "google_maps.png", 122, 40)
         url = "http://maps.google.com/maps?hl=en&tab=wl&q=%s"
         #url = "http://tomch.com/maemaps.html?from=%s&go=1"
Save the file.

Reboot.

Viola!

(if you reboot and TouchSearch doesn't work, you can uninstall/reinstall and try again -- but I'm sure that won't happen )
__________________
-Brent

Author of TouchSearch -- web searching software for Maemo 5.

Mobile Device lineage: Palm Z22 -> Palm TX -> Nokia N800 -> Nokia N900

Last edited by BrentDC; 2009-12-28 at 17:23.
 

The Following 2 Users Say Thank You to BrentDC For This Useful Post: