With Inkscape 0.48.5 on a fresh install of Debian 8.2 KDE, if I open the print dialogue and then select "print preview", I get the message:
"Error launching preview. No application is registered as handling this file."
I presume that since KDE is less popular than Gnome for Debian, Inkscape is looking for something that's not installed by default with the KDE desktop. How does Inkscape look for an application for the print-preview?
Print preview error on Debian KDE
Re: Print preview error on Debian KDE
Is it looking for printing software? Do you have a printer connected to the system?
Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Re: Print preview error on Debian KDE
I do have a printer, an HP Deskjet 3050, and the printing works fine (with the wrong margin size because I have no working preview to check beforehand).brynn wrote:Is it looking for printing software? Do you have a printer connected to the system?
Last edited by Farry on Mon Dec 28, 2015 7:37 am, edited 1 time in total.
Re: Print preview error on Debian KDE
Farry wrote:How does Inkscape look for an application for the print-preview?
Inkscape itself does nothing special - the application which gets called by the 'Print Preview' command in the GTK2 Print dialog is managed via standard GTK2 settings ( gtk-print-preview-command ), and is not configurable from within Inkscape.
I do not know whether KDE / Qt-based Linux Desktops attempt to override this setting, or ship/install gtksettings with a custom default command (for which you possibly miss some dependencies (?)).
Re: Print preview error on Debian KDE
Googling "KDE gtk-print-preview-command" took me to:~suv wrote:... the application which gets called by the 'Print Preview' command in the GTK2 Print dialog is managed via standard GTK2 settings ( gtk-print-preview-command ), and is ...
https://bugs.launchpad.net/ubuntu/+sour ... bug/243233
... which told me that the bug had previously been found on Kubuntu. It seem that KDE (version 4, at least) does not handle gtk-print-preview-command. The fix was given there in the comments:
Add the line: gtk-print-preview-command="okular %f"
to the file: ~/.kde/share/config/gtkrc-2.0
And that works.
Thanks. problem solved for me.