Config / System+User.cfg
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
-
- Posts: 75
- Joined: Mon Dec 14, 2009 9:49 am
Config / System+User.cfg
Hi,
i would like to start FreeCAD with a different user.cfg and system.cfg, because i use FreeCAD from a USB Drive on several desktops and with different FreeCAD versions.
Sorry, i am not able to change it. I do not understand, how to use the command-line, the ResponseFile.txt and/or the FreeCAD.cfg file.
I have read the "Start up and Configuration" page .
Command-line params like -l and -P are working.
Cheers, Jack - not really
i would like to start FreeCAD with a different user.cfg and system.cfg, because i use FreeCAD from a USB Drive on several desktops and with different FreeCAD versions.
Sorry, i am not able to change it. I do not understand, how to use the command-line, the ResponseFile.txt and/or the FreeCAD.cfg file.
I have read the "Start up and Configuration" page .
Command-line params like -l and -P are working.
Cheers, Jack - not really
Re: Config / System+User.cfg
Hi,
currently it's not possible to define user.cfg or system.cfg other than the default ones in the user's home directory. But you're right it makes pretty much sense to have this option and thus not to pollute the user's system.
AFAIK the response-file is a possibility to save all the FreeCAD command-line options into. So, once the above is working you can save the options in this file and set the response-file as program option.
Werner
currently it's not possible to define user.cfg or system.cfg other than the default ones in the user's home directory. But you're right it makes pretty much sense to have this option and thus not to pollute the user's system.
AFAIK the response-file is a possibility to save all the FreeCAD command-line options into. So, once the above is working you can save the options in this file and set the response-file as program option.
Werner
Re: Config / System+User.cfg
In rev. 2775 I have added a couple of new command line options:
--user-cfg to specify an arbitrary file to load/save user settings
--system-cfg to specify an arbitrary file to load/save system settings
--log-file to log to an arbitrary file
--user-cfg to specify an arbitrary file to load/save user settings
--system-cfg to specify an arbitrary file to load/save system settings
--log-file to log to an arbitrary file
-
- Posts: 75
- Joined: Mon Dec 14, 2009 9:49 am
Re: Config / System+User.cfg
Hi werner,wmayer wrote:In rev. 2775 I have added a couple of new command line options:
--user-cfg to specify an arbitrary file to load/save user settings
--system-cfg to specify an arbitrary file to load/save system settings
--log-file to log to an arbitrary file
cool. That works fine. Thanks.
Cheers and a happy new year
Jack- not really
Run FreeCAD with custom user configuration (user.cfg)
I am trying to run FreeCAD with user configuration file that is not in the AppData directory, but in the FreeCAD directory.
I have found the option to run FreeCAD with the parameter "-u" or "--user-cfg". But when running FreeCAD with the local user.cfg file it overwrites it with the AppData user.cfg.
What am I doing wrong?
I run a batch file located in the same dir as FreeCAD.exe with the exact contents(the custom user.cfg is also located here):
FreeCAD --user-cfg user.cfg
FreeCAD version 0.18.4 (portable)
I have found the option to run FreeCAD with the parameter "-u" or "--user-cfg". But when running FreeCAD with the local user.cfg file it overwrites it with the AppData user.cfg.
What am I doing wrong?
I run a batch file located in the same dir as FreeCAD.exe with the exact contents(the custom user.cfg is also located here):
FreeCAD --user-cfg user.cfg
FreeCAD version 0.18.4 (portable)
FreeCAD als Maschinenbauer in die Konstruktion und Fertigung integrieren. Schulung buchen: www.alsado.de/freecad-schulungen
Re: Config / System+User.cfg
How do I correctly use those parameters if i want to load a user.cfg located in the FreeCAD dir? I have tried it but it just overwrites the user.cfg located in FreeCAD with the one located in AppData.
FreeCAD als Maschinenbauer in die Konstruktion und Fertigung integrieren. Schulung buchen: www.alsado.de/freecad-schulungen
-
- Posts: 196
- Joined: Tue Jul 28, 2020 7:31 am
Re: Config / System+User.cfg
If on Windows:
Make a shortcut to FreeCAD.exe
Place it in a folder near to bin/FreeCAD.exe
In the properties add the "call":
Start FreeCAD with that shortcut. It will make new config files user2.cfg and system2.cfg near the shortcut.
For portability questions - welcome:
https://forum.freecadweb.org/viewtopic.php?f=4&t=49028
Make a shortcut to FreeCAD.exe
Place it in a folder near to bin/FreeCAD.exe
In the properties add the "call":
Code: Select all
bin/Freecad.exe -u ../user2.cfg -s ../system2.cfg
For portability questions - welcome:
https://forum.freecadweb.org/viewtopic.php?f=4&t=49028
Re: Run FreeCAD with custom user configuration (user.cfg)
You should try with an absolute path. And you should test it in 0.19.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Run FreeCAD with custom user configuration (user.cfg)
Moved from other forum and merged topics. Don't crosspost.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Config / System+User.cfg
This is what I did. It does not work because FreeCAD overwrites it with the the AppData user.cgf. Cant I just load an existing user.cfg file?Smiling_user wrote: ↑Mon Sep 07, 2020 12:23 pm If on Windows:
Make a shortcut to FreeCAD.exe
Place it in a folder near to bin/FreeCAD.exe
In the properties add the "call":Start FreeCAD with that shortcut. It will make new config files user2.cfg and system2.cfg near the shortcut.Code: Select all
bin/Freecad.exe -u ../user2.cfg -s ../system2.cfg
For portability questions - welcome:
https://forum.freecadweb.org/viewtopic.php?f=4&t=49028
FreeCAD als Maschinenbauer in die Konstruktion und Fertigung integrieren. Schulung buchen: www.alsado.de/freecad-schulungen