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.

VN:F [1.9.13_1145]
Rating: 10.0/10 (3 votes cast)
VN:F [1.9.13_1145]
Rating: 0 (from 0 votes)
Integrar Evince en Firefox para visualizar PDFs, 10.0 out of 10 based on 3 ratings

Acciones

Informaciones

9 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.13_1145]
    Rating: 0.0/10 (0 votes cast)
    VA:F [1.9.13_1145]
    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.13_1145]
        Rating: 0.0/10 (0 votes cast)
        VA:F [1.9.13_1145]
        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.13_1145]
          Rating: 0.0/10 (0 votes cast)
          VA:F [1.9.13_1145]
          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.13_1145]
            Rating: 0.0/10 (0 votes cast)
            VA:F [1.9.13_1145]
            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.13_1145]
              Rating: 0.0/10 (0 votes cast)
              VA:F [1.9.13_1145]
              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.13_1145]
                Rating: 0.0/10 (0 votes cast)
                VA:F [1.9.13_1145]
                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.13_1145]
                  Rating: 0.0/10 (0 votes cast)
                  VA:F [1.9.13_1145]
                  Rating: 0 (from 0 votes)
                  • At 2010.12.15 22:48, fernando6867 said:
                    Epiphany 2.30.6 Debian GNU/Linux

                    gracias che,

                    yo uso debian/squeeze, a mi me quedo el /etc/mozpluggerrc,

                    application/pdf:pdf:PDF file
                    application/x-pdf:pdf:PDF file
                    text/pdf:pdf:PDF file
                    text/x-pdf:pdf:PDF file
                    ACROREAD()
                    repeat noisy swallow(kpdf) fill: kpdf &#34$file&#34
                    repeat noisy swallow(Xpdf) fill: xpdf -g +9000+9000 &#34$file&#34
                    repeat noisy swallow(okular) fill: okular &#34$file&#34
                    repeat noisy swallow(epdfview) fill: epdfview &#34$file&#34
                    repeat noisy swallow(evince) fill: evince &#34$file&#34
                    GV()
                    repeat noisy fill exits: evince &#34$file&#34

                    le agregué solo;
                    repeat noisy swallow(evince) fill: evince &#34$file&#34

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