LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-18-2012, 11:04 PM   #1
kujirasan
Member
 
Registered: Mar 2007
Posts: 159

Rep: Reputation: 18
Installing Firefox on Debian Squeeze 64, KDE


I have managed to install Firefox 13.1 with icons on KDE it works normally , only problem, it does not pick up the plugins from Iceweasel , what is the procedure to get the all the plugins on the new installation? Is there a need to remove Iceweasel before installation, or they can coexist happily ever after?
 
Old 06-19-2012, 01:01 AM   #2
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,059
Blog Entries: 2

Rep: Reputation: 227Reputation: 227Reputation: 227
If you have Firefox, I don't see a point in keeping Iceweasel. They may be fine installed at the same time, but they might not run at the same time. As far as the plugins, just install them through Firefox itself.
 
Old 06-19-2012, 08:21 AM   #3
cynwulf
Senior Member
 
Registered: Apr 2005
Location: /dev/planet2
Distribution: OpenBSD
Posts: 2,345
Blog Entries: 6

Rep: Reputation: 1692Reputation: 1692Reputation: 1692Reputation: 1692Reputation: 1692Reputation: 1692Reputation: 1692Reputation: 1692Reputation: 1692Reputation: 1692Reputation: 1692
I think I'll skip over mentioning why it's pointless to install firefox when you have iceweasel? Anyway... the plugins from iceweasel's user profile directory get picked up by firefox, if they're not it may be because they're installed in the system's plugin directory, which firefox may not know about. As far as I know if you install your plugins through the browser UI itself rather than from the repos, it should just work.

Last edited by cynwulf; 06-19-2012 at 08:22 AM.
 
Old 06-19-2012, 03:28 PM   #4
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
First make sure you are using the 64bit version of Firefox.

Download:
https://ftp.mozilla.org/pub/mozilla....13.0.1.tar.bz2

After that you should have to do absolutely nothing for it to pickup the same plugins Iceweasel uses. Do not mess with moving, symlinking, or creating a special Firefox/plugins directory as none of these are needed.

Also make sure that you install plugins like Flash and Java using the Debian package management way and not by downloading them directly.
If for some odd reason it does not pickup the Iceweasel plugins, copy the pluginreg.dat from your Iceweasel profile to your new Firefox profile.


If you have any problems take a look at:
Tech Patterns :: Switching from Debian Iceweasel to Firefox, permanently - http://techpatterns.com/forums/about1435.html

