Firefox (Italiano)

From ArchWiki
Revision as of 19:55, 29 December 2008 by Zell 987 (talk | contribs) (Ricompilare)
Jump to: navigation, search

Tango-preferences-desktop-locale.pngThis article or section needs to be translated.Tango-preferences-desktop-locale.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:Firefox (Italiano)#)
Template:I18n links start

Template:I18n entry Template:I18n entry Template:I18n links end

Firefox è un web browser open source di Mozilla. Il pacchetto di Firefox in Arch Linux è compilato in maniera indipendente dalla distribuzione ufficiale. Infatti sia l'icona (il pianeta..) che il nome sono diversi dal nome e dal logo ufficiale di Firefox. Questo perchè è possibile distribuire firefox ,con il suo nome e il suo logo, a condizione che non siano state fatte modifiche non ufficiali (ad es. patch personalizzate).

Abilitare il Firefox Branding

Per attivare i vari marchi o cambiare l'user agent ci sono diversi modi. È possibile ricompilare, modificare il browser con le estensioni o utilizzare configurazioni avanzate. Nota che distrubuire una versione del genere potrebbe essere illegale!


La seguente procedura è per la versione 2.x di Firefox. Una versione ufficiale di Firefox 3.0.1-2 è disponibile da AUR qui. Sarà utilizzato ABS per ricompilare Firefox. È necessario avere cvsup e wget installati. Lanciare il seguente comando:


Se è il primo avvio ci vorrà qualche tempo, successivamente la sincronizzazione avverrà molto più rapidamente. Prima di fare un pacchetto personalizzato è generalmente consigliato lanciare abs. Ora bisogna creare una directory dove effettuare la ricompilazione:

 mkdir -p /var/abs/local/firefox
 cp /var/abs/extra/firefox/* /var/abs/local/firefox
 cd /var/abs/local/firefox

Con un editor di testo bisogna modificare il file mozconfig, aggiungendo la seguente linea alla fine del file.

ac_add_options --enable-official-branding

Salva ed esci, poi:

md5sum mozconfig

Verrà generata una stringa, da copiare all'interno del file PKGBUILD. All'interno del file ci sono due array, "source" e "md5sum". Praticamente queste "md5sum" servono per controllare l'integrità del file al momento del download, il secondo elemento in md5sum corrisponde al file mozconfig, quindi va modificato sostituendolo con la stringa ottenuta precedentemente.

Sostituire questa stringa:

convert ${startdir}/src/mozilla/browser/app/default.xpm ${startdir}/pkg/usr/share/pixmaps/firefox.png

con la seguente:

convert ${startdir}/src/mozilla/dist/branding/default.xpm ${startdir}/pkg/usr/share/pixmaps/firefox.png

Più in giù ci sono queste due linee.

install -m644 ${startdir}/src/mozilla/browser/app/default.xpm ${startdir}/pkg/usr/lib/firefox/chrome/icons/default/
install -m644 ${startdir}/src/mozilla/browser/app/default.xpm ${startdir}/pkg/usr/lib/firefox/icons/

da sostituire con le seguenti.

install -m644 ${startdir}/src/mozilla/dist/branding/default.xpm ${startdir}/pkg/usr/lib/firefox/chrome/icons/default/
install -m644 ${startdir}/src/mozilla/dist/branding/default.xpm ${startdir}/pkg/usr/lib/firefox/icons/ 

Salva ed esci, lanciare.


Ci vorrà del tempo, dipende anche dal sistema. Una volta creato il pacchetto va rimossa la versione di Firefox installata nel sistema.

pacman -Rd firefox

Installare la versione personalizzata.

pacman -A firefox-*.pkg.tar.gz

Si può anche provare ad aggiornare la versione precedente con.

pacman -U firefox-*.pkg.tar.gz

Ovviamente va sostituito l'asterisco * con la versione di firefox scelta.


  • CCK Wizard - Allows you to customize every aspect of Firefox. Title bar, user agent, icons, about graphic, and a lot more.
  • User Agent Switcher - Adds a menu and a toolbar button to switch the user agent of the browser.

Configurazione Avanzata

Enter about:config in your Firefox address bar to access the advanced configuration. In the filter enter useragent.extra.firefox. You will see your current user-agent string; you may put whatever you want in there. If you want to make it appear as the default version of Firefox to websites enter: Firefox/ Modify accordingly if there is a newer version.

Branding senza ricompilare

To brand "Bon Echo" without recompiling the whole browser, you need to replace the Bon Echo icons with the official Firefox icons, and change the strings "Bon Echo" and "BonEcho" in a few files. The firebrand script takes care of this. Run it after an upgrade or installation of firefox. To revert to the Bon Echo brand again, simply reinstall firefox. The script will by default download the icons every time it is run. To "cache" the icons locally for later firefox upgrades, set the NEWICONSDIR variable to a suitable directory, for instance



Before you try to install extensions, make sure that your /tmp directory was created with the right permissions. If addons won't install, chmod 777 /tmp should fix it.

  • Adblock Plus - Surprisingly, it blocks ads.
  • MediaPlayerConnectivity - Allow you to launch an embedded video from a website in an external application. Good for those who have problems with media plugins.


To find out what plugins you have installed enter about:plugins in the Firefox address bar.

  • Flash
pacman -S flashplugin
You may need to install ttf-ms-fonts (pacman -S ttf-ms-fonts) for flashplayer to render text properly.
  • Mplayer - Mplayer's multimedia plugin is one of the most mature. This will generally cover everything you need.
pacman -S mplayer-plugin
  • Java
pacman -S jre
  • Citrix
(see Citrix how-to)
  • Adobe Reader

Adobe Reader is only available in the AUR due to licensing issues.

yaourt -S --aur acroread

Tips & Tricks



Modifying the following value has been known to improve the way fonts looks in Firefox. Type about:config into your address bar. Type dpi into the filter and change layout.css.dpi to 0.

Rimpiazzamento dei Font

Another way to improve how fonts look is to replace them with another. Add or create a .fonts.conf with the following.

<match target="pattern" name="family" >
       <test name="family" qual="any" >
       <edit mode="assign" name="family" >
               <string>Bitstream Vera Sans</string>

The first font name is the one we would like to replace. The second is the one we will be replacing it with.

Configurazione dei Font

For more information on font configuration, please read Xorg Font Configuration.

Alleggerire, Accellerare Firefox / Sistemare i fonts e i problemi dei controlli

Also font fix for Mozilla suite

Try to add


to /etc/profile and logout.

Perchè ottengo questo errore quando clicco col tasto centrale del mouse?

! The URL is not valid and cannot be loaded.

You may also get unexpected behavior like looking up a random webpage.

The reason stems from the use of the middle mouse buttons in UNIX-like operating systems. The middle mouse button is used to paste whatever text has been highlighted/added to the clipboard. Also, there is a feature in Firefox which defaults to loading the url of the corresponding text when it is depressed. This can be disabled like so:

Open the browser, and type the following into the address bar:


search for 'middlemouse.contentLoadURL' and set it to false.

Perchè il pulsante backspace non esegue la funzione 'Indietro'?

As i found here, this feature was removed to fix a bug. But you can get it back!

Open the browser, and type the following address:


search for 'browser.backspace_action' and set it to 0 (zero).

Articoli con ulteriori consigli

Derivati di Firefox

  • Iceweasel - The name of two different Firefox forks. One is a GNU project based on Firefox 1.5. The other is being developed by Debian and is based on 2.0. At the time of writing the AUR does have the GNU version of Iceweasel.
  • Swiftfox - An optimized and processor-specific build of Firefox. Currently available via AUR. It should be noted that, considering Arch Linux has ABS, you could build your own optimized build of Firefox.
  • Swiftweasel - Mostly like Swiftfox, but the binaries aren't under proprietary license. Some PKGBUILDs are available in AUR.

Alternative a Firefox

  • Opera - A very full-featured web suite. Closed source but free (as in beer).
  • Epiphany - GNOME's default web browser. Uses the same rendering engine as Firefox.
  • Konqueror - KDE's default web browser. Uses the KHTML rendering engine.
  • Dillo - A very lightweight web browser.
  • SeaMonkey - The continuation of the original Mozilla suite. Includes web browser, email client, etc.
  • Midori - A webkit-based GTK+ browser. Lightweight and early-development but plenty of features already.

Links Esterni