Integrar Evince en Firefox para visualizar PDFs

19 12 2009
PDF embedded

Normalmente al navegar, suele ser necesario visualizar algún documento que esta embebido en PDF dentro de una página web. En mi caso concreto, muchos de los temas y ejercicios de mi universidad son publicados en PDF y embebidos en Moodle. El problema es, que estos documentos embebidos no se muestran o bien buferizan el archivo para su descarga al menos en Ubuntu, cuando realmente lo que se necesita es verlo dentro de la página.

Hasta hace pocos días, me conformaba con poder descargar el pdf y seguir trabajando. Pero se puede solucionar de una manera bastante sencilla.

Primero necesitamos instalar el plugin mozplugger de Firefox:

1
$ sudo apt-get install mozplugger

Después abrimos el archivo /etc/mozpluggerrc para edición:

1
$ sudo gedit /etc/mozpluggerrc

Busca las líneas:

1
2
3
4
application/pdf: pdf: PDF file
application/x-pdf: pdf: PDF file
text/pdf: pdf: PDF file
text/x-pdf: pdf: PDF file

Y añade justo debajo de cada una:

1
repeat noisy swallow(evince) fill: evince "$file"

Debe quedarte algo así:

1
2
3
4
5
6
7
8
application/pdf:pdf:PDF file
    repeat noisy swallow(evince) fill: evince "$file"
application/x-pdf:pdf:PDF file
    repeat noisy swallow(evince) fill: evince "$file"
text/pdf:pdf:PDF file
    repeat noisy swallow(evince) fill: evince "$file"
text/x-pdf:pdf:PDF file
    repeat noisy swallow(evince) fill: evince "$file"

Si tenías abierto Firefox, reinicialo y listo, ya puedes visualizar tus pdf embebidos en webs.

Delicious
VN:F [1.9.3_1094]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.3_1094]
Rating: 0 (from 0 votes)
Integrar Evince en Firefox para visualizar PDFs, 10.0 out of 10 based on 1 rating
Comparte, descargalo en pdf, imprimelo o enviaselo a un amigo!
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • BarraPunto
  • Bitacoras.com
  • Meneame
  • PDF
  • RSS
  • StumbleUpon
  • Technorati

Entradas relacionadas:

  1. Arreglo de Firefox 3.5.x Branding para Ubuntu Jaunty & Karmic
  2. Añadido soporte nativo para audio y video en Firefox 3.1 (Shiretoko)
  3. Cumplir estandar W3C con target=”_blank” utilizando Mootools
  4. Firefox 3.1 Alpha 1 pasa el Acid 3 al 84%
  5. Comandos útiles para IRC en Pidgin


Acciones

Informaciones

8 comentarios

  • At 2009.12.20 09:54, castarco said:
    Google Chrome 4.0.272.0 Linux

    Muchas gracias por el tutorial, es genial! :D

    VA:F [1.9.3_1094]
    Rating: 0.0/10 (0 votes cast)
    VA:F [1.9.3_1094]
    Rating: 0 (from 0 votes)
      • At 2009.12.22 13:35, Informático de Guardia said:
        Mozilla Firefox 3.5.5 Ubuntu Linux

        Muy bueno @Shak (aunque algo largo el procedimiento), gracias por compartirlo.

        VA:F [1.9.3_1094]
        Rating: 0.0/10 (0 votes cast)
        VA:F [1.9.3_1094]
        Rating: 0 (from 0 votes)
        • At 2009.12.24 16:58, gonzalo said:
          Mozilla Firefox 3.5.3 Linux

          Excelente!!! Anteriormente usaba adobe pero se colgaba demasiado, sin duda es mejor contar con la rapidez y fiabilidad de Evince

          VA:F [1.9.3_1094]
          Rating: 0.0/10 (0 votes cast)
          VA:F [1.9.3_1094]
          Rating: 0 (from 0 votes)
          • At 2010.01.09 14:57, Sapiencialinux said:
            Opera 9.80 Windows XP

            Buen aporte. Aunque yo también lo habia visto antes en:
            http://ubuntuforums.org/showthread.php?t=25685
            http://www.ubuntu-es.org/index.php?q=node/19613

            VA:F [1.9.3_1094]
            Rating: 0.0/10 (0 votes cast)
            VA:F [1.9.3_1094]
            Rating: 0 (from 0 votes)
            • At 2010.01.13 06:24, gory said:
              Google Chrome 4.0.288.1 Linux

              pues a mi me sirvió de maravilla para el google-crhome, gracias!!

              VA:F [1.9.3_1094]
              Rating: 0.0/10 (0 votes cast)
              VA:F [1.9.3_1094]
              Rating: 0 (from 0 votes)
              • At 2010.01.20 22:09, Alwar said:
                Debian IceWeasel 3.5.6 Debian GNU/Linux

                Ohhhhhh!!!! Lo necesitabaa! Ya era hora de poder ver los pdf’s del webCT sin tener que bajarlos!!!

                VA:F [1.9.3_1094]
                Rating: 0.0/10 (0 votes cast)
                VA:F [1.9.3_1094]
                Rating: 0 (from 0 votes)
                • At 2010.07.29 06:43, sharki_latem said:
                  Debian IceWeasel 3.5.10 Linux

                  Buena loco !

                  VA:F [1.9.3_1094]
                  Rating: 0.0/10 (0 votes cast)
                  VA:F [1.9.3_1094]
                  Rating: 0 (from 0 votes)
                  (Required)
                  (Required, will not be published)