Ask Your Question

Put LibreOffice as unedited document viewer only [closed]

asked 2013-03-13 00:15:11 +0200

jathan gravatar image

updated 2013-04-22 20:53:17 +0200

manj_k gravatar image

Hi everybody, Can you tell me please how can I put LibreOffice as document viewer without any edition possibility in the content for any archive please? Thank you very much.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2015-10-26 21:56:06.906864

4 Answers

Sort by » oldest newest most voted

answered 2013-03-14 02:09:08 +0200

jathan gravatar image

Hi qubit, thank you very much for your comments and suggestions ;) It is a good idea allowing editing reverting the files every so often in the lab, but we need no one kind of editing like in odfviewer:, pptview for powerpoint presentations or Evince or Adobe Reader for PDF documents. Any idea to use LibreOffice as read-only ODF documents permament aplication? Thanks.

edit flag offensive delete link more


@jathan - There is a '--view' command-line switch that can be used to open a single document in Read-only mode, but based on what you've described, it sounds like LibreOffice might need a more all-encompassing 'Viewer' mode.

It sounds like your best bet is to file an enhancement bug and describe exactly how this Viewer should work (what can the user modify/config?)

qubit gravatar imagequbit ( 2013-03-14 12:34:13 +0200 )edit

Hi qubit, How are you? I sent a bug report already: I hope this will be considerated for the new LibreOffice version. Sorry for comment it so far. Thanks for all your help pal.

jathan gravatar imagejathan ( 2013-04-08 19:43:11 +0200 )edit

answered 2013-03-15 01:44:14 +0200

jathan gravatar image

Thank you very much for your help again qubit ;) I will do the file an enhancement bug and describe exactly how this Viewer should work. Thanks pal.

edit flag offensive delete link more

answered 2013-03-13 02:58:23 +0200

jathan gravatar image

updated 2013-03-13 03:01:46 +0200

Hi qubit, thank you very much foy your answer pal. Yeah, I would like to know how to put the option to open as read-only by default in all LibreOffice aplications (Writer, Impress, Calc, Draw, Base and Math) using LinuxMint for when a user opens an odt., odp., .ods and other, double-clicking on the document and taking LibreOffice as default application can not edit the content as this I have to implement in the computer lab where I am working on 40 computers and users that only view their documents but do not come with LibreOffice editing because it is a space to explore and visualize all types of documents around. Following your intuition, i try execute the next orders in the terminal for remove write privileges in user, group and others:

root@debian:/home/jonathan# chmod ugo-w /usr/bin/libreoffice

but in this directory libreoffice is a symbolic link, so then I try in the .config directory of my home:

root@debian:/home/jonathan# chmod -R ugo-w /home/jonathan/.config/libreoffice/

but when I try to open LibreOffice in general or a .odt file directly, the LibreOffice logo appear, the window open and inmediatly closes, so when I restore the original privileges:

root@debian:/home/jonathan# chmod -R ugo+w /home/jonathan/.config/libreoffice/

I can use LibreOffice normally again Do yo know what I am doing wrong? Thanks

edit flag offensive delete link more


@jathan, I'm not sure that chmod-ing the directory for your user profile is going to help here. What about chmod-ing the ODF files directly?

qubit gravatar imagequbit ( 2013-03-13 03:46:32 +0200 )edit

@jathan, Also -- for your lab, what about allowing editing, but just reverting the files every so often (every hour? on login/logout?).

qubit gravatar imagequbit ( 2013-03-13 03:55:58 +0200 )edit

answered 2013-03-13 02:28:29 +0200

qubit gravatar image

Hi @jathan,

I'm not quite sure what you're asking here. Could you please describe your particular use case(s) so that we know what to suggest?

If you're looking to provide a viewer on top of an archive of content, perhaps you could set up the file system or directory on the the file system to be read-only. That way LibreOffice could read the files, but not make changes to them...

edit flag offensive delete link more

Question Tools


Asked: 2013-03-13 00:15:11 +0200

Seen: 3,735 times

Last updated: Mar 15 '13