Discussion:
[referencer] referencer using acroread when started in terminal
Dominik Kriegner
2013-05-27 21:27:17 UTC
Permalink
Hi all,

I have a question about the behavior of referencer. Today when testing
the new 1.2.1 release (thank for the new release and your continued
effort to work on referencer!) I found that referencer is using
acroread when I start it from the terminal.

When started from gnome applications or via alt+F2 it uses my default
pdf-viewer evince for viewing the documents linked to my library.

any idea why the behavior is different when started from gnome-terminal?

regards

Dominik
Mads Chr. Olesen
2013-05-28 09:05:32 UTC
Permalink
Post by Dominik Kriegner
I have a question about the behavior of referencer. Today when testing
the new 1.2.1 release (thank for the new release and your continued
effort to work on referencer!) I found that referencer is using
acroread when I start it from the terminal.
When started from gnome applications or via alt+F2 it uses my default
pdf-viewer evince for viewing the documents linked to my library.
any idea why the behavior is different when started from
gnome-terminal?
There is an old bug at https://bugs.launchpad.net/referencer/+bug/401837
in the same area, which was fixed in
http://bazaar.launchpad.net/~referencer-devs/referencer/trunk/revision/857

Basically, Referencer uses GNOME's GIO to open the document in the
default viewer, since version 1.2.0. You should get approximately the
same behavior using "gvfs-open docname.pdf" in the terminal. What
happens if you use Nautilus to open the file?

However, I also recall that the acroread package adds some
bash-completion stuff which might also influence the results.
--
Mads Chr. Olesen <mads at mchro.dk>
Dominik Kriegner
2013-05-28 19:26:44 UTC
Permalink
In fact on my system in
.local/share/applications/mimeapps.list acroread was entered under
[Added Associations]
I have now idea how it came there, this triggered the use of acroread
when executing
"gvfs-open docname.pdf" in terminals
however
Alt+F2: "gvfs-open docname.pdf"
was using evince as it happened when i open files via nautilus

thanks for the hints to solve this, this was obviously not related to referencer
sorry for the noise
Post by Mads Chr. Olesen
Post by Dominik Kriegner
I have a question about the behavior of referencer. Today when testing
the new 1.2.1 release (thank for the new release and your continued
effort to work on referencer!) I found that referencer is using
acroread when I start it from the terminal.
When started from gnome applications or via alt+F2 it uses my default
pdf-viewer evince for viewing the documents linked to my library.
any idea why the behavior is different when started from
gnome-terminal?
There is an old bug at https://bugs.launchpad.net/referencer/+bug/401837
in the same area, which was fixed in
http://bazaar.launchpad.net/~referencer-devs/referencer/trunk/revision/857
Basically, Referencer uses GNOME's GIO to open the document in the
default viewer, since version 1.2.0. You should get approximately the
same behavior using "gvfs-open docname.pdf" in the terminal. What
happens if you use Nautilus to open the file?
However, I also recall that the acroread package adds some
bash-completion stuff which might also influence the results.
--
Mads Chr. Olesen <mads at mchro.dk>
_______________________________________________
referencer mailing list
referencer at icculus.org
http://icculus.org/mailman/listinfo/referencer
Loading...