[Users] attachment 'open with' filepath screwed

Michael codejodler at gmx.ch
Fri Mar 28 22:15:34 CET 2014


What's up here ? I tried to insert xpdf '%s' as viewer, for pdf attachments, via 'open with' dialog.

But xpdf did not appear.

claws mail --debug outputs this:

inputdialog.c:471:return string = xpdf  '%s'
utils.c:3371:execute_command_line(): executing: xpdf  '/home/mima/.claws-mail/mimetmp/0000000b.testfile.pdf'
error: "" file not found

and nothing further happens.

I switched back to okular, and this seems to be also screwed now:

inputdialog.c:471:return string = okular  '%s'
utils.c:3371:execute_command_line(): executing: okular  '/home/mima/.claws-mail/mimetmp/0000000a.testfile.pdf'
okular(4766)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
KDirWatch: "/home/mima" is a directory. Use addDir! 
okular(4766)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know "/home/mima" 

and what happens is, okular opens two windows, one with the attachment, the other with the users home folder contents.

If i do a comnandline 

# okular  '/home/mima/.claws-mail/mimetmp/0000000a.testfile.pdf' 

(just copied from the debug output)

there's only the one window with the pdf file in question.

It appears claws appends some extra junk after the file path ?

This is claws 3.9.3 and i'm really puzzled.




More information about the Users mailing list