Setting for DataDirectory

English speaking general discussion, ideas and suggestions, news, open source development
TheDrummer
Messages : 3
Inscription : 22 juin 2018, 13:46

Setting for DataDirectory

Message par TheDrummer » 09 oct. 2018, 11:54

Hello,

I want to change the directory where OpanBoard stores my data. I added in the file OpenBoardUser.config the line

Code : Tout sélectionner

DataDirectory=C:/Users/UserName/Documents/OpenBoard
in the App section, and the Directory exists. However, this Setting is ignored, if I run OpenBoard again, new documents are still stored in the default directory.

What is going wrong? I am using Windows 10 1803.

Michael

cristaldis
Messages : 40
Inscription : 30 janv. 2018, 17:01

Re: Setting for DataDirectory

Message par cristaldis » 30 oct. 2018, 15:16

Hi,

Your syntax is right. I see you trying to edit the OpenBoardUser.config file. I suggest you modify in the same way the OpenBoard.config file instead.
It is located in : C:\Program files (x86)\OpenBoard\etc\

Regards,
Salvatore Cristaldi
openboard.ch

macjaeger
Messages : 2
Inscription : 20 janv. 2019, 12:02

Re: Setting for DataDirectory

Message par macjaeger » 20 janv. 2019, 12:58

According to documentation this setting should work from both OpenBoard.config and OpenBoardUser.config - but it seems this isn't true, at least not on my systems (windows 10, 64 bit, openboard 1.5.1). Putting the settings into OpenBoardUser.config didn't have any effect; yet placing the same lines into OpenBoard.config works fine. This is no problem on my single-user machine (and using username wildcard might not be a problem an multi-user systems).

But i think it should either work as described in the documentation, or the documentation should be adjusted accordingly.

ramuntcho
Messages : 167
Inscription : 28 juin 2016, 16:04

Re: Setting for DataDirectory

Message par ramuntcho » 20 janv. 2019, 14:11

Hello,

This setting can't be in OpenBoardUser.config... since it indicates where this file is located. It must therefore be located in OpenBoard.config.
The documentation does not mention, unless I am mistaken, that this parameter can also be in OpenBoardUser.config.

Répondre