Installing firefox to replace iceweasel in Debian jessie

Iceweasel is no more at Debian.
More details about this decision : https://wiki.debian.org/Iceweasel

A new repository must be enabled : jessie-backports managed by The Debian Mozilla team

Add a new sources.list file in /etc/apt/sources.list.d/ with the following line :

deb http://mozilla.debian.net/ jessie-backports firefox-esr

Run the following commands to have Firefox installed on your system :

[fool@localhost]$ sudo apt-get update
[fool@localhost]$ sudo apt-get install pkg-mozilla-archive-keyring
[fool@localhost]$ sudo apt-get -t jessie-backports install firefox-esr

Firefox is now installed. Enjoy !

Advertisements

Installing Oracle Java plug-in for Iceweasel

Some web-based management tools use Java applets to perform configuration tasks. Within Debian Squeeze, you have two JRE available : openjdk-6-jre and sun-java6-jre. Concerning web browsers, two kinds of Java plug-ins can be installed : the official Oracle Java plug-in from the sun-java6-plugin package and the alternative Icedtea plug-in  from the icedtea6-plugin package.

The Oracle Java Plug-in is better suited for its integration within web browsers. To install it :

root@localhost:~#apt-get install sun-java6-plugin

To use one implementation of Java (either OpenJDK or Oracle java), make sure that your environment is properly configured. update-java-alternatives (utility from the java-common package) can be used for this purpose.

To list the existing Java environments :

root@localhost:~# update-java-alternatives -l
java-6-openjdk 1061 /usr/lib/jvm/java-6-openjdk
java-6-sun 63 /usr/lib/jvm/java-6-sun

To force the use of one given environment :

root@localhost:~#update-java-alternatives -s java-6-sun

To make sure that your installed applications only use the Oracle Java 6, check the output of update-alternatives -l . You should have the following output :

root@localhost:~#update-alternatives -l |grep java

update-alternatives –get-selections |grep java
appletviewer                   manual   /usr/lib/jvm/java-6-sun/bin/appletviewer
apt                            manual   /usr/lib/jvm/java-6-sun/bin/apt
ControlPanel                   manual   /usr/lib/jvm/java-6-sun/jre/bin/ControlPanel
extcheck                       manual   /usr/lib/jvm/java-6-sun/bin/extcheck
firefox-javaplugin.so          manual   /usr/lib/jvm/java-6-sun/jre/lib/amd64/libnpjp2.so
HtmlConverter                  manual   /usr/lib/jvm/java-6-sun/bin/HtmlConverter
iceape-javaplugin.so           manual   /usr/lib/jvm/java-6-sun/jre/lib/amd64/libnpjp2.so
iceweasel-javaplugin.so        manual   /usr/lib/jvm/java-6-sun/jre/lib/amd64/libnpjp2.so
idlj                           manual   /usr/lib/jvm/java-6-sun/bin/idlj
jar                            manual   /usr/lib/jvm/java-6-sun/bin/jar
jarsigner                      manual   /usr/lib/jvm/java-6-sun/bin/jarsigner
java                           manual   /usr/lib/jvm/java-6-sun/jre/bin/java
javac                          manual   /usr/lib/jvm/java-6-sun/bin/javac
javadoc                        manual   /usr/lib/jvm/java-6-sun/bin/javadoc
javah                          manual   /usr/lib/jvm/java-6-sun/bin/javah
javap                          manual   /usr/lib/jvm/java-6-sun/bin/javap
java_vm                        manual   /usr/lib/jvm/java-6-sun/jre/bin/java_vm
javaws                         manual   /usr/lib/jvm/java-6-sun/jre/bin/javaws
jconsole                       manual   /usr/lib/jvm/java-6-sun/bin/jconsole
jcontrol                       manual   /usr/lib/jvm/java-6-sun/jre/bin/jcontrol
jdb                            manual   /usr/lib/jvm/java-6-sun/bin/jdb
jexec                          manual   /usr/lib/jvm/java-6-sun/jre/lib/jexec
jhat                           manual   /usr/lib/jvm/java-6-sun/bin/jhat
jinfo                          manual   /usr/lib/jvm/java-6-sun/bin/jinfo
jmap                           manual   /usr/lib/jvm/java-6-sun/bin/jmap
jps                            manual   /usr/lib/jvm/java-6-sun/bin/jps
jrunscript                     manual   /usr/lib/jvm/java-6-sun/bin/jrunscript
jsadebugd                      manual   /usr/lib/jvm/java-6-sun/bin/jsadebugd
jstack                         manual   /usr/lib/jvm/java-6-sun/bin/jstack
jstat                          manual   /usr/lib/jvm/java-6-sun/bin/jstat
jstatd                         manual   /usr/lib/jvm/java-6-sun/bin/jstatd
keytool                        manual   /usr/lib/jvm/java-6-sun/jre/bin/keytool
midbrowser-javaplugin.so       manual   /usr/lib/jvm/java-6-sun/jre/lib/amd64/libnpjp2.so
mozilla-javaplugin.so          manual   /usr/lib/jvm/java-6-sun/jre/lib/amd64/libnpjp2.so
native2ascii                   manual   /usr/lib/jvm/java-6-sun/bin/native2ascii
orbd                           manual   /usr/lib/jvm/java-6-sun/jre/bin/orbd
pack200                        manual   /usr/lib/jvm/java-6-sun/jre/bin/pack200
pluginappletviewer             auto     /usr/lib/jvm/java-6-openjdk/jre/bin/pluginappletviewer
policytool                     manual   /usr/lib/jvm/java-6-sun/jre/bin/policytool
rmic                           manual   /usr/lib/jvm/java-6-sun/bin/rmic
rmid                           manual   /usr/lib/jvm/java-6-sun/jre/bin/rmid
rmiregistry                    manual   /usr/lib/jvm/java-6-sun/jre/bin/rmiregistry
schemagen                      manual   /usr/lib/jvm/java-6-sun/bin/schemagen
serialver                      manual   /usr/lib/jvm/java-6-sun/bin/serialver
servertool                     manual   /usr/lib/jvm/java-6-sun/jre/bin/servertool
tnameserv                      manual   /usr/lib/jvm/java-6-sun/jre/bin/tnameserv
unpack200                      manual   /usr/lib/jvm/java-6-sun/jre/bin/unpack200
wsgen                          manual   /usr/lib/jvm/java-6-sun/bin/wsgen
wsimport                       manual   /usr/lib/jvm/java-6-sun/bin/wsimport
xjc                            manual   /usr/lib/jvm/java-6-sun/bin/xjc
xulrunner-1.9-javaplugin.so    manual   /usr/lib/jvm/java-6-sun/jre/lib/amd64/libnpjp2.so
xulrunner-javaplugin.so        manual   /usr/lib/jvm/java-6-sun/jre/lib/amd64/libnpjp2.so

