Menu

Ubuntuzilla_Shell_Scripts

nanotube

About this page

This page has instructions for using the older versions of the Ubuntuzilla scripts (v. 3.2.0), before they were melded into one script and ported to python. They are here just for archival purposes, since there is no reason one would want to use these rather than the latest python script. But, just in case, here they are.

For instructions on the latest version of the script (which is what you should be using unless you have a really good reason to do otherwise), see the [Main_Page].

Script Features

  • Automatically detects and downloads the newest Firefox, Thunderbird, Seamonkey release from the Mozilla servers
  • Allows you to make a choice of language for Firefox or Thunderbird
  • Verifies the GPG signature (assures package integrity against malicious tampering or corrupt download) for Firefox or Thunderbird
  • Verifies the MD5 sum for Seamonkey
  • Makes a date-stamped back-up of your Firefox, Thunderbird, Seamonkey profile data
  • Automatically integrates Firefox plugins that you have installed from the Ubuntu repositories
  • Installs the new Firefox in /opt/firefox, Thunderbird in /opt/thunderbird, Seamonkey in /opt/seamonkey
  • Creates a Seamonkey menu item in Applications -> Internet menu
  • Checks all steps for successful execution
  • Also has '-remove' switch to remove the official Mozilla build and restore system to pre-installation state.

Install Official Mozilla Build of Firefox

The Ubuntuzilla Firefox script will automatically download and install the newest Firefox for you. It is also able to undo what it has done, and uninstall the Mozilla build of Firefox.

Here are the steps to use this script to install the Mozilla build of Firefox:

  • Download installnewfirefox.sh, and save it as installnewfirefox.sh to your desktop
  • Open a terminal
  • Enter this command to run the script (copy and paste this exactly to avoid typos):

    bash ~/Desktop/installnewfirefox.sh -install

And, if no errors occur, your new Firefox is ready for use!

To remove the Mozilla build of Firefox, these are the necessary steps:

  • Download installnewfirefox.sh, and save it as installnewfirefox.sh to your desktop (unless you already have it from before)
  • Open a terminal
  • Enter this command to run the script (copy and paste this exactly to avoid typos):

    bash ~/Desktop/installnewfirefox.sh -remove

As an alternative to using the script, instructions for manually installing the official Mozilla build of Firefox are available on this page of the Ubuntu wiki.

Customizing your Firefox install

  • If middle-click on tab to close it does not work, you can enable it by pointing Firefox to "about:config" and set middlemouse.contentLoadURL to false. Voila, middle-click to close works again.
  • To enable the autoscroll (where you middle-click and a little arrow-graphic appears and you can scroll just by moving the mouse), go to "about:config" and set general.autoScroll to true.
  • To automatically select the entire contents of the URL bar when you click there, open "about:config" and set browser.urlbar.clickSelectsAll to true. I find this a helpful usability improvement.

Update Official Mozilla Build of Firefox

If you already have the official build installed (e.g., by following the instructions above at some point before), you don't have to go through using the instructions in the previous section. You can use the built-in "Updates" functionality of Firefox.

In order for Firefox to update itself, it will have to be run as root. So quit all Firefox windows, and in a terminal, type:

gksudo firefox &

This will start Firefox as root. Select Help > Check for Updates from the menu, and it will find an update and download it. You will then get a message that says Firefox needs to be restarted to apply the update, and you can choose Later or Restart Firefox Now. Choose Restart Firefox Now. Firefox will restart again as root and tell you it's been updated. Now, you can close Firefox again, and then start it as normal from the menu, not as root. And you should be all good to go!

Install Official Mozilla Build of Thunderbird

The Ubuntuzilla Thunderbird script will automatically download and install the newest Thunderbird for you. It is also able to undo what it has done, and uninstall the Mozilla build of Thunderbird.

Here are the steps to use this script to install the Mozilla build of Thunderbird:

  • Download installnewthunderbird.sh, and save it as installnewthunderbird.sh to your desktop
  • Open a terminal
  • Enter this command to run the script (copy and paste this exactly to avoid typos):

    bash ~/Desktop/installnewthunderbird.sh -install

And, if no errors occur, your new Thunderbird is ready for use!

To remove the Mozilla build of Thunderbird, these are the necessary steps:

  • Download installnewthunderbird.sh, and save it as installnewthunderbird.sh to your desktop (unless you already have it from before)
  • Open a terminal
  • Enter this command to run the script (copy and paste this exactly to avoid typos):

    bash ~/Desktop/installnewthunderbird.sh -remove

As an alternative to using the script, instructions for manually installing the official Mozilla build of Thunderbird are available on this page of the Ubuntu wiki.

Update Official Mozilla Build of Thunderbird

If you already have the official build installed (e.g., by following the instructions above at some point before), you don't have to go through using the instructions in the previous section. You can use the built-in "Updates" functionality of Thunderbird.

In order for Thunderbird to update itself, it will have to be run as root. So quit Thunderbird, and in a terminal, type:

gksudo thunderbird &

This will start Thunderbird as root. Select Help > Check for Updates from the menu, and it will find an update and download it. You will then get a message that says Thunderbird needs to be restarted to apply the update, and you can choose Later or Restart Thunderbird Now. Choose Restart Thunderbird Now. Thunderbird will restart again as root and tell you it's been updated. Now, you can close Thunderbird again, and then start it as normal from the menu, not as root. And you should be all good to go!

Install Official Mozilla Build of Seamonkey

The Ubuntuzilla Seamonkey script will automatically download and install the newest Seamonkey for you. It is also able to undo what it has done, and uninstall Seamonkey.

Here are the steps to use this script to install the Mozilla build of Seamonkey:

  • Download installseamonkey.sh, and save it as installseamonkey.sh to your desktop
  • Open a terminal
  • Enter this command to run the script (copy and paste this exactly to avoid typos):

    bash ~/Desktop/installseamonkey.sh -install

And, if no errors occur, your new Seamonkey is ready for use!

To remove the Mozilla build of Seamonkey, these are the necessary steps:

  • Download installseamonkey.sh, and save it as installseamonkey.sh to your desktop (unless you already have it from before)
  • Open a terminal
  • Enter this command to run the script (copy and paste this exactly to avoid typos):

    bash ~/Desktop/installseamonkey.sh -remove

As an alternative to using the script, instructions for manually installing the official Mozilla build of Seamonkey are available on this page of the Ubuntu wiki.

Help section

[Thunderbird, Firefox] What to do if the localizations list is empty

This may be due to an intermittent network problem, or to automatic mirror selection at ftp.mozilla.org. Please try the following steps, in order:

  • Run the script again, and see if the localizations list shows up this time
  • If the previous step doesn't do it:

    • run the script again, this time with an extra '-d' option, to get some extra debug output:

    bash ~/Desktop/installnewfirefox.sh -install -d

    or

    bash ~/Desktop/installnewthunderbird.sh -install -d

    • copy all output (starting from your initial command, to the point where it fails to show a localization list)
    • post a help request message on our forums with the complete output pasted in.

Related

Wiki: Main_Page
Wiki: Ubuntuzilla_Non_Deb

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.