Four Js Development Tools Forum

Discussions by product => GDC => Topic started by: carl k. on July 11, 2017, 07:20:13 am



Title: Genero Shortcuts for all users in Version 3
Post by: carl k. on July 11, 2017, 07:20:13 am
Is there a way to use the config.xml or an exported shortcuts file for all users , so that all users get the same config.xml (set of shortcuts) .
We are running the client in a shared Citrix environment.

in version 2.4 you could save the file in the c:\program files\fourjs\gdc\etc\config.xml and it was picked up by all users , but this file is now ignored by Version 3
instead it saves shortcuts in c:\users\<username>\appdata\roaming\Four Js\Genero Desktop Client\<version>\config.xml

the help files online specify that you can store in &AppDataDir/config.xml   but &AppDataDir is <UserName> based , not "ALL USER" based

"By default, shortcuts are saved in the &AppDataDir/config.xml file (see GDC configuration file directories for more information). Shortcuts written to this file are shared amongst all users who use this installation of the GDC. Selecting the Store shortcut in settings option is useful when the GDC is on a shared network drive and you do not ...."

"AppDataDir   Windows®    C:\Users\<USERNAME>\AppData\Roaming\Four Js\Genero Desktop Client\<VERSIONNUMBER>\"


Title: Re: Genero Shortcuts for all users in Version 3
Post by: carl k. on July 11, 2017, 07:35:10 am
dont worry , I have found the solution ..

add  --config "C:\Program Files\FourJs\gdc\etc\config.xml"   to the command line , makes it read the old config.xml

please amend the helpfiles as &appdatadir/config.xml is not shared amongst all users .







Title: Re: Genero Shortcuts for all users in Version 3
Post by: Lionel F. on July 11, 2017, 09:52:02 am
Hi Carl,

Indeed you found the solution. You now need to use --config in order to point on a centralized config.xml .

The main reason that leads to this change in GDC 3.0 was that many users were complaining the config.xml could not be written when it was installed in the default directory on Windows aka in c:\Program Files (which is a protected directory)

So yes the config.xml but also the hosts.xml, or things such as webcomponents or custom words added to a dictionary are now stored per user in %APPDATADIR%

Best Regards,
Lionel