Get Firefox!

Home Free Software Faq Blog Microblog GNU/Linux Faq Free Media Faq's NRI Faq Immigration Faq Notes Donations About me..

Sat, 02 Nov 2013

gpsd as a gelocation provider for Firefox

As you know with Firefox 3.5 geolocation is in-build into the browser. I was looking out for ways to integrate my gps with Firefox or for that matter any websites.
Let me give a brief use case of Geolcation .So if you are in a city while driving and you are looking for the nearest hotel of your favorite cuisine.So till now you would have to type in your location etc.But with geolocation , if you allow Firefox to give your location to a website you can get context sensistive searches.You can read more about geolocation in a browser @ http://www.mozilla.com/en-US/firefox/geolocation/

Now coming back to the original post that you want to use your own gps , to provide your location to firefox then recently someone has checked in a fix for it in firefox.So I anticipate for it to show up in 3.6.I will try out the nightly builds as Im extremely excited about this fix.
Update : Instructions to test gpsd on GNU/Linux with Mozilla Firefox
There is very little documentation on the topic of using GPSD with Mozilla as location provider.
After a few searches I came across this very little documentation buried in a bug on Bugzilla
So to test gpsd on GNU/Linux please make sure that your GPS connectivity is correctly established between your computer and your GPS device.
In my case I used a free open source application called Blue NMEA on my android phone and used Bluetooth to connect to it.
In my case the serial port bound to bluetooth was /dev/rfcomm0, so I did a simple cat on it using root.You can run any other command based on your GPS device to ensure the GPS is working fine with your computer.
# cat /dev/rfcomm0
Ensured that the GPS was running fine by seeing all the NMEA sentences.
Next step is to ensure that GPSd is working fine with your device.
Once gpsd daemon is working fine then we will proceed to make configuration changes in Mozilla Firefox as stated by Doug Turner in the bug 492328
I have modified a dead URL in the instructions and here are the revised instructions
1) Navigate to 'about:config'
2) Create a new string preference, name 'geo.gpsd.host.ipaddr' value '123.123.123.123'
3) Create a new boolean value, name 'geo.gpsd.logging.enabled' value 'true'
4) Open the error console, select 'messages'
5) Navigate to Live Example On Mozilla Developer Network
6) Scroll to the section of Live Result and Click on the button "Show My Location" and when Firefox prompts , Press Share My Location
7) Verify that there are messages in the error console starting with '*** GPSD GEO: Got info: ...'

posted at: 01:17 | category: /firefox | permanent link to this entry | Donate via Bitcoin

Sat, 02 May 2009

Firefox uses 100% CPU when connecting to Microsoft Office live meeting

2007/2005 If you are using Microsoft Office live meeting  especially on Ubuntu/Debian or Red Hat Linux , you will see that Firefox , will utilize 100% CPU and will become unresponsive and  you will need to kill the process and not be able to join the livemeeting.
The way to solve this is to disable the adblock plugin and restart firefox and re-login back into live meeting and then it will be able to run the java client and you will be able to join live meeting.
After a lot of searching on the web , you can read more about it @ http://support.microsoft.com/kb/947596

posted at: 16:32 | category: /firefox | permanent link to this entry | Donate via Bitcoin

Sat, 25 Apr 2009

Firefox Tweaks

Over a period of time i have collected some tweaks which really speed up firefox.
Here are the tweaks.If you want to just copy paste in your prefs.js you can scroll to the bottom of this post and copy paste it.
Various config options with description

user_pref("browser.cache.disk_cache_ssl", true);//Enable Disk cache for SSL.Be careful if you are on a public computer don't use.
user_pref("browser.chrome.favicons", false);//Disable Favicons.They are fancy initially but unnecessarily increases requests on the server
user_pref("browser.chrome.site_icons", false);//Disable Favicons.They are fancy initially but unnecessarily increases requests on the server
user_pref("network.dns.disableIPv6", true);//If you don't use firefox on a ipv6 network disable it as it will increase your browsing speed as it will not wait for Ipv6 dns requests.
user_pref("network.dnsCacheEntries", 120);//Number of DNS entries to keep in memory.
user_pref("network.dnsCacheExpiration", 600);//Number of seconds DNS entries are cached.
user_pref("network.http.pipelining", true);//Enable pipelining
user_pref("network.http.pipelining.maxrequests", 8);//Max requests for pipelining
user_pref("network.http.pipelining.ssl", true);//enable pipelining for SSL that is HTTPS
user_pref("network.http.proxy.pipelining", true);//Enable pipelining for Proxy
user_pref("network.prefetch-next", false);//Disable fetching all links on a given page.This is useless and wastes precious internet bandwidth by downloading each and every link on any page you search

Code to copy paste in prefs.js in your profile directory.

user_pref("browser.backspace_action", 0);
user_pref("browser.cache.disk.capacity", 120000);
user_pref("browser.cache.disk_cache_ssl", true);
user_pref("browser.chrome.favicons", false);
user_pref("browser.chrome.site_icons", false);
user_pref("network.dns.disableIPv6", true);
user_pref("network.dnsCacheEntries", 120);
user_pref("network.dnsCacheExpiration", 600);
user_pref("network.http.pipelining", true);
user_pref("network.http.pipelining.maxrequests", 8);
user_pref("network.http.pipelining.ssl", true);
user_pref("network.http.proxy.pipelining", true);
user_pref("network.prefetch-next", false);

posted at: 16:21 | category: /firefox | permanent link to this entry | Donate via Bitcoin

Sat, 14 Feb 2009

Firefox 3.1 Beta 2 Review

I was impressed by the startup speed.Also the new version has tracemonkey a JIT for Javascript and it is quite fast.If you want to try it out and at the same time don't want to wipe up your existing firefox install you can run the latest version without installing it by downloading a portable version from http://portableapps.com/apps/internet/firefox_portable/test
Most of my extensions stopped working so had to use the Nightly Tester Tools 2.0.2 . With this extension you can make all your extensions compatible, though you might run into issues as these extensions have not been certified to work.Anyways you can always disable it if you run into issues.

If you have an extension called Prism for Firefox 0.2.1 from https://addons.mozilla.org/en-US/firefox/addon/6665 then you will need to disable it otherwise everytime you download something it will crash your firefox.
Till now all my extensions except the Prism extensions are working fine.

posted at: 21:50 | category: /firefox | permanent link to this entry | Donate via Bitcoin

Sun, 13 Jan 2008

Making RSS editor work with latest Firefox

RSS editor no longer seems to be main tained and when you try to install in a 2.x version of firefox it does not insta ll as it says version incompatible. You can still make this beautiful extension work by hacking it a little.Just use an unzipper like www.7-zip.org or your favourite program and edit the file inst all.rdf from the extension .xpi lilke rsseditor-0.0.9.1.xpi. Edit the section near the bottom which says like
<em:maxVersion>1.5.0.*&l t;/em:maxVersion>
for firefox , and change it to
<em:maxVersion>3.5.0 .*</em:maxVersion>
Now try installing the extension again and voila it will start working. Similarly you can make other extensions work by changing the install.rdf file.

posted at: 21:45 | category: /firefox | permanent link to this entry | Donate via Bitcoin