LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices



Reply
 
Search this Thread
Old 10-21-2007, 11:32 PM   #1
sdexp
Member
 
Registered: Sep 2003
Location: USA
Distribution: Ubuntu Linux
Posts: 103

Rep: Reputation: 15
Getting Evince to Work in Firefox in Gutsy


If you upgraded to Ubuntu 7.10 Gutsy Gibbon then you probably had problems getting evince to show PDF documents still.

Make sure you do this
Code:
apt-get remove mozpluggerrc
apt-get install mozpluggerrc
So here's what you should do to /etc/mozpluggerrc

Code:
...

application/pdf:pdf:PDF file
        repeat swallow(evince) fill: evince "$file"
application/x-pdf:pdf:PDF file
        repeat swallow(evince) fill: evince "$file"
text/pdf:pdf:PDF file
        repeat swallow(evince) fill: evince "$file"
text/x-pdf:pdf:PDF file
        repeat swallow(evince) fill: evince "$file"
        repeat swallow(documentShell) fill: acroread5 -geometry +9000$
        repeat swallow(acroread) fill: acroread7 -openInNewWindow "$f$
        repeat noisy swallow(kpdf) fill: kpdf "$file"
        repeat noisy swallow(Xpdf) fill: xpdf -g +9000+9000 "$file"
        GV()

...

application/x-postscript:ps:PostScript file
application/postscript:ps:PostScript file
        GV()
        repeat swallow(evince) fill: evince "$file"



...
The ... (ellipsis) means there's more there but don't change it.
 
Old 10-29-2007, 01:34 PM   #2
sdexp
Member
 
Registered: Sep 2003
Location: USA
Distribution: Ubuntu Linux
Posts: 103

Original Poster
Rep: Reputation: 15
I guess this is currently a bug in evince, since my suggestion too does not always work.

In the meantime I suggest that kghostview be used by replacing the above lines containing evince with

repeat noisy swallow(kghostview) fill: kghostview "$file"

This works pretty well.
 
  


Reply

Tags
evince, firefox, gutsy, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gutsy: firefox problem(s) Sjonnie48 Ubuntu 1 10-21-2007 06:07 PM
what is a cheap but functional PCI 802.11G that will work on feisty and gutsy gibson dateofexpiration Ubuntu 3 08-14-2007 03:53 PM
LXer: Ubuntu 7.10 (Gutsy Gibbon) Release Dates and Mark Shuttleworth About Gutsy LXer Syndicated Linux News 0 04-12-2007 05:31 PM
embedding evince wi th mozplugger in firefox Valhalla Linux - Software 1 12-17-2005 06:43 PM
Comment on Evince satimis Linux - Software 2 09-03-2005 05:22 PM


All times are GMT -5. The time now is 08:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration