Debian, rant, and Firefox

As already mentioned, I started to play with Debian Sid. And Debian means quite 'free soft only', or to put it in more practical way - 'more troubles to install elementary things'. Add here silly-but-oh-so-superior eloquency of debitards about 'Debian way' (this 'way' mostly seems to mean 'relentless and insulting arrogance' toward all those not members of Debian' Forum Pro Club). Despite not have been at a receiving end myself - being anti-social and not-forum-person as I am - I find general Debian forums (and Debian way) to be mightily off-putting. Not to mention, time-wasting when trying to find a bit of info in this sea of agressive trolling.
And additionally to previous, I had constant bugs with the love-child of Debian community - Iceweasel. It's quite mind-boggling really, how it's possible to make slight fork of Firefox so buggy... experimental repo or not... well, with great care and effort, I presume.

After a week of Iceweasel bugs coming, being, going, coming... and so on, and seriously fearing the possibility of stroke or at least nervous skin-rash, I decided to install the evil - Firefox.
As is my bad habit, I read, found very different howtos and felt kinda 'now-what?'.
Then I downloaded a binary and installed. That went OK, only - Firefox didn't work, not at all... Then I found out that file you download from public Mozilla is always 32bit - and is not working on 64bit Debian. Not without additional hassle, at least. There seem to be multi-arch transitional packages to install and force Firefox, but I didn't bother.

I downloaded 64bit version from not-so-public directory:
And proceeded like that:
sudo apt-get remove iceweasel
then deleted ~/.mozilla folder and copied firefox-19.0.2.tar.bz2 to /opt.
sudo tar -xjvf firefox-19.0.2.tar.bz2
cd /usr/local/bin
sudo ln -s /opt/firefox/firefox
cd ~/.local/share/applications
# make new firefox.desktop file like following:
[Desktop Entry]
GenericName=Web Browser
Exec=/usr/local/bin/firefox %u
# That's end of file. Save.

cd ~/.local/share/applications/
#add into file mimeapps.list
[Added Associations]
# and in terminal for proper icons...
sudo ln -s /opt/firefox/icons/mozicon128.png /usr/share/icons/hicolor/128x128/apps/firefox.png & sudo ln -s /opt/firefox/icons/mozicon128.png /usr/share/pixmaps/firefox.png

Go to 'Preferred applications', mark Firefox as your 'Web browser'.
Check into .local/share/applications/mimeinfo.cache - and if needed, replace all instances of 'iceweasel' with 'firefox'.
Fix any launcher that still has 'Iceweasel' in it (tint2, for example). Done... Probably.
Easy, no? Yes, it is - childs' play compared to some other things.

NB! For updates: Either you have to change permissions of Firefox install-directory OR start Firefox for updating via sudo. Otherways it can't write ... Not that I mind especially - Mozillas' continuous updates are one of the most irritating things on planet Earth. So, not updating can be a relief really.
Still - we should update, at least for security reasons.

No comments: