Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How to install the "real" Firefox on Debian Squeeze

Share your HowTo, Documentation, Tips and Tricks. Not for support questions!.
Message
Author
User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: How to install the "real" Firefox on Debian Squeeze

#16 Post by stevepusser »

shrinivas wrote:I have done exactly as described here.
Still,clicking on the icon 'Firefox" opens a new instance of Iceweasel 3.5.16 !

I recently installed Debian 32-bit OS.
Regards and thanks,
Shrinivas
Where is the icon you are talking about? In the menu? Usually that points to a .desktop file in /usr/share/applications, and that's a text file that can be edited, and the "Exec" line changed to the actual binary or launcher script you want to run.
MX Linux packager and developer

shrinivas
Posts: 18
Joined: 2011-03-28 08:30

Re: How to install the "real" Firefox on Debian Squeeze

#17 Post by shrinivas »

stevepusser wrote:
shrinivas wrote:I have done exactly as described here.
Still,clicking on the icon 'Firefox" opens a new instance of Iceweasel 3.5.16 !

I recently installed Debian 32-bit OS.
Regards and thanks,
Shrinivas
Where is the icon you are talking about? In the menu? Usually that points to a .desktop file in /usr/share/applications, and that's a text file that can be edited, and the "Exec" line changed to the actual binary or launcher script you want to run.
Hi, the icon is Alt+F1>Applications>Internet>Mozilla Firefox.
I am a newbie, pray tell me how to " line changed to the actual binary or launcher script you want to run" ? Actually, in properties, it shows that
" /usr/bin/firefox %U ". Probably, I have to uninstall Iceweasel to make it work. (I am not likely to do it, because I installed Iceweasel 4 and had some problem of stability.)
Regards.

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: How to install the "real" Firefox on Debian Squeeze

#18 Post by craigevil »

All I do is download, extract, create a desktop shortcut, then copy the desktop.file to usr/share/applications so it shows up in the lxde menu.

My Firefox desktop.file (all I did was copy the iceweasel file and change the exec and icon lines, and of course the name.)

Code: Select all

[Desktop Entry]
Encoding=UTF-8
Name=Firefox
Comment=Browse the World Wide Web
X-GNOME-FullName=Firefox
Exec=/home/craig/Downloads/firefox/firefox %u
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=/home/craig/Downloads/firefox/icons/mozicon128.png
Categories=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
No need to mess with extracting to /opt or /usr/local , I just keep it in my /home

Takes less than 2 minutes to have the REAL Firefox this way.
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

realnubnut
Posts: 16
Joined: 2011-03-27 18:18

Re: How to install the "real" Firefox on Debian Squeeze

#19 Post by realnubnut »

Yes getting and maintaining the real thing is so easy thats why I do it. A little script goes a long way.

craigevil wrote: Takes less than 2 minutes to have the REAL Firefox
I clocked less than a minute. true story

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: How to install the "real" Firefox on Debian Squeeze

#20 Post by stevepusser »

When you install Debian's Iceweasel, it creates a "Firefox" symlink that points to the Iceweasel launcher. This is to satisfy some programs that only look for Firefox, so /usr/bin/firefox will still launch Iceweasel if it's installed. So like craigevil says, put the full path to your Firefox launcher script in the .desktop file.
MX Linux packager and developer

shrinivas
Posts: 18
Joined: 2011-03-28 08:30

Re: How to install the "real" Firefox on Debian Squeeze

#21 Post by shrinivas »

craigevil wrote:All I do is download, extract, create a desktop shortcut, then copy the desktop.file to usr/share/applications so it shows up in the lxde menu.

No need to mess with extracting to /opt or /usr/local , I just keep it in my /home

Takes less than 2 minutes to have the REAL Firefox this way.
I did install using your guide, it went well, but each time I open either Firefox 4 or Iceweasel, it checks for extension-compatibility, so takes some time.
Should I uninstall Iceweasel , or use only one of the two, please guide me. As told earlier, I am a noob, so please bear with me !
Regards,

Shrinivas

eric1959
Posts: 1298
Joined: 2008-12-15 13:17
Location: Amsterdam

Re: How to install the "real" Firefox on Debian Squeeze

#22 Post by eric1959 »

Run them with different profiles....
e.g.

Code: Select all

firefox -P 
create different profile, do so for both and create shortcuts that look like this

Code: Select all

firefox -P "profilename" -no-remote
and you can run them side by side...
Debian Bits And Snips
Squeeze, Gnome, amd64, Intel Core i3-530, Geforce GT330

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: How to install the "real" Firefox on Debian Squeeze

#23 Post by craigevil »

Create separate profiles by opening:

Code: Select all

