I had this bug come up with epiphany when doing my UK Tax Return -
extremely annoying because that is a rather important PDF. At first, I
thought the problem was Gimp but then I found this bug and tested with
iceweasel which used DocumentViewer (evince) as it should.

Re: #20
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526958#20

> Just to be sure, does $XDG_DATA_HOME contain /usr/share/gnome, and
> is /etc/gnome/defaults.list correct?

/etc/gnome/defaults.list was correct (AFAICT):

$ grep pdf /etc/gnome/defaults.list 
application/pdf=evince.desktop
application/x-bzpdf=evince.desktop
application/x-gzpdf=evince.desktop

However, XDG_DATA_HOME was not set, only _DIRS:

$ printenv | grep XDG
XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/

Starting a new gnome-terminal, exporting the value:
$ export XDG_DATA_HOME=/usr/share/gnome
and then starting epiphany-browser from that terminal, the PDF opens in
evince.

Close all epiphany windows, start epiphany from the menu, the a PDF
opens in Gimp import again.

Close that window, start epiphany-browser from the terminal with
XDG_DATA_HOME exported, the PDF opens in evince.

I'll be putting XDG_DATA_HOME into ~/.bashrc but I've no idea why it
wasn't already set by something within epiphany/GNOME.

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgpEZgyDYbXFo.pgp
Description: PGP signature

Reply via email to