Re: Print Preview starts some other weird application on DWM!

From: Roger <rogerx.oss_at_gmail.com>
Date: Sat Sep 24 2011 - 10:22:14 CEST

> On Sat, Sep 24, 2011 at 08:23:08AM +0200, Morten Juhl-Johansen Zölde-Fejer wrote:
>
>> > On Sat, Sep 24, 2011 at 12:16:49AM +0200, Morten Juhl-Johansen
>> > Zölde-Fejér wrote:
>> >
>> >On Thu, 22 Sep 2011 22:54:33 -0800, Roger wrote:
>> >> Just noticed, print previews starts Calibre (QT), when isn't even
>> >> related to Abiword
>> >> (Gnome). And, I'm using DWM and no Gnome or KDE here.
>>
>> >I would assume it is associated by default with some sort of
>> >print-ready format which Abiword usually summons Evince to display?
>>
>> The reply doesn't make any sense.
>>
>> If Abiword is calling a static external application, it shouldn't as
>> the user might not have it installed.
>>
>> And, if there is something being called statically, it should be
>> easily configured not to.
>
>What you may want to do is set a
>gtk-print-preview-command="xpdf -q %f"
>or something along those lines in your ~/.gtkrc-2.0 file,

$ abiword --verbose=2

(abiword:6697): Gtk-WARNING **: Error launching preview Failed to execute
child process "evince" (No such file or directory)

Eh. Funny! It's actually piping my .abw personal document based on a mime
definition set by Calibre, and then sending it to Calibre.

I think this could be considered a slight bug.

Anyways, fgrepping and find around, and found two files belonging to Calibre:

/usr/share/applications/calibre-ebook-viewer.desktop
/usr/share/applications/calibre-gui.desktop
MimeType=text/html;application/ereader;application/oebps-package+xml;application/x-sony-bbeb;text/rtf;application/pdf;application/x-cbz;application/x-mobipocket-ebook;application/x-cbr;text/fb2+xml;application/vnd.oasis.opendocument.text;application/epub+zip;text/plain;application/xhtml+xml;

So, just wait until I design an XYZ app and assign every filetype on your
system to be imported and opened by my XYZ app!

-- 
Roger
http://rogerx.freeshell.org/
-----------------------------------------------
To unsubscribe from this list, send a message to
abiword-user-request@abisource.com with the word
unsubscribe in the message body.
Received on Sat Sep 24 10:22:34 2011

This archive was generated by hypermail 2.1.8 : Sat Sep 24 2011 - 10:22:34 CEST