On Mon, Jan 17, 2011 at 07:22:33PM +0000, Raj Shekhar wrote:
> After lot of fiddling around, here are the config settings that work for me on
> mac osx.
> 
> external_content_handlers =
>     {
>         application: {
>             pdf: "/usr/bin/open"
>         }
>     };
> content_handlers.set("application/pdf", content_handler_open);
> delete_temporary_files_for_command=false;
> 
> Once you have added this to your .conkerorrc, whenever you click on a pdf file
> conkeror will be able to open it using your system's default pdf viewer.
> 
> delete_temporary_files_for_command=false makes sure that conkeror does not
> deletes the downloaded file once the "open" command returns back.  Without it,
> the pdf viewer will not find the downloaded pdf file. 


Good tip.  We'll have to find a good spot on the wiki for information
about using delete_temporary_files_for_command with handler programs that
fork.

-- 
John Foerch
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to