Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am using LibreOffice installed on my Linux box and I seem to be having a weird problem in that the conversion seems to be taking place, and there seem to be no errors, but there is no output file in the specified output directory.

Here is an example of the command I am using:

/opt/libreoffice3.6/program/soffice --headless --invisible --convert-to pdf /dir/file.pptx --outdir /dir

And here is the result of that command:

convert /dir/file.pptx -> /dir/file.pdf using impress_pdf_Export

But the problem is that after running the conversion /dir/file.pdf does not exist.

I tried a doc file and the command worked, and saved properly. Even though the conversion seems to be taking place with the pptx file, it does not seem to save it anywhere, oddly.

Do any of you have any suggestions?

share|improve this question

1 Answer 1

I use this command and it work properly:

libreoffice --headless --invisible --convert-to pdf --outdir ~/dir  ~/dir/file_to_convert.pptx

But if you can convert a .doc file, you should be able to do the same with .pptx file. It's odd...

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.