Ask Your Question
0

Change default Paths for many users without using GUI

asked 2017-04-28 22:09:46 +0200

kducon gravatar image

Hello,

I have been searching how to change Paths within libreoffice calc but most of the answers here suggest changing Paths Options in GUI (Menu/Tools/Options/Libreoffice/Paths) but the thing is that I would like to change paths for many users within my organization, so do this manually is not feasible. As we are windows users, I was thinking in a policy to change values where Paths are located, but I would like to do this directly where these paths are stored.

So question is, Where you can find Path values for the users without using the option mentioned above? Is there any configuration file (like about:config in Mozilla Firefox).

Thanks in advance for any help that anyone can provide me.

Regards,

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2017-04-28 22:27:00 +0200

Regina gravatar image

updated 2017-04-29 00:36:36 +0200

The user path in the file bootstap.ini in the installation directory in folder program. It has a line UserInstallation=$SYSUSERCONFIG/LibreOffice/4. The path is in URL notation.

Find some more information in https://ask.libreoffice.org/en/questi...

This changes the path to the whole "user" folder. If LibreOffice does not find a "user" folder at that place, it will generate a new one. Each user needs an own folder.

But reading your question again, it seems, you do not want to change the path of the user folder, but only some Paths settings made in Tools > Options?

A lot of information is stored in the file registymodifactions.xcu in the user folder, including the path settings for e.g. to templates, in case they differ from default. You can start LibreOffice with a dummy user. Make all changes in Tools > Options > LibreOffice > Paths, which you want to be common for all users. I see absolute paths for the made changes and variable $(user). I don't know whether other variable exists. The file is a simple xml file, so try and then look at it. You can deploy such file, but an existing user will loose settings, which he had made in Tools > Options and he will loose his history. Perhaps it is better to read the existing files and only change or add the Paths nodes. That should be possible with a script.

edit flag offensive delete link more

Comments

Hello, Thanks for your answer, Will this option change all Paths? because in our case we need to keep current default paths (My Documents,Galleries, Images) but change other paths like backups,autotext, autocorrect, etc. So we cannot change all buth some of them. Regards,

kducon gravatar imagekducon ( 2017-04-28 23:12:48 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-04-28 22:09:46 +0200

Seen: 190 times

Last updated: Apr 29 '17