iceweasel --profilemanager
Then choose Create.

Then either have the profile chooser open each time or point firefox to the correct profile.


I have Iceweasel 4.0 and Firefox 3.6.16, as well as a clean firefox test profile.
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

shrinivas
Posts: 18
Joined: 2011-03-28 08:30

Re: How to install the "real" Firefox on Debian Squeeze

#24 Post by shrinivas »

craigevil wrote:Create separate profiles by opening:

Code: Select all

iceweasel --profilemanager
Then choose Create.

Then either have the profile chooser open each time or point firefox to the correct profile.


I have Iceweasel 4.0 and Firefox 3.6.16, as well as a clean firefox test profile.
I am sorry for asking dumb questions.
I have created a new Iceweasel profile, but how to or where is profile chooser ?
Regards and thanks
Edit: I am really dumb ! I got it to work, thank you and regards !

weedeater64
Posts: 166
Joined: 2008-03-18 15:17
Location: Norfolk, Va.

Re: How to install the "real" Firefox on Debian Squeeze

#25 Post by weedeater64 »

eric1959 wrote:There is one big drawback : firefox from mozilla website is not configured with --enable-system-cairo , so fonts are not rendered in a proper way...
Better : http://debian-bits-and-snips.blogspot.c ... ueeze.html
or : http://debian-bits-and-snips.blogspot.c ... -4-rc.html

That has been the problem with iceweasel for as long as I've known about it, a bit over 5 years. Poor rendering, that is. Haven't had a problem with firefox. Of course it's other reasons that have lately been pushing me to other browsers, such as chromium, uzbl-browser, conkeror... like that..

vbrummond
Posts: 4432
Joined: 2010-03-02 01:42

Re: How to install the "real" Firefox on Debian Squeeze

#26 Post by vbrummond »

I have been running Iceweasel 4 with this method on Squeeze. Works awesome and the fonts look great (I use Droid Sans):
http://mozilla.debian.net/
Always on Debian Testing

eric1959
Posts: 1298
Joined: 2008-12-15 13:17
Location: Amsterdam

Re: How to install the "real" Firefox on Debian Squeeze

#27 Post by eric1959 »

shrinivas wrote:
craigevil wrote:Create separate profiles by opening:

Code: Select all

iceweasel --profilemanager
Then choose Create.

Then either have the profile chooser open each time or point firefox to the correct profile.


I have Iceweasel 4.0 and Firefox 3.6.16, as well as a clean firefox test profile.
I am sorry for asking dumb questions.
I have created a new Iceweasel profile, but how to or where is profile chooser ?
Regards and thanks
Edit: I am really dumb ! I got it to work, thank you and regards !
if you've used iceweasel before without any profilemanager, you will have one profile ( default user ) already. Look inside ~/.mozilla/firefox. There is a folder ********.default.

Starting iceweasel with :

Code: Select all

iceweasel -P
will start the profilemanager. Let's say you create a profile test, then a folder ********.test will be created in ~/.mozilla/firefox

Inside ~/.mozilla/firefox there is a file profiles.ini with a description of the two different profiles.

You can run iceweasel with both profiles simultaneously by running :

Code: Select all

iceweasel -P "profilename" -no-remote
so in this case that would be

Code: Select all

iceweasel -P "default" -no-remote
iceweasel -P "test" -no-remote
Make appropriate shortcuts in the menu.
Debian Bits And Snips
Squeeze, Gnome, amd64, Intel Core i3-530, Geforce GT330

TonyT
Posts: 575
Joined: 2006-09-04 11:57

Re: How to install the "real" Firefox on Debian Squeeze

#28 Post by TonyT »

FYI, there is a FF 64 bit:
ftp://ftp.mozilla.org/pub/firefox/relea ... ux-x86_64/

It works as it should along with Flash 64 bit.

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: How to install the "real" Firefox on Debian Squeeze

#29 Post by kedaha »

Just to reply that, as an exercise (I always use Iceweasel 8) ), I rolled my own firefox deb. New users should refer to other posts in the present thread if they wish to install "the real firefox" because this howto isn't definitive; there are other ways to create deb packages (see especially this topic), it can take a really long time, specially on slower machines and internet connections and is pretty heavy on memory usage and resources.
Assumes the required packages (there may be others) are already installed including:

Code: Select all

# aptitude install automake autoconf build-essential checkinstall libtool pkg-config libcurl4-openssl-dev intltool libxml2-dev libgtk2.0-dev libnotify-dev libglib2.0-dev libevent-dev mercurial libasound2-dev libcurl4-openssl-dev libnotify-dev libxt-dev libiw-dev mesa-common-dev autoconf2.13 yasm
[/size]
Downloaded the firefox source from here
Extracted the tarball to home directory thus:

