Firefox (Italiano)

From ArchWiki
Revision as of 07:28, 11 September 2008 by Berseker (talk | contribs) (Perchè il pulsante ''backspace'' non esegue la funzione 'Indietro'? -- Come sistemare la faccenda)
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 is an open-source graphical web browser from Mozilla. The Firefox package in Arch Linux is compiled without official branding. This means that when you start Firefox it will use a blue globe for its icon and will be named after its release series' codename. This has to be done because a distribution may use the name "Firefox" and its artwork only if there are no unofficial modifications (i.e. no custom patches).

Abilitare il Firefox Branding

If you would like to enable branding or simply change the user agent there are a fews ways to do it. You can recompile, modify the browser with extensions, or use the advanced configuration. Please note that distributing such a version would be against the law!


The following procedure is for the 2.x version of Firefox. A branded version of Firefox 3.0.1-2 is available via AUR here. We will use ABS to rebuild Firefox. Make sure you have cvsup and wget installed. Now run


If this is your first time running abs it may take a while. Subsequent runs will be much faster. Before you make any custom package you should run abs. Now perform the following.

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

Now use your favorite editor and open the mozconfig file. Add the following line to the end of the file.

ac_add_options --enable-official-branding

Save and exit, then run

md5sum mozconfig

Copy the string and then open the PKGBUILD file. Now look at the source and md5sums arrays. You can match up the md5sum to the file by comparing these two. Mozconfig is second on the sources list. So we would modify the second md5sum with the string we obtained earlier.

Replace this line:

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

with the following:

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

Now scroll down and look for these two lines.

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/

Replace them with the following

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/ 

Save and exit, then run


This may take some time depending on your system. Once it has created the package, remove your current version of Firefox if you have it installed.

pacman -Rd firefox

Then install the new version with

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

You may also try upgrading your current Firefox with.

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

Of course, replace * with your version number.


  • 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