For Iceweasel,you can check that your Java plug-in is configured by typing about:plugins in the address bar.

Slow performing add-ons for Firefox

If you find your Firefox/Iceweasel browser is running too slow, you should check whether it is an addon -related problem or not.

Mozilla has established a list of the most CPU/RAM consuming add-ons :

Slow performing add-ons for Firefox

First advice to make your Firefox browser run faster : disable an add-on you do not use on a regular basis and avoid using ones which can bring some possible security issues to your system.

Iceweasel and sound related problems

You may have already encountered some sound problems while playing several flv videos opened in different tabs. If you stop playing one of them for a while and then try to watch it again, you are unable to understand the sound that comes from the video.
Here is one solution :

In the file /etc/iceweasel/iceweaselrc, replace the line ICEWEASEL_DSP=”none” by ICEWEASEL_DSP=”aoss”

aoss is a simple wrapper script which facilitates the use of the ALSA OSS compatibility library.

To install it :

root@localhost:~#apt-get install alsa-oss

Caching DNS lookups with Firefox/Iceweasel

At the moment, I am running the Debian current stable version of Iceweasel (3..0.6).
Sometimes, you can experience some delay in displaying web pages because DNS lookups take too long. There are several solutions to this problem.
With my current version of Iceweasel, I advise you to install the following addon : DNS Prefetch.
To install it,  just follow this link : DNS Prefetch
Once installed, restart your browser and pay attention to the speed of webpages loading.
Enjoy !

Further informations :

https://developer.mozilla.org/En/Controlling_DNS_prefetching

Blogging off-line from Firefox/Iceweasel ? Which plugin(s)?

Once connected on your WordPress blog, it might take some time to publish a new article.
Why not write if off-line and put it on your blog right after?
I have found quite a good Firefox/Iceweasel plugin which does the job well : Scribefire
The extension can be installed from the following link :

https://addons.mozilla.org/en-US/firefox/addon/1730

At the moment, it fullfills my needs. It can be launched in a new tab. You can add new categories right from this extension.
The editor is simple but functional.
However, I am not able to modify an article through it. Is this a missing function?
For more information, please visit their website : http://www.scribefire.com/

Feel free to send me feedbacks on your personal use of any of the existing off-line text editor extensions for Firefox/Iceweasel.