[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

¡Esta es una revisión vieja del documento!


Firefox

Firefox es un navegador web de código abierto de Mozilla.

Instalación

Firefox se distribuye con Slackware.

Tips

Hacer que Firefox entienda los archivos descargados

Es bastante molesto que Mozilla Firefox siempre olvide qué aplicación usar para “abrir” un archivo que acaba de descargar. Además, el menú contextual “Abrir carpeta que contiene” en la descripción general de Descargas no funciona.

Usando “xdg-open” puede mejorar mucho la integración de Firefox en su entorno de escritorio:

  1. Detenga Firefox si se está ejecutando
  2. Elimine o cambie el nombre de la caché de tipos MIME (donde Firefox mantiene su configuración de asociación de archivos):
    $ rm ~/.mozilla/firefox/<yourprofile>/mimeTypes.rdf
  3. Inicie firefox nuevamente
  4. Descargue cualquier archivo si no lo había hecho antes
  5. Abra ese archivo desde el menú “ Herramientas> Descargas ” (haciendo clic derecho sobre él y seleccionando “ Abrir ”).
    Cuando se le solicite elegir la aplicación para abrir el archivo, busque (o escriba) “ / usr / bin / xdg-open ”, luego marque la casilla de verificación “” 'Recuerde su elección' '“.

Después de configurar Firefox así, funcionarán tanto los menús contextuales ” Abrir “ como ”“ Abrir carpeta que contiene ”. Si está ejecutando KDE, puede cambiar los programas preferidos a través de la configuración de “” asociaciones de archivos “” de KDE.

El mismo truco también funciona para Mozilla Seamonkey.

Enable the builtin PDF viewer in Firefox

The “pdfjs” PDF viewer is built-in in Firefox since version 15.0, this means that there is no need to install a PDF viewer plugin like Adobe Reader additionally. The built-in PDF viewer renders PDF using HTML5 and JavaScript.

The PDF viewer is disabled by default, but that is likely going to change in the future, when the functionality has proven itself. In the meantime, you can enable it as follows:

  • In “about:config” set the property “browser.preferences.inContent” to “true”:
    .
  • Also in “about:config” set the property “pdfjs.disabled” to “false”:
    .
  • Finally, in the Firefox “Preferences > Applications” menu, search for the extension “PDF” and make sure the associated action is set to “preview in firefox”.

That's it! You don't even have to restart Firefox. Try opening a PDF, or even drag a PDF file from a filemanager into the Firefox window.

Troubleshooting

“Open folder containing” opens Audacious instead of a file manager

Known to work with: [Slack 14.1]

  1. Edit /usr/share/applications/mimeinfo.cache
  2. Find the line containing
    inode/directory=
  3. Delete the following string
    audacious.desktop;

This should fix the problem.

Here's a one-liner to do it:

sudo sed -i 's|inode/directory=audacious.desktop;|inode/directory=|' /usr/share/applications/mimeinfo.cache

(I made an icon on my desktop with it in the COMMAND line)

Sources

 es:howtos:software:firefox ()