Bug#439129: gtk print preview fallback command
Sven Arvidsson
sa at whiz.se
Sat Sep 1 21:45:50 UTC 2007
On Wed, 2007-08-22 at 16:27 +0200, Martintxo wrote:
> I was testing the print-preview feature in Sylpheed 2.4.4 on testing. I see
> that when I press the preview button, nothing happens, but in a xterm I can
> see that the system try to starts "evince".
>
> I don't have evince installed, neither any gnome library. I see that in the
> experimentall branch there are a evince-gtk package that doesn't needs gnome,
> but I don't need to install it, I have xpdf for view pdf files.
>
> So I googled a bit, and find at:
> http://library.gnome.org/devel/gtk/unstable/GtkSettings.html#GtkSettings--gtk-print-preview-command,
> that the config for this setting is "gtk-print-preview-command", so I put in
> ~/.gtkrc-2.0 the following:
> gtk-print-preview-command="xpdf -q %f"
> and now I can see the sylpheed print-preview in xpdf.
>
> So, I think that we can put a short of fallback command for view the previews
> in gtk. It can be a list of possible commands, and the fallback one be xpdf
> or gv, for example.
Another possibility would be to use the alternatives system and add a
x-pdf-viewer (or something like that), or a wrapper script to launch the
users preferred viewer (or a fallback command).
--
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20070901/6c910bba/attachment.pgp
More information about the pkg-gnome-maintainers
mailing list