Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old June 21st, 2009   #1
lovinglinux
Ubuntu addict and loving it
 
lovinglinux's Avatar
 
Join Date: Aug 2008
Location: Caprica City
Beans: 4,892
Ubuntu 9.10 Karmic Koala
Firefox optimization and troubleshooting thread

The objective of this tutorial is to provide a simple, but comprehensive, list of optimizations for Firefox and help with troubleshooting common issues.

The tutorial is currently hosted on my web site, but you can find the table of content below, which links to each corresponding section. For questions and support is preferable that you post on this thread, but you can also post comments on the site. I monitor both on a daily basis.

The tutorial can be viewed on-line using the Table of Content below, or you can be downloaded to view off-line. It is saved using MHTML (MAFF and MHT) archiving formats, which can be opened by your web browser.

DOWNLOAD


Table of Content

BenchmarksProfiles
Backups
Database Optimization
Extensions Optimization
Speed OptimizationFlash OptimizationRunning Profiles From RAM
Installing Other VersionsTroubleshootingCompiling Firefox

Last edited by lovinglinux; 1 Week Ago at 05:45 AM.. Reason: table of contents linking to hosted tutorial
lovinglinux is offline   Reply With Quote
Old June 22nd, 2009   #2
xzero1
Quad Shot of Ubuntu
 
Join Date: May 2007
Beans: 435
Re: Firefox optimization and troubleshooting thread

Great thread! When I first started testing firefox 3.5 using an alpha version of Jaunty (3 maybe 2) it seemed much faster. It seems something happened to Jaunty that slowed it down. I did not add or change firefox. Did anyone else get the same impression?
xzero1 is offline   Reply With Quote
Old June 25th, 2009   #3
v1nsai
Way Too Much Ubuntu
 
Join Date: Dec 2008
Beans: 249
Ubuntu 9.10 Karmic Koala
Re: Firefox optimization and troubleshooting thread

I've been having an issue with firefox reverting to backed up bookmarks on close, I wasn't able to find a profiles folder (I assume all this is in .mozilla right?), but I did find many files labled as such: places.sqlite-#.corrupt, and there were 83 of them numbered 1-83 in the folder .mozilla/firefox/kmhbvuwv.default . I also saw a filed called profiles.ini sitting in .mozilla/firefox but other than that no profiles folder.

I deleted all the .corrupt places.sqlite files that I found, but all that happened was the icons next to all my bookmarks were lost, and still reverted back to the backup
v1nsai is offline   Reply With Quote
Old June 25th, 2009   #4
lovinglinux
Ubuntu addict and loving it
 
lovinglinux's Avatar
 
Join Date: Aug 2008
Location: Caprica City
Beans: 4,892
Ubuntu 9.10 Karmic Koala
Re: Firefox optimization and troubleshooting thread

Quote:
Originally Posted by v1nsai View Post
I've been having an issue with firefox reverting to backed up bookmarks on close, I wasn't able to find a profiles folder (I assume all this is in .mozilla right?), but I did find many files labled as such: places.sqlite-#.corrupt, and there were 83 of them numbered 1-83 in the folder .mozilla/firefox/kmhbvuwv.default . I also saw a filed called profiles.ini sitting in .mozilla/firefox but other than that no profiles folder.

I deleted all the .corrupt places.sqlite files that I found, but all that happened was the icons next to all my bookmarks were lost, and still reverted back to the backup
The profile folder is .mozilla/firefox/kmhbvuwv.default

Delete all places.sqlite-#.corrupt just in case, but the one that is important is the places.sqlite without #.corrupt in the name. Just delete it and start Firefox again. It should fix the problem.

The file profiles.ini has nothing to do with your problem. It is the file that lists all profiles you have, but I think you have just one. Anyway, don't delete it.
lovinglinux is offline   Reply With Quote
Old June 25th, 2009   #5
v1nsai
Way Too Much Ubuntu
 
Join Date: Dec 2008
Beans: 249
Ubuntu 9.10 Karmic Koala
Re: Firefox optimization and troubleshooting thread

Ah, I see. Anyway, I deleted places.sqlite about 3 times now, created a new bookmark, then closed and reopened and my bookmark has yet to make it through the restart. I've noticed that my history disappears every time I delete it, but my bookmarks still revert. Would deleting the cached .json file that I restored from do anything?
v1nsai is offline   Reply With Quote
Old June 25th, 2009   #6
v1nsai
Way Too Much Ubuntu
 
Join Date: Dec 2008
Beans: 249
Ubuntu 9.10 Karmic Koala
Re: Firefox optimization and troubleshooting thread

I think I solved it, I mv'ed my .mozilla folder to .mozillabak and then restored my bookmarks from the recent backup and then added a few new ones. Everything has persisted, even through a full system startup.

Weird...but solved. What does places.sqlite do?
v1nsai is offline   Reply With Quote
Old June 26th, 2009   #7
lovinglinux
Ubuntu addict and loving it
 
lovinglinux's Avatar
 
Join Date: Aug 2008
Location: Caprica City
Beans: 4,892
Ubuntu 9.10 Karmic Koala
Re: Firefox optimization and troubleshooting thread

Quote:
Originally Posted by v1nsai View Post
I think I solved it, I mv'ed my .mozilla folder to .mozillabak and then restored my bookmarks from the recent backup and then added a few new ones. Everything has persisted, even through a full system startup.

Weird...but solved. What does places.sqlite do?
Just for the record, you could have moved/renamed/deleted only the firefox folder inside .mozilla and the effect would be the same. All Mozilla applications, like Thunderbird or Sunbird, stores their profiles inside .mozilla, so deleting/moving the entire .mozilla folder is not recommended/needed, because it would reset all Mozilla program settings, not only Firefox.

The places.sqlite file is a database where bookmarks and browsing history are stored.
lovinglinux is offline   Reply With Quote
Old June 26th, 2009   #8
mattsimis
First Cup of Ubuntu
 
Join Date: Aug 2008
Beans: 11
Re: Firefox optimization and troubleshooting thread

For the "Font too small.." problem (issue on big Plasmas and projectors typically), I recommend the "NoSquint" addon, with it set to apply a 20% increase on all pages (NoSquint's default mode is to remember specific pages).
http://urandom.ca/nosquint/

This is better than changing the font size as it scales the whole page (images too), making it less likely to have overlapping or truncated text.



Now, if anyone could advise how to get Backspace working as a "Back" button like on other platform FF builds, I would be happy.
mattsimis is offline   Reply With Quote
Old July 1st, 2009   #9
kevdog
I Want My $2!!
 
kevdog's Avatar
 
Join Date: Mar 2007
Location: Denver, CO
Beans: 7,077
Ubuntu 8.10 Intrepid Ibex
Re: Firefox optimization and troubleshooting thread

I haven't tried really anything in this thread yet, however just wanted to thank your for the time that went into preparing the advice in the guide. Very informative and a job well done!
kevdog is offline   Reply With Quote
Old July 1st, 2009   #10
kromagg
First Cup of Ubuntu
 
Join Date: Jun 2007
Beans: 2
Re: Firefox optimization and troubleshooting thread

The "general system optimization" tips section in there is completely superfluous. It also happens to be full of misinformation, I'd just remove it or splice it out to another thread if I were you.
kromagg is offline   Reply With Quote

Bookmarks

Tags
firefox optimization

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:25 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry