LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 10:04 PM   #1
kujirasan
Member
 
Registered: Mar 2007
Posts: 168

Rep: Reputation: 19
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, 12:01 AM   #2
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,125
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
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, 07:21 AM   #3
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
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 07:22 AM.
 
Old 06-19-2012, 02:28 PM   #4
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
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 02:30 PM.
 
Old 06-19-2012, 11:25 PM   #5
kujirasan
Member
 
Registered: Mar 2007
Posts: 168

Original Poster
Rep: Reputation: 19
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, 10:08 PM   #6
kujirasan
Member
 
Registered: Mar 2007
Posts: 168

Original Poster
Rep: Reputation: 19
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, 10:31 PM   #7
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
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, 03: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, 04:55 AM   #9
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
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, 05:31 AM   #10
kujirasan
Member
 
Registered: Mar 2007
Posts: 168

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

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
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, 07: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 08:05 PM.
 
Old 06-22-2012, 09:15 PM   #13
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
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, 10: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



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 06:26 PM
Debian Squeeze: Iceweasel from Sid or Firefox? Changes Linux - Software 9 01-21-2012 05:35 PM
After installing KDE 4.4.5 on Debian Squeeze wireless will not connect RayGo75 Debian 6 10-06-2011 07:52 AM
HOWTO Install Latest Firefox and Libreoffice in Debian Squeeze m_yates Debian 17 10-03-2011 08:59 AM
Debian Squeeze with KDE? Fernando Hernandez Debian 3 03-28-2011 07:25 AM

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

All times are GMT -5. The time now is 06:36 PM.

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
Open Source Consulting | Domain Registration