Manjaro Mozilla Firefox

Mozilla Firefox

From Manjaro
This page is a translated version of the page Mozilla Firefox and the translation is 34% complete.
Outdated translations are marked like this.
Other languages:
Deutsch • ‎English • ‎español • ‎español de América Latina • ‎français • ‎русский • ‎فارسی • ‎中文(中国大陆)‎

Installer Firefox

Firefox peut être installé en utilisant le package firefox dans votre gestionnaire de packages préféré ou en utilisant la commande :

user $ pamac install firefox COPY TO CLIPBOARD


Autres versions

Package Name Source URL Description
firefox-developer-edition repo https://www.mozilla.org/firefox/channel/#developer Official Developer Edition builds
firefox-nightly aur https://www.mozilla.org/en-US/firefox/nightly Official Nightly builds
firefox-kde-opensuse aur https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox OpenSUSE's version of Firefox includes appmenu integration and native plasma integration
firefox-appmenu aur https://aur.archlinux.org/packages/firefox-appmenu/ Unofficial Firefox build with appmenu patches added
firefox-esr aur https://www.mozilla.org/en-US/firefox/organizations/ Official ESR releases. This is the oldest supported version of Firefox

Gestion des thèmes sombres GTK

Certaines pages seront difficiles à lire lors de l'utilisation de thèmes GTK sombres. Il existe différentes manières de gérer cela :

  • Le moyen le plus flexible consiste à installer le module complémentaire Text Contrast for Dark Themes qui vous permettra de conserver votre thème mais de l'ajuster page par page si nécessaire
  • Un moyen plus simple est Préférences->Langue et apparence->Couleurs et décochez "Utiliser les couleurs du système". L’inconvénient de cette approche est que Firefox n’utilisera plus de thème sombre.
  • Nous pouvons utiliser CSS pour forcer les arrière-plans blancs avec du texte et des contrôles sombres en éditant ou en créant ~/.mozilla/profile.default/chrome/userContent.css avec le contenu suivant :

input:not(.urlbar-input):not(.textbox-input):not(.form-control):not([type='checkbox']):not([type='radio']), textarea, select {

    -moz-appearance: none !important;
    background-color: white;
    color: black;
}

#downloads-indicator-counter {
    color: white;
}


Intégration avec Plasma

Installation de l'intégration du navigateur plasma

Le package d'intégration du navigateur fournit des contrôles multimédias, des notifications et une intégration avec krunner. Vous pouvez l'installer avec :

user $ pamac install plasma-browser-integration COPY TO CLIPBOARD


Installez ensuite le https://addons.mozilla.org/en-US/firefox/addon/plasma-integration module complémentaire d'intégration Plasma] dans Firefox.


Utilisation du sélecteur de fichiers natif

Il est possible d'intégrer le sélecteur de fichiers de Plasma dans Firefox, cela vous offrant une expérience plus transparente.

Assurez-vous d'abord d'installer les packages xdg-desktop-portal et xdg-desktop-portal-kde à l'aide de la commande :

user $ pamac install xdg-desktop-portal xdg-desktop-portal-kde COPY TO CLIPBOARD


Now we need to create a customized desktop launcher by creating a copy of the distribution file with

user $ mkdir -p ~/.local/share/applications COPY TO CLIPBOARD

user $ cp /usr/share/applications/firefox.desktop ~/.local/share/applications/ COPY TO CLIPBOARD


Next we need to edit the newly created file at ~/.local/share/applications/firefox.desktop using a text editor

There are 3 edits that need to made to this file.

replace:

Exec=/usr/lib/firefox/firefox %u

with:

Exec=/usr/bin/sh -c "GTK_USE_PORTAL=1 /usr/lib/firefox/firefox %u"

replace:

Exec=/usr/lib/firefox/firefox --new-window %u

with:

Exec=/usr/bin/sh -c "GTK_USE_PORTAL=1 /usr/lib/firefox/firefox --new-window %u"

replace:

Exec=/usr/lib/firefox/firefox --private-window %u

with:

Exec=/usr/bin/sh -c "GTK_USE_PORTAL=1 /usr/lib/firefox/firefox --private-window %u"

Save and enjoy your firefox/plasma integration


Installing Firefox directly from the Mozilla Website

Generally it is better to use the version of Firefox that is available in the repos but installing Firefox directly has one advantage: Firefox will update itself automatically as soon as an update is available. This is great for users, who want to get the latest update as soon as possible without waiting for the next Manjaro update.


Download Firefox from Mozilla

Download the latest Firefox in your language from here: https://www.mozilla.org/en-US/firefox/all/

Most users will download "Linux 64-bit" in your chosen language. If you are using manjaro32, download "Linux 32-bit"


Extract the files

Ensure that ~/bin exists with

user $ mkdir -p ~/bin COPY TO CLIPBOARD

Unpack/extract the downloaded firefox-xx.x.tar.bz2 file to ~/bin/ using a graphical tool or with the tar command. Here is an example:

user $ tar -xf ~/Downloads/firefox-66.0.5.tar.bz2 --directory ~/bin COPY TO CLIPBOARD

You can now start to use Firefox by double clicking on the file (or executing it in a terminal):

user $ ~/bin/firefox/firefox COPY TO CLIPBOARD


Create an icon

Let's create an icon in order to start Firefox much more easily.

Create an empty file

user $ mkdir -p ~/.local/share/applications COPY TO CLIPBOARD

user $ touch ~/.local/share/applications/firefox.desktop COPY TO CLIPBOARD


Edit the file ~/.local/share/applications/firefox.desktop in your favorite editor. For a list of common editors see this page

Copy and paste the following code into your firefox.desktop file and save it:

[Desktop Entry]
Name=Firefox
GenericName=Web Browser
Icon=~/bin/firefox/browser/icons/mozicon128.png
Type=Application
Categories=Application;Network;WebBrowser;
Exec=~/bin/firefox/firefox
Terminal=false
StartupNotify=false

In most Desktop Environments(DEs), Firefox will now be added to the menu. In some DEs you can click on the desktop to launch the application as well.


See also

Cookies help us deliver our services. By using our services, you agree to our use of cookies.