All I do is download Firefox, extract, then I copy /usr/share/applications/iceweasel , rename it to firefox and edit the Exec= and Icon= lines to point to the correct Firefox information, which in my case is in `/Downloads/firefox

After this Firefox will update itself whenever Mozilla releases new versions.

Last edited by craigevil; 06-19-2012 at 03:30 PM.
 
Old 06-20-2012, 12:25 AM   #5
kujirasan
Member
 
Registered: Mar 2007
Posts: 159

Original Poster
Rep: Reputation: 18
Thanks for the replies, I followed the following procedure,
1. Download and moved to opt directory
2.extracted and became Firefox directory
3. The did the following
a. ln -s /opt/firefox /usr/local/firefox13
b. ln -s /usr/local/firefox13/firefox /usr/local/bin/firefox13
4. Right Clicked on the KDE launcher, pick menu editor picked Internet, then picked new and entered Firefox and for the command to run it entered /usr/local/bin/firefox13, the browsed to the
firefox directory and picked mozicon128.png as launching icon , I have no idea where is ice weasel profile, I can copy and rename /usr/share/applications/iceweasel , but don't know how to pint it to opt/firefox ,
 
Old 06-21-2012, 11:08 PM   #6
kujirasan
Member
 
Registered: Mar 2007
Posts: 159

Original Poster
Rep: Reputation: 18
Evil, if you there, just describe how you would work out the Exec=.............. part, if the Firefox is in opt? would this be correct? Exec=/usr/bin/firefox %u.
 
Old 06-21-2012, 11:31 PM   #7
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
I have never used the /opt method. I just leave the firefox dir in ~./Downloads

and put my firefox.desktop in /usr/share/applications

Code:
#!/usr/bin/env xdg-open
[Desktop Entry]
Categories=Network;WebBrowser;
Comment[en_US]=Browse the World Wide Web
Comment=Browse the World Wide Web
Encoding=UTF-8
Exec=/home/craig/Downloads/firefox/firefox '%u'
GenericName[en_US]=Firefox
GenericName=Firefox
Icon=/home/craig/Downloads/firefox/icons/mozicon128.png
MimeType=text/html;image/png;image/jpeg;image/gif;application/xml;application/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;
Name[en_US]=firefox
Name=firefox
StartupNotify=true
StartupWMClass=Firefox-bin
Terminal=false
X-GNOME-FullName=Firefox
X-KDE-SubstituteUID=false
X-KDE-Username=Firefox
X-MultipleArgs=false
If you do it the /opt way just follow the steps on
Tech Patterns :: Switching from Debian Iceweasel to Firefox, permanently - http://techpatterns.com/forums/about1435.html

You might need to read thru the entire thread.
 
Old 06-22-2012, 04:31 AM   #8
i_joh
Member
 
Registered: Apr 2005
Distribution: Debian
Posts: 82

Rep: Reputation: 5
Put the plugins in /usr/lib/mozilla/plugins/ . Or symlink them there. Then iceweasel, firefox and chrome finds them.
 
Old 06-22-2012, 05:55 AM   #9
cynwulf
Senior Member
 
Registered: Apr 2005
Location: /dev/planet2
Distribution: OpenBSD
Posts: 2,345
Blog Entries: 6

Rep: Reputation: 1692Reputation: 1692Reputation: 1692Reputation: 1692Reputation: 1692Reputation: 1692Reputation: 1692Reputation: 1692Reputation: 1692Reputation: 1692Reputation: 1692
Just in case you're unaware, Iceweasel 13 is available from here: http://mozilla.debian.net/
(official iceweasel maintainer's repo)
 
Old 06-22-2012, 06:31 AM   #10
kujirasan
Member
 
Registered: Mar 2007
Posts: 159

Original Poster
Rep: Reputation: 18
I got it going finally, Thank you to all of you wonderful people! much appreciated it.
 
Old 06-22-2012, 10:54 AM   #11
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
Quote:
Originally Posted by i_joh View Post
Put the plugins in /usr/lib/mozilla/plugins/ . Or symlink them there. Then iceweasel, firefox and chrome finds them.

which is exactly where things like Flash and Java get installed to using apt-get install

Code:
# ls /usr/lib/mozilla/plugins/
flash-mozilla.so          gecko-mediaplayer-rm.so   libjavaplugin.so    nphelix.so   skypebuttons.so
gecko-mediaplayer-dvx.so  gecko-mediaplayer.so      libkpartsplugin.so  nphelix.xpt
gecko-mediaplayer-qt.so   gecko-mediaplayer-wmp.so  libnpjp2.so         nppdf.so
Plugins
  • DivX Browser Plug-In
  • Java(TM) Plug-in 1.7.0_05
  • KParts Plugin
  • mplayerplug-in is now gecko-mediaplayer 1.0.6
  • QuickTime Plug-in 7.6.9
  • RealPlayer 9
  • Shockwave Flash
  • Windows Media Player Plug-in
 
Old 06-22-2012, 08:55 PM   #12
i_joh
Member
 
Registered: Apr 2005
Distribution: Debian
Posts: 82

Rep: Reputation: 5
Quote:
which is exactly where things like Flash and Java get installed to using apt-get install

Sure. Helps to know it though. Personally I like updating my flashplayer and java installation manually to keep up with the security updates as the stuff in non-free can get quite dated.

Edit: That said, I'm not saying non-free is one big security hole. I'm just saying I'm too paranoid to use a java version that is several minor versions behind the current one. How easy it is for a site to exploit those plugins on Linux is another story.

Last edited by i_joh; 06-22-2012 at 09:05 PM.
 
Old 06-22-2012, 10:15 PM   #13
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
if you use flashplugin-nonfree you updated it easily:
update-flashplugin-nonfree --install

As for Java the version in the Debian repos have backported security fixes.

That said I use the upstream Oracle Java 7.
Java(TM) Plug-in 1.7.0_05
File: /usr/lib/jvm/j2re1.7-oracle/lib/i386/libnpjp2.so
 
Old 06-22-2012, 11:12 PM   #14
i_joh
Member
 
Registered: Apr 2005
Distribution: Debian
Posts: 82

Rep: Reputation: 5
Quote:
Originally Posted by craigevil View Post
if you use flashplugin-nonfree you updated it easily:
update-flashplugin-nonfree --install

As for Java the version in the Debian repos have backported security fixes.
I actually tried to find out if it was ever updated but never got a clear answer by searching the web. If Debian backports security fixes then I guess java is secure enough. I'd still update manually though to get the latest and greatest.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Running The Latest Firefox Version On Debian Squeeze LXer Syndicated Linux News 1 02-10-2012 07:26 PM
Debian Squeeze: Iceweasel from Sid or Firefox? Changes Linux - Software 9 01-21-2012 06:35 PM
After installing KDE 4.4.5 on Debian Squeeze wireless will not connect RayGo75 Debian 6 10-06-2011 08:52 AM
HOWTO Install Latest Firefox and Libreoffice in Debian Squeeze m_yates Debian 17 10-03-2011 09:59 AM
Debian Squeeze with KDE? Fernando Hernandez Debian 3 03-28-2011 08:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration