Allow Firefox3 and Firefox2 browsers to coexist in Linux
Source: Internet
Author: User
Article Title: Allow Firefox3 and Firefox2 browsers to coexist in Linux. Linux is a technology channel of the IT lab in China. Some basic categories including desktop applications, Linux system management, kernel research, embedded systems, and open-source software, Mozilla recently released Firefox 3 beta 2. This news has aroused many Firefox browser enthusiasts. Many of my friends want to try the new Firefox version. Generally, the original Firefox2 on the machine needs to be uninstalled. The beta version of Firefox is not the official version, and there are bugs. If this is not just my firefox3, I will tell her over. For this reason, many Firefox fans do not want to unload Firefox2 from the machine. However, if firefox2 is not removed because of the Configuration File Settings, when firefox3 is started, the configuration file of Firefox2 will be automatically converted for the new browser to use and check its extension and softness. If you disable Firefox3 and open firefox2, firefox2 creates a new configuration file and checks the extended compatibility. The original configuration file used by the user was changed to a mess because the brokers split each other. If you have not backed up the configuration file in advance, you have to cry. Are Firefox3 and firefox2 siblings incompatible? The answer is no. Please let me explain it in detail. Now we need to achieve two goals:
Firefox3 and Firefox2
Firefox3 and Firefox3 each blow their respective numbers and draw different calls
Can you please move the two brothers to our home:
Ubuntu 7.10 operating system, which is enough for them
The original Firfox2 comes with Ubuntu. Of course, it's okay if you try Firefox2.
Adobe Flash Player Plug-in. Don't tell me you don't have this plug-in yet. If you don't want to go to Adobe, please download a Flash Player for linux.
Totem Movie Player Plug-in. I think everyone has it. You don't need Totem. Use Mplayer. Sorry, you need to go to the Mplayer plug-in. This article only uses Totem as an example.
The Flashbock extension and Mozilla Firefox "Acceleration" extension. The more pages of the new version of Adobe Flash Player and Firefox, the higher the user's CPU usage. I can't stand it, buddy. "Adobe Flash Player, do not quarrel. Do you not hear it? Shut up !" Offering the "artifact" Flashbock, Adobe Flash Player is quiet.
Next, let's get started!
Step 1. Back up the Firefox2 configuration file elsewhere
Open the Nautilus File Manager and press the Cirl + H key to hide the file. Find and enter. Mozilla folder. Copy the firefox folder to a safe place.
Step 2. Install Firefox3
Decompress the downloaded Firefox for Linux package from the archive manager to the home directory for backup.
Open the terminal and enter the command
Sudo cp-r firefox/usr/local/lib
Sudo chown-R [user name]: [user group name]/usr/local/lib/firefox
Note that this user name is the user name used for Logon. the user group name is the name of the user group in which the user is located. It is generally the same as the user name. Of course, I don't need to remind anyone who is familiar with the linux User management mechanism, but I have to bother cainiao. For example, the user name you use when logging on to is roc, write the following command:
Sudo chown-R roc: roc/usr/local/lib/firefox
Next, specify the folder permissions and enter the command
Sudo chmod-R 755/usr/local/lib/firefox
Step 3: manually create a new configuration file for Firefox3
Switch the directory to/usr/local/lib/firefox for easy operations. Enter the following command:
Cd/usr/local/lib/firefox
Run Firefox3 on the terminal and enter the following command:
. /Firefox-ProfileManager
The following window appears.
Click Create configuration file to create a new configuration file. I created a configuration file named ff3. Select ff3 to start Firefox. In this way, firefox3 is started with the new configuration file. Do not start the original Firefox2.firefox3. You can use firefox3 for a while. We recommend that you turn it off after it is started. We don't have that much time to make you feel comfortable and work is not finished yet.
Step 4: mediate sibling disputes
Click "Application-> Internet" in the menu, right-click "Firefox Web Browser", and click "add starter to desktop" in the menu, click "add starter to panel ". In this way, the Gnome version and the desktop have Firefox starters. Of course, the current starters are all Firefox2. To prevent the two brothers from fighting, both the starters must be modified as shown in.
The firefox2 starter command bar is changed
Firefox-P default-no-remote % u
The firefox3 starter command bar is changed
/Usr/local/lib/firefox-P ff3-no-remote
Here I want to remind you not to copy it. The above command has an ff3, which is the configuration file name I created. If your configuration file name is not named ff3, make sure to change it to your configuration file name.
So far, the first problem is solved. The two brothers can coexist or run together.
The second problem is solved below. The two Firefox versions are different. In fact, the first problem has been solved, and the second problem has been basically solved. However, the newly installed Firefox3 does not have the original Firefox2 martial arts. You need to learn it. Close all Firefox browsers
Step 5 install the Flash plug-in for Firfox3
Automatic installation? Sorry, since adobe updated the Flash plug-in, Firefox cannot update the plug-in. Only manual installation is supported. Open Nautilus to/usr/lib/flashplugin-nonfree and copy the unique so file to/usr/local/lib/firefox/plugins.
Step 6: restrict the martial arts of Flash plug-ins (optional)
Download the flashblock plug-in installation from the Mozilla website.
Step 7: add the totem plug-in to implement the streaming media function for some webpages.
Or Nautilus, to/usr/lib/totem/search totem plug-in, the so files under the folder are all copied to the/usr/local/lib/firefox/plungins, that is, the firefox3 plug-in directory.
Of course, there is also a way to create a symbolic link without copying files. Open the terminal, switch it to the plug-in directory of firefox2, ls-l it, and then switch it to the plug-in directory of firefox3 to create a symbolic link in the form of the following command line:
Ln-s/usr/lib/totem/libtotem-basic-plugin.xpt
Well, I have written so many words at once. If you follow the step-by-step operations I have mentioned, I think everyone's desire to have both firefox3 and firefox3 will be fulfilled immediately. I will try firefox3.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service