Official Iceweasel Icon, used in Debian Package

I use Debian for almost 5-6 years already. One of the things that always has me is, people from Debian team and are replaced with Firefox Iceweasel. The reason is quite an ideological – Since Debian's hold to have fully 100% free distribution and some components like fonts and other things are proprietary in Firefox using the fork-who is exempt from these things. Sometimes “Ice Weasels” acted weird, but I never had 100% clear evidence, that ignorant is a different browser. At least it was until yesterday. Yesterday I made a html5 test on my browser and found the uncomfortable fact, I'm doing 10-15 points less than the standard version. Extremely uncomfortable, now I checked the versions were the same 18.0.1. From now on things are clear, He will return to the standard version but wonder why important component do not work as expected and it is not mentioned. Generally quite irritated of fanatical ideologues who would prefer 100% Open a solution that even if it is not working as well as we have will be primarily. It's like losing the main performance of the GPU for use free Nvidia driver instead of the one who offers me the manufacturer – personally, I can not afford such loss of productivity. So let's get back to the migration from one browser to the other. As a whole is quite simple if you can count it in a few steps you will focus on the most important

  1. Download the correct version for your architecture matters if you use x86 or x64 versions for plugins like Flash and some others that are already installed on your system. If you are not sure what is the architecture you can check with uname-m command in kozolata.
wget ftp://ftp.mozilla.org/pub/firefox/releases/$VERSION/linux-$(uname -m)/en-US/firefox-18.0.1.tar.bz2 -O /tmp/firefox.tar.bz2
  1. Extract-a browser that you can do wherever you want/home or/opt where your shower bag I personally predpočtoh/opt
tar jxfv /tmp/firefox.tar.bz2 -C /opt/
  1. Add a link to the old executable file to the new location of the browser-
ln -s /opt/firefox/firefox /usr/bin/firefox
  1. Add a link to the plugin (s) to the new location so we can watch flash videos, etc.
ln -s /usr/lib/mozilla/plugins /opt/firefox/plugins
  1. Refresh-default a broser
update-alternatives --install  /usr/bin/x-www-browser x-www-browser /opt/firefox/firefox 100
  1. and add an entry for the new program in your system
echo '[Desktop Entry]
Name=Firefox
GenericName=Web Browser
Comment=Surf the internet
Exec=/opt/firefox/firefox %u
Terminal=false
Icon=/opt/firefox/icons/mozicon128.png
Type=Application
Categories=Application;Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;
StartupWMClass=Firefox-bin
StartupNotify=true' > /usr/share/applications/firefox.desktop

In General, these are the steps that you must follow. Because I am m″rzeli and I do everything by hand each time I made the following script.

#!/bin/bash

VERSION='18.0.1'

if [ $EUID -ne 0 ]
then
echo -en "�33[1;31mERROR: Must be a 'root'!!! nUse 'su' or 'sudo ./ff_install' 🙂 �33[0m n"
exit
fi

wget ftp://ftp.mozilla.org/pub/firefox/releases/$VERSION/linux-$(uname -m)/en-US/firefox-18.0.1.tar.bz2 -O /tmp/firefox.tar.bz2

tar jxfv /tmp/firefox.tar.bz2 -C /opt/
chown $1:$1 -R /opt/firefox
mv /usr/bin/firefox /usr/bin/firefox-iw
ln -s /opt/firefox/firefox /usr/bin/firefox
ln -s /usr/lib/mozilla/plugins /opt/firefox/plugins

update-alternatives --install  /usr/bin/x-www-browser x-www-browser /opt/firefox/firefox 100

echo '[Desktop Entry]
Name=Firefox
GenericName=Web Browser
Comment=Surf the internet
Exec=/opt/firefox/firefox %u
Terminal=false
Icon=/opt/firefox/icons/mozicon128.png
Type=Application
Categories=Application;Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;
StartupWMClass=Firefox-bin
StartupNotify=true' > /usr/share/applications/firefox.desktop

Important thing I missed is that the directory that contains the version of firefox-it should be on your current users can upgrade the versions without problems. Затова горния скрипт трябва да се стартира със атрибут вашия потребител.

./ff_install your_user_name