Code: Select all

user@squeeze:~$ tar xvjf firefox-4.0.source.tar.bz2
This creates a directory called mozilla-2.0
Create a .mozconfig file in /home:
I just did ALT+F2, selected gedit, cut and pasted a few minimal options to the file:

Code: Select all

. $topsrcdir/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-opt
ac_add_options --disable-tests
ac_add_options --disable-crashreporter
ac_add_options --enable-cpp-rtti
I'd be interested to hear any views about the best options to include in .mozconfig.
Then saved the file as .mozconfig
After that:

Code: Select all

$ cd mozilla-2.0
$ user@squeeze:~/mozilla-2.0$ ./configure && make 
$ user@squeeze:~/mozilla-2.0$ su
Password
root@squeeze:/home/user/mozilla-2.0# checkinstall
This creates a .deb package, named (in my case) mozilla_2.0-1_amd64.deb which is automatically installed and thus available in Synaptic. It can be found in the mozilla-2.0 directory. The .deb package can also be installed using gdebi.
All the files will be found in /usr/local.
Firefox can be started with the command firefox or /usr/local/bin/firefox and may be added easily to the Gnome menu.
For further information, please see this link.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

eric1959
Posts: 1298
Joined: 2008-12-15 13:17
Location: Amsterdam

Re: How to install the "real" Firefox on Debian Squeeze

#30 Post by eric1959 »

I'd be interested to hear any views about the best options to include in .mozconfig
ac_add_options --enable-system-cairo

Otherwise fonts look crappy...
Debian Bits And Snips
Squeeze, Gnome, amd64, Intel Core i3-530, Geforce GT330

User avatar
friarath
Posts: 82
Joined: 2010-06-16 18:52
Location: Mount Morris, MI

Re: How to install the "real" Firefox on Debian Squeeze

#31 Post by friarath »

Sorry if someone mentioned this already but Firefox has a native x86_64 build here:
ftp://ftp.mozilla.org/pub/mozilla.org/f ... eases/4.0/
and it seems to work allright.

For me the bookmark toolbar buttons stop working after a while so that is annoying. I am looking into Opera and SRWare Iron right now.
The Lord give you peace.

Lou
Posts: 1739
Joined: 2006-05-08 02:15

Re: How to install the "real" Firefox on Debian Squeeze

#32 Post by Lou »

I'm not too bright when it comes to these things, but i try my best :)

I downloaded Firefox 4.0.1 from mozilla.org to my /home, extracted it, clicked on the new folder till i got to the executable then copied the path to my ratpoison keybinds, restarted rp, got out of the Xs, went back in and it worked. FF4 is great, faster...

Code: Select all

bind f exec ~/firefox-4.0.1/firefox/firefox
Made FF4 my default browser and hoped for the best, i wonder if i will get updates...
Kept iceweasel for my wife, she likes it better :)
Devuan Jessie - IceWM - vimperator - no DM
KISS - Keep It Simple, Stupid

milomak
Posts: 2168
Joined: 2009-06-09 22:20
Been thanked: 2 times

Re: How to install the "real" Firefox on Debian Squeeze

#33 Post by milomak »

Lou wrote: Made FF4 my default browser and hoped for the best, i wonder if i will get updates...
my experiences are that you have to do the updates manually
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid

Lou
Posts: 1739
Joined: 2006-05-08 02:15

Re: How to install the "real" Firefox on Debian Squeeze

#34 Post by Lou »

milomak wrote:
my experiences are that you have to do the updates manually
I'm happy to report that the update was automatically, using now FF 5.0 :D
Devuan Jessie - IceWM - vimperator - no DM
KISS - Keep It Simple, Stupid

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: How to install the "real" Firefox on Debian Squeeze

#35 Post by craigevil »

My Firefox Information

Last updated: Tue, 21 Jun 2011 05:06:56 GMT
User Agent: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20100101 Firefox/5.0

Extensions (enabled: 17, disabled: 3; total: 20) Themes (3)
  • Default
  • Firefox B [selected]
  • Oxygen KDE [selected]
Plugins
  • Adobe Reader 9.4
  • DivX Browser Plug-In
  • Google Talk Plugin
  • Google Talk Plugin Video Accelerator
  • Helix DNA Plugin: RealPlayer G2 Plug-In Compatible
  • Java(TM) Plug-in 1.6.0_26
  • mplayerplug-in is now gecko-mediaplayer 0.9.9.2
  • OpenOffice.org Plug-in
  • QuickTime Plug-in 7.6.4
  • RealPlayer 9
  • Shockwave Flash
  • Windows Media Player Plug-in
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

Post Reply