FirefoxTipsAndTricks
4352
Comment:
|
6989
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
This is the place where we collect neat tweaks and customizations for the Firefox browser. | Here you can find a collection of neat tweaks and customizations for the Firefox browser. |
Line 5: | Line 5: |
== Restore the original Firefox icon == Based on the [http://www.ubuntuforums.org/showthread.php?t=30133 forum thread]. To me, Firefox looks kinda weird without its unique icon. The logo itself is incredible, it's eye-catching, colourful and sexy :P For more information on the logo, click [http://www.actsofvolition.com/archives/2004/february/brandingmozilla here] and [http://www.spreadfirefox.com/?q=node/view/3064 here] and [http://www.hicksdesign.co.uk/journal/377/branding_firefox%22 here]. Open up a terminal and type the following commands. This will use dpkg mechanisms to ensure that future updates don't overwrite your beautiful icons :-) {{{ wget -O mozilla-firefox.png http://img105.echo.cx/img105/1515/firefoxrgb2oa.png sudo dpkg-divert --divert /usr/lib/firefox/chrome/icons/default/default.xpm.old --rename /usr/lib/firefox/chrome/icons/default/default.xpm sudo dpkg-divert --divert /usr/lib/firefox/icons/default.xpm.old --rename /usr/lib/firefox/icons/default.xpm sudo dpkg-divert --divert /usr/share/pixmaps/mozilla-firefox.xpm.old --rename /usr/share/pixmaps/mozilla-firefox.xpm sudo dpkg-divert --divert /usr/share/pixmaps/mozilla-firefox.png.old --rename /usr/share/pixmaps/mozilla-firefox.png sudo dpkg-divert --divert /usr/share/pixmaps/firefox.png.old --rename /usr/share/pixmaps/firefox.png sudo cp mozilla-firefox.png /usr/share/pixmaps/firefox.png sudo cp mozilla-firefox.png /usr/share/pixmaps/mozilla-firefox.png sudo cp mozilla-firefox.png /usr/share/pixmaps/mozilla-firefox.xpm sudo cp mozilla-firefox.png /usr/lib/firefox/icons/default.xpm sudo cp mozilla-firefox.png /usr/lib/firefox/chrome/icons/default/default.xpm killall gnome-panel }}} Behold, the Firefox icons are back with avengence! |
|
Line 7: | Line 32: |
There are hundreds of tweaks of how to speed up your web surfning in Firefox. However, many depend on the speed of your computer or your bandwidth, and may slow down your browsing experience if yoru computer or bandwidth is too slow or fast. The ones listed here are independent of such performance. | Running Firefox 1.5.0.1 on Dapper? To improve its rendering speed add this line to /etc/environment {{{ MOZ_DISABLE_PANGO=1 }}} and then logout and login again. There are hundreds of tweaks of how to speed up your web surfing in Firefox. However, many depend on the speed of your computer or your bandwidth, and may slow down your browsing experience if your computer or bandwidth is too slow or fast. The ones listed here are independent of such performance. |
Line 18: | Line 49: |
Installing the [http://fasterfox.mozdev.org/ "Fasterfox" Extension] can make most of these changes from a GUI. |
|
Line 22: | Line 55: |
Instead of navigating to google or wikipedia or other search engines before doing your search, you can do this directly from the location bar. In this example, I will use google. This is how it goes: | Instead of navigating to Google or Wikipedia or other search engines before doing your search, you can do this directly from the location bar. |
Line 24: | Line 57: |
1. Go to the site you want to quicksearch. Search for something that will be easy to spot in the url, say "IIIIIIIII". Now, in the location bar, you will have an url looking something like this: {{{ http://www.google.se/search?hl=sv&q=IIIIIIIIIII&btnG=Google-s%C3%B6kning&meta= }}} 2 Replace your search term (IIIIIIII) with %s, and copy the url to the clipboard. |
To set this up simply right-click on the textbox on the webpage where you'd normally enter your search and choose 'Add a Keyword for this Search'. This creates a special bookmark. It doesn't really matter what name you give it or where you save it, but give it a memorable keyword; for example for searching Google 'g' is a good keyword. |
Line 30: | Line 59: |
3. Create a bookmark: Bookmarks->Manage Bookmarks->Right click wherever you want to save it (The quicksearch folder seems appropriate, doesnt it?), and select "New Bookmark". | Now in the location bar type "g Pat Metheny Group" and Firefox will do a Google search for Pat Metheny Group. |
Line 32: | Line 61: |
4. In the form that pops up, type a descriptive name in the "Name:" field. Paste your url in the "Location:" field. In the "Keyword:" field, type a prefix you want to use in the location bar when searching ("g" for example). Now, in the location bar, type "g Pat Metheny Group" and firefox will do a google search for Pat Metheny Group. === Examples: === |
'''Examples:''' |
Line 60: | Line 85: |
Line 67: | Line 91: |
== The adblock plugin == | == The adblock extension == |
Line 73: | Line 98: |
Line 75: | Line 101: |
1) In gaim, click Tools->Preferences->Plugins & click the check box next to "Remote Control" (You may need to restart gaim) | 1. In gaim, click Tools->Preferences->Plugins & click the check box next to "Remote Control" (You may need to restart gaim) |
Line 77: | Line 103: |
2) In Firefox, type about:config in the location bar. Then right click in the list, and select New->String. In the box that pops up, type | 2. In Firefox, type about:config in the location bar. Then right click in the list, and select New->String. In the box that pops up, type |
Line 83: | Line 109: |
3) In the second box that pops up, type: | 1.#3 In the second box that pops up, type: |
Line 89: | Line 115: |
---- CategoryDocumentation |
== Better looking form widgets == The default form widgets in Firefox don't look too good in the Linux version. Here is how to make them look a bit neater. '''Note:''' Before doing this, you might want to check the [http://ubuntuforums.org/showthread.php?t=44110&page=1&pp=10 thread] on this tweak. 1. First of all, back up the directory we are doing to replace. Open a terminal (Applications > System Tools > Terminal).) and type {{{ sudo cp -Rf /usr/lib/mozilla-firefox/res /usr/lib/mozilla-firefox/res-backup }}} 2. Download [http://ubuntuforums.org/attachment.php?attachmentid=1455 this] file to your home directory. 3. Extract the file in the correct directory: {{{ cd /usr/lib/mozilla-firefox sudo tar -xvzf ~/firefox-form-widgets-fixed.tar.gz }}} 4. Optional: Delete the tar archive: {{{ rm ~/firefox-form-widgets-fixed.tar.gz }}} 5. Restart Firefox. If it doesn't work, or you are unsatisfied with the result, revert to the old forms by doing: {{{ sudo rm -rf /usr/lib/mozilla-firefox/res sudo mv /usr/lib/mozilla-firefox/res-backup /usr/lib/mozilla-firefox/res }}} |
Here you can find a collection of neat tweaks and customizations for the Firefox browser.
Restore the original Firefox icon
Based on the [http://www.ubuntuforums.org/showthread.php?t=30133 forum thread].
To me, Firefox looks kinda weird without its unique icon. The logo itself is incredible, it's eye-catching, colourful and sexy :P For more information on the logo, click [http://www.actsofvolition.com/archives/2004/february/brandingmozilla here] and [http://www.spreadfirefox.com/?q=node/view/3064 here] and [http://www.hicksdesign.co.uk/journal/377/branding_firefox%22 here].
Open up a terminal and type the following commands. This will use dpkg mechanisms to ensure that future updates don't overwrite your beautiful icons
wget -O mozilla-firefox.png http://img105.echo.cx/img105/1515/firefoxrgb2oa.png sudo dpkg-divert --divert /usr/lib/firefox/chrome/icons/default/default.xpm.old --rename /usr/lib/firefox/chrome/icons/default/default.xpm sudo dpkg-divert --divert /usr/lib/firefox/icons/default.xpm.old --rename /usr/lib/firefox/icons/default.xpm sudo dpkg-divert --divert /usr/share/pixmaps/mozilla-firefox.xpm.old --rename /usr/share/pixmaps/mozilla-firefox.xpm sudo dpkg-divert --divert /usr/share/pixmaps/mozilla-firefox.png.old --rename /usr/share/pixmaps/mozilla-firefox.png sudo dpkg-divert --divert /usr/share/pixmaps/firefox.png.old --rename /usr/share/pixmaps/firefox.png sudo cp mozilla-firefox.png /usr/share/pixmaps/firefox.png sudo cp mozilla-firefox.png /usr/share/pixmaps/mozilla-firefox.png sudo cp mozilla-firefox.png /usr/share/pixmaps/mozilla-firefox.xpm sudo cp mozilla-firefox.png /usr/lib/firefox/icons/default.xpm sudo cp mozilla-firefox.png /usr/lib/firefox/chrome/icons/default/default.xpm killall gnome-panel
Behold, the Firefox icons are back with avengence!
Speed up Firefox
Running Firefox 1.5.0.1 on Dapper? To improve its rendering speed add this line to /etc/environment
MOZ_DISABLE_PANGO=1
and then logout and login again.
There are hundreds of tweaks of how to speed up your web surfing in Firefox. However, many depend on the speed of your computer or your bandwidth, and may slow down your browsing experience if your computer or bandwidth is too slow or fast. The ones listed here are independent of such performance.
Type "about:config" in the address bar, and use the filter to search and change the following values:
- "network.dns.disableIPv6": set "false".
- "network.http.pipelining": set "true".
- "network.http.proxy.pipelining": set "true".
- "network.http.pipelining.maxrequests": set "8".
- "content.notify.backoffcount": set "5".
- "plugin.expose_full_path": set "true".
- "ui.submenuDelay": set "0" (zero).
Installing the [http://fasterfox.mozdev.org/ "Fasterfox" Extension] can make most of these changes from a GUI.
For extensive tweaking, refer to [http://www.tweakfactor.com/articles/tweaks/firefoxtweak/1.html the Firefox Tweak Guide].
The QuickSearch function
Instead of navigating to Google or Wikipedia or other search engines before doing your search, you can do this directly from the location bar.
To set this up simply right-click on the textbox on the webpage where you'd normally enter your search and choose 'Add a Keyword for this Search'. This creates a special bookmark. It doesn't really matter what name you give it or where you save it, but give it a memorable keyword; for example for searching Google 'g' is a good keyword.
Now in the location bar type "g Pat Metheny Group" and Firefox will do a Google search for Pat Metheny Group.
Examples:
Google:
Keyword proposal: g
Location: http://www.google.com/search?hl=en&q=%s&btnG=Google+Search
Google image search:
Keyword proposal: img
Location: http://images.google.com/images?svnum=10&hl=en&lr=&q=%s&btnG=Search
Wikipedia:
Keyword: wiki
Location http://en.wikipedia.org/wiki/Special:Search?search=%s&go=Go
Please also note that typing one or many words in the location bar, that dont match any of your keywords will do a google "I feel lucky" search for the word(s) you typed.
External player for web embedded media
A lot of people have been getting trouble trying to make a firefox plugin for embedded media to work. Install [https://addons.mozilla.org/extensions/moreinfo.php?id=446 this] extension, configure it to use your favorite media player and start watching those trailers!
Refer to [http://ubuntuforums.org/showthread.php?t=33107 this] thread for troubleshooting.
The adblock extension
Tired of ads, but don't have the time/knowledge to configure your [https://addons.mozilla.org/extensions/moreinfo.php?id=10 adblock extension] to block all those flashing animations? Now there is an extension that [https://addons.mozilla.org/extensions/moreinfo.php?id=1136 automatically updates your adblock filter].
Ever wanted to download an embedded movie or flash animation, but couldnt find the address in the source code? There is an easier way. Now, whenever there is embedded media, there will be a small "Adblock" tab pointing out from it. Click it, copy the address, click cancel, paste it wherever you want. Done!
Clicking an aim link opens a gaim conversation window
In gaim, click Tools->Preferences->Plugins & click the check box next to "Remote Control" (You may need to restart gaim)
In Firefox, type about:config in the location bar. Then right click in the list, and select New->String. In the box that pops up, type
network.protocol-handler.app.aim
and click OK.
- In the second box that pops up, type:
gaim-remote uri %r
Refer to [http://ubuntuforums.org/showthread.php?t=28620 this] thread in the Ubuntu forums.
Better looking form widgets
The default form widgets in Firefox don't look too good in the Linux version. Here is how to make them look a bit neater.
Note: Before doing this, you might want to check the [http://ubuntuforums.org/showthread.php?t=44110&page=1&pp=10 thread] on this tweak.
First of all, back up the directory we are doing to replace. Open a terminal (Applications > System Tools > Terminal).) and type
sudo cp -Rf /usr/lib/mozilla-firefox/res /usr/lib/mozilla-firefox/res-backup
Download [http://ubuntuforums.org/attachment.php?attachmentid=1455 this] file to your home directory.
- Extract the file in the correct directory:
cd /usr/lib/mozilla-firefox sudo tar -xvzf ~/firefox-form-widgets-fixed.tar.gz
- Optional: Delete the tar archive:
rm ~/firefox-form-widgets-fixed.tar.gz
- Restart Firefox.
If it doesn't work, or you are unsatisfied with the result, revert to the old forms by doing:
sudo rm -rf /usr/lib/mozilla-firefox/res sudo mv /usr/lib/mozilla-firefox/res-backup /usr/lib/mozilla-firefox/res
FirefoxTipsAndTricks (last edited 2008-08-06 16:30:28 by localhost)