element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
NexGen Flight Simuator Why in the world does .ppt files exist
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: phoenixcomm
  • Date Created: 6 Jun 2016 9:05 PM Date Created
  • Views 627 views
  • Likes 3 likes
  • Comments 4 comments
  • nexgen
  • sell
  • power point
  • softwere
  • pdf
  • ppt2pdf guide
  • linux shell programing
  • ppt file type
  • libreoffice
Related
Recommended

Why in the world does .ppt files exist

phoenixcomm
phoenixcomm
6 Jun 2016

This may sound harsh, but coming from the Linux world, to put it bluntly, they are just a pain in my tush! So every time I open a ppt slideshow with imageLibreOffice, and then it is in an editable mode, and that is no good. But then I can "Export" it as a pdf file. (PIMA) but by rooting around on the Internet today I found I can run LibreOffice in a headless mode.

 

libreoffice --headless --invisible --convert-to pdf  .pdfimage

 

So I can now put it together in a little shell script and save it to my Desktop:

 

#! /bin/bash

echo "This is a PowerPoint (ppt) to (pdf)"

echo "looking for the form of  *123.ppt  not *.ppt"

echo "Enter Filename:  "

read filename

echo $filename

libreoffice --headless --invisible --convert-to pdf  $filename

/usr/local/bin/libreoffice --headless --invisible --convert-to pdf  $filename

 

You will now have to make it executable.  You can do this two ways:

  1. Find the ppt-2-pdf.sh and right-click on it and open the property's dialog and make it executable.
  2. If you are in your shell you can chmod it.  $chmod +x ppt-2-pdf.sh  The +x made it executable.

Now here it is in action:

 

harrison@Whirlwind /mnt/MyData/home/harrison/school/Design News $ ../../Desktop/ppt-2-pdf.sh

This is a Power Point (ppt) to (pdf)

looking for the form of  *123.ppt  not *.ppt

Enter Filename:

*1.ppt

DN-CEC-Mastering-the-Embedded-Design-Cycle-Day1.ppt

convert /mnt/MyData/home/harrison/school/Design News/DN-CEC-Mastering-the-Embedded-Design-Cycle-Day1.ppt -> /mnt/MyData/home/harrison/school/Design News/DN-CEC-Mastering-the-Embedded-Design-Cycle-Day1.pdf using filter : impress_pdf_Export

Overwriting: /mnt/MyData/home/harrison/school/Design News/DN-CEC-Mastering-the-Embedded-Design-Cycle-Day1.pdf

 

 

Keep Tuned in, More to Come

image Cris ~

 

UPDATE 9JUN2k16:

I have a /usr/local/scripts file  and that's where I put it. but it didn't work image

I had to change the last line
FROM: libreoffice --headless --invisible --convert-to pdf  $file

TO: /usr/local/bin/libreoffice --headless --invisible --convert-to pdf    $filenameimage

  • Sign in to reply

Top Comments

  • clem57
    clem57 over 10 years ago +1
    In the Microsoft windoze world these would make sense. But that was before PDF's caught on. I still have problems with PDF files too. Wish an open source version like PNG files existed. Clem
Parents
  • clem57
    clem57 over 10 years ago

    In the Microsoft windoze world these would make sense. But that was before PDF's caught on. I still have problems with PDF files too. Wish an open source version like PNG files existed.

    Clem

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • clem57
    clem57 over 10 years ago

    In the Microsoft windoze world these would make sense. But that was before PDF's caught on. I still have problems with PDF files too. Wish an open source version like PNG files existed.

    Clem

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube