Bug#439129: gtk print preview fallback command

Martintxo martintxo at sindominio.net
Wed Aug 22 14:27:18 UTC 2007


Package: libgtk2.0-0
Version: 2.10.13-1
Severity: wishlist

Hello:

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.

That's all. Many thanks for the great work. Greetings. Martintxo.

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.18

Debian Release: lenny/sid
  500 testing         security.debian.org 
  500 testing         ftp.fr.debian.org 
  500 testing         ftp.eq.uc.pt 

--- Package information. ---
Depends                  (Version) | Installed
==================================-+-==============
libgtk2.0-common     (= 2.10.13-1) | 2.10.13-1
libatk1.0-0            (>= 1.13.2) | 1.18.0-2
libc6                   (>= 2.5-5) | 2.6-2
libcairo2               (>= 1.4.0) | 1.4.10-1
libcupsys2              (>= 1.2.7) | 1.2.12-1
libfontconfig1          (>= 2.4.0) | 2.4.2-1.2
libglib2.0-0           (>= 2.12.9) | 2.12.13-1
libgnutls13           (>= 1.6.3-0) | 1.6.3-1
libjpeg62                          | 6b-13
libpango1.0-0          (>= 1.16.4) | 1.16.5-1
libpng12-0           (>= 1.2.13-4) | 1.2.15~beta5-2
libtiff4                           | 3.8.2-7
libx11-6                           | 2:1.0.3-7
libxcursor1             (>> 1.1.2) | 1:1.1.8-2
libxext6                           | 1:1.0.3-2
libxfixes3            (>= 1:4.0.1) | 1:4.0.3-2
libxi6                             | 2:1.1.2-1
libxinerama1                       | 1:1.0.2-1
libxrandr2            (>= 2:1.2.0) | 2:1.2.1-1
libxrender1                        | 1:0.9.2-1
zlib1g                (>= 1:1.2.1) | 1:1.2.3.3.dfsg-5




.... Fortunes power :-P ....
El que nace para buey, hasta la yunta lame. 





More information about the pkg-gnome-maintainers mailing list