At 09:15 27/05/2015 -0400, Gary Dale wrote:
At 10:22 27/05/2015 +0900, Thomas Noname wrote:
Is there a trick to tell LibreOffice, in particular Calc, to open
Lotus 123 allows to specify a folder and then opens the files
therein automatically whenever the software is started. For those
administrative tasks, a set of 2-3 files, this is VERY convenient.
I would like to convert those 123-files into Calc format and have
Calc open them *automatically* whenever I start Calc.
I have no problem starting Calc nor opening several spreadsheets
"automatically". I select the sheets I open in Dolphin (or any other
file manager) and right-click on the selection then select "Open
with". Calc is the default program to open .ods documents so they all open.
It's easy to solve a problem by changing the problem! This isn't what
the questioner means by "automatically". He no doubt understands the
idea of file association that you describe here (when you surely
don't need "open with" anyway?). Instead, he wants a specific set of
files to open without their being selected each time: that's his
meaning of "automatic".
Since the OP wants a job to run at startup, simply use the
command-line to do the job:
libreoffice --calc -o <file1> -o <file2> ...
Put that into a script or a link to a script in your "Autostart"
folder (.kde/Autostart on my KDE system).
To open all the files in a folder, just use a loop like this:
for f in *; do; libreoffice --calc -o $f; done
No, he doesn't want it at start-up, it seems, but instead when he
starts LibreOffice. But something like this as a desktop shortcut or
menu item (not in the start-up folder) is no doubt ideal.
To unsubscribe e-mail to: email@example.com
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Impressum (Legal Info)
: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (MPLv2
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our trademark policy