Ask Your Question
0

Open all documents in Read-Only mode by default

asked 2018-06-01 22:10:01 +0200

dave1231 gravatar image

I've looked all over and and am trying to find a way to open all Documents (xlxs, docx, pptx etc) in Read-Only by default. We have workstations here that do not need to edit Documents only view them when needed.

Any feedback is welcome

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
1

answered 2018-06-23 10:19:19 +0200

You might tweak the shell integration for LibreOffice filetypes associations. It differs depending on the OS. For example, on Windows, to open ODT in read-only by default (when double-clicking on a file in file manager), you might change default value of HKEY_CLASSES_ROOT\LibreOffice.WriterDocument.1\shell\open\command in registry from "C:\Program Files\LibreOffice\program\soffice.exe" -o "%1" to "C:\Program Files\LibreOffice\program\soffice.exe" --view "%1".

This is not a complete solution, though. E.g., opening files from LibreOffice itself (including the last files list) will not be affected by that change.

edit flag offensive delete link more
1

answered 2018-06-23 10:05:45 +0200

Eaglecat gravatar image

Set the file attibute permissions to readonly for all the documents you don't want changed - then no matter what applications you open the files with they should be locked and remain unchanged.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-06-01 22:10:01 +0200

Seen: 279 times

Last updated: Jun 23 '18