/home/bill/System_maintenance/LibreOffice notes.txt ************************* 06Jan2018 search "LibreOffice Calc and how do I start from the command line?" How to open a file with LibreOffice Writer from Terminal You can do it by libreoffice --writer file.odt If it is an odt file, you can open it just by libreoffice file.odt Some file formats can be opened by different LO applications, then you need to specify which one to use. … ************************* 06Jan2018 COOL!!! https://superuser.com/questions/1135850/how-do-i-run-a-libreoffice-macro-from-the-command-line-without-the-gui How do I run a LibreOffice macro from the command line without the GUI? I want to run a LibreOffice macro on .odt file(s) from the command line. Because I want to scale this up to applying the macro to multiple files, I don't want the GUI to pop-up in each execution of the macro. I currently have a working macro (that also closes the file at the end) and as far as I can find, I should be able to call it as followed: soffice --invisible --nofirststartwizard --headless --norestore "D:\myFolder\my file.odt" "macro:///Standard.Module1.myMacro" or swriter --invisible --nofirststartwizard --headless --norestore "D:\myFolder\my file.odt" "macro:///Standard.Module1.myMacro" Both commands execute the macro correctly, however the GUI opens and closes during execution. How do I prevent this? I am working on a Windows 10 Computer and Help>About LibreOffice gave the following info: edited Oct 17 '16 at 15:23 asked Oct 17 '16 at 15:11, dimpol The problem is that even though LibreOffice is invisible when started, it becomes visible after opening a document. There is a solution at https://forum.openoffice.org/en/forum/viewtopic.php?f=5&t=22548: Run LibreOffice headless to call a macro. The command line call should not specify the document to open, just a macro. For example (using the newer macro syntax): soffice -headless -invisible "vnd.sun.star.script:Standard.Module1.MySubroutine? language=Basic&location=application" The macro calls loadComponentFromUrl with the Hidden property set to true. This will cause the document to not become visible. Now the macro performs whatever it was going to do with the document. EDIT: To make it work for different files, pass the filename as a parameter using the older macro syntax. An example from https://forum.openoffice.org/en/forum/viewtopic.php?f=20&t=8232: soffice "macro:///Library3.Module1.test_Args(arg1,123,4.567,2000-12-31)" shareimprove this answer edited Oct 19 '16 at 3:18 answered Oct 18 '16 at 13:03, Jim K ************************* 30Dec2017 I need Courrier 10 font! https://ask.libreoffice.org/en/question/43914/where-do-i-download-libre-font-sets-i-dont-see-a-link-on-librecom/ LibO comes with big package of fonts. You can look in the internet for additional fonts. Here are a few links: http://www.openfontlibrary.org/ http://www.fontspace.com/category/open http://designbeep.com/2012/07/07/20-f... This link can assist you in identifying fonts: http://www.identifont.com/similar?2D8 Installation must be done according to your OS. LibreOffice links to you fonts automatically. link Comments To add, I've found usable fonts at http://www.dafont.com/ and http://www.fontsquirrel.com , but finding free fonts seems to be really easy on Google even for me. Companies and other similar things need to be sure to look for commercially-usable fonts so there won't be problems. Many are, at least on Dafont. rautamiekka gravatar imagerautamiekka ( Dec 21 '14 ) @rautemiekka - Thanks for the additional links.which contain also interesting fonts. ROSt52 gravatar imageROSt52 ( Dec 21 '14 ) Heh, no problem. If your Google is completely in either American or British English including results (well, mine is meant to return Finnish too, but mostly it doesn't), you can put free fonts to get a rather long list of sites offering free fonts. rautamiekka gravatar imagerautamiekka ( Dec 21 '14 ) >> Rather than install Courrier 10 pitch, I used already-installed DejaVu Sans Mono. # enddoc