How to make totally clean/default/pristine/factory reset FreeCAD environment?

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
spanner888
Posts: 327
Joined: Tue May 28, 2019 10:51 am

How to make totally clean/default/pristine/factory reset FreeCAD environment?

Post by spanner888 »

As part of testing a Path pull request, I have built FreeCAD with the pull request code and then from the freshly built bin directory started FreeCAD with this commandline:

Code: Select all

./FreeCAD -l -u ./usr.cfg -s ./sys.cfg
Now FreeCAD does open Start WB without any obvious user preference "left overs" and default color scheme.
BUT the report pane shows:-

Code: Select all

    Loading Assembly4 WorkBench
    connect failed: No such file or directory
Also, as soon as I create a new empty document, a stylesheet that was is set in /home/spanner888/.FreeCAD is applied.

So it appears that the above commandline does not provide a totally pristen clean FreeCAD environment.

Searching shows items below, which suggest the above should provide clean environment.

Start_up_and_Configuration
reeCAD_was_running_normally.2C_and_suddenly_it_doesn.27t_start_anymore
BOTH do NOT mention ~/.config/FreeCAD/FreeCAD.conf

How to completely reset FreeCAD
Re: How to completely reset FreeCAD
Postby triplus » Sun Oct 15, 2017 10:28 pm
there is one additional config file (on Ubuntu and likely in general on Linux) related to some aspects of the UX (Qt):
~/.config/FreeCAD/FreeCAD.conf

If I delete

Code: Select all

~/.config/FreeCAD/FreeCAD.conf
and run ./FreeCAD -l -u ./usr.cfg -s ./sys.cfg&
FC STILL loads style sheet AND loads Assembly4 WB

If I delete both

Code: Select all

~/.config/FreeCAD/FreeCAD.conf
~/.config/FreeCAD
and run ./FreeCAD -l -u ./usr.cfg -s ./sys.cfg&
Then all seems OK ie does not load style sheet AND Assembly4 WB.

So, the question is, do I now have a totally clean/default/pristine/factory reset FreeCAD environment?

Additionally should the two wiki pages linked above be updated?
Post Reply