Firefox

From MEPIS Documentation Wiki

Jump to: navigation, search

Contents


Introduction

Mozilla Firefox is a free and open source web browser installed by default in MEPIS.

Installation

The version used in MEPIS is a static version that doesn't get updated as newer versions by Firefox are released. To stay up-to-date with security upgrades and the latest features, it recommended to do either of these options:

Community Version

Enable the Community Repository and use Synaptic to install latest Firefox
or

Latest builds from Mozilla.org

Released

The following are the instructions to install latest released Firefox build from Mozilla.

  1. Download the package from Mozilla site - - Note if you are running 64-bit, make sure you find and download the linux-x86_64 version from mozilla ftp download area.
  2. Untar it (Right-click on the file -> Extract -> Extract here).
  3. Move the folder created to /opt/ folder (use File Manager - Super User Mode)
  4. In older Firefox versions, remove /opt/firefox/plugins folder and create a symlink to /usr/lib/firefox/plugins. If still in File Manager - Super User Mode, press F4, otherwise open konsole, log in as root and type:
ln -s /usr/lib/firefox/plugins /opt/firefox/plugins

To set up the computer to launch the newly installed browser you have two choices:

  • you can back up /usr/bin firefox and then replace /usr/bin/firefox with a symlink to /opt/firefox/firefox. After backing up /usr/bin/firefox type:
ln -sf /opt/firefox/firefox /usr/bin/firefox

(potential issue, that link gets overwritten if you upgrade through Synaptic the Firefox version that comes pre-installed in MEPIS)

  • or, you can modify or create a link on the desktop to /opt/firefox/firefox, you can also modify or add a similar link in KMenu. In addition you need to set up the default browser to open the same /opt/firefox/firefox program.

If any of these steps sounds too complicated don't hesitate to ask on forum.mepiscommunity.org for more clarifications.

Development

Choose the version you wish from this page, then follow the directions for released builds.

Creating a symlink

This article or section is a stub. You can help Mepis Documentation Project by expanding it.

Tips

If you don't want popups when upgrades are available, that feature can be turned off: go to about:config and set app.update.enabled to false. Or go to Edit > Preferences > Advanced, and uncheck the Firefox box beneath "Automatically check for updates to".

See also Tips and tricks for Firefox

Firefox on KDE 4

Firefox looks rather drab and dreary in KDE. . And doesn't always do things in a way that is KDE-ized. So what to do? Well, there are a few things you can do to make your Firefox look a little more at home in KDE. And, play nicer with KDE too.

The Problem

Here's the main issue: Firefox is written in GTK. KDE-native applications are written in QT. You can mix and match GTK and QT apps in KDE, but you do so at the cost of aesthetics. While Firefox may look at home in a Gnome environment, it just doesn't look all that good in KDE. There is also the issue of how downloads are handled by default in Firefox versus how they are handled by default in KDE.

Configure how KDE treats GTK applications

To change the default behavior, install the package system-config-gtk-style (KDE 4.3) or kde-config-gtk-style (KDE 4.4). Then go to Start Menu > System Settings > Appearance and look for the entry near the bottom that says GTK Styles and Fonts. The style you select here should be the same as your preference listed under the Style section above. So what we want to do here is check the box that says "Use my KDE style in GTK applications". This helps somewhat for consistency - not just within Firefox, but in any GTK application.

Install a KDE4 theme for Firefox

The Mozilla Add-ons page listed this particular Add-on as being for an older version of the Firefox browser. If you go there you will notice that the theme is not installable by default from the Add-ons page. Fear not, as the Add-on is available for download from the author's website. Just click on the author's Firefox Theme for KDE4 homepage and download it from there.

The theme uses KDE4 Oxygen icons for Firefox, making it appear right at home in your KDE4 desktop world. Now, with the Oxygen icons and KDE handling your GTK applications, you suddenly have a browser that looks like it belongs on your desktop!


Make Firefox a little more like Konqueror

If you are a long time KDE user, you might be used to using Konqueror as your web browser, as well as possible your file manager. If so, this Add-on will make your Firefox life a little easier by adding navigation and zoom buttons to your navigation bar.

When you install this Add-on, You have to go to view > toolbars > customize... to add these buttons. But they do work, and come in handy. I especially find myself using the 'Clear location URL' button quite a bit. Beats holding the backspace button down for those long URL's.

Make Firefox use KDE dialogue boxes

Enter "about:config" in the address bar, look for the "ui.allow_platform_file_picker" key and change its value to "false".

Now you have dialogue boxes that look like they belong in KDE, not the drab, dreary, flat, plain, ones that are the default.

Using KGet with Firefox to manage downloads

In order to use KGet with Firefox you need to install the FlashGot Add-on. Not only do you get to use KDE's versatile download manager KGet to manage all of your downloads, but FlashGot adds several useful features on top of this functionality. FlashGot is the free Mozilla / Firefox / Flock / Thunderbird extension, meant to handle single and massive ("all" and "selection") downloads with several external Download Managers.

Language packs for Firefox

1) go to here to find an actual link to the language packs in any language, for Firefox. They are in fact files called "xpi" (add-ons for Firefox).

2) click on the laguage pack you like in the file list as above described, it will be installed immediately by firefox.

3) type about:config in your browser address bar, and go to "general.useragent.locale" (you can type this in the "filter" bar that you see there). Edit the value to the language shortcode you just downloaded, if this isn't done yet (eg: "en-GB" for British English, instead of "de-DE" for German!)


Take care when editing the about:config file! This could damage your firefox installation.

Compiling Firefox

If you want to compile Firefox by yourself, use this Compile Firefox how-to.

Troubleshooting

Sound

If you experience issues with Firefox not properly handling sound from flash content, conflicts with sound and other applications while Firefox is running, etc. you may need to install an additional package, alsa-oss. This package is a wrapper for ALSA and OSS based applications, which Firefox currently is. This package can be installed using synaptic, or via aptitude

  aptitude install alsa-oss
Personal tools
In other languages