Initialize the Settings

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
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!
Post Reply
User avatar
cxe01263
Posts: 14
Joined: Sat Jan 12, 2019 3:02 pm
Location: Japan

Initialize the Settings

Post by cxe01263 »

I understand that it can be initialized by the following two methods,

(A) Edit -> Preferences -> Reset
(B) delete %AppData%\FreeCAD\user.cfg

but It seems that the panel settings remains somewhere below.
(showing / hiding, positioning, and size of Combo, Report, Python, Selection View)
Is there a way to initialize everything?
(install it on that PC for the first time)
It's not important, but I'm curious.
chrisb
Veteran
Posts: 53930
Joined: Tue Mar 17, 2015 9:14 am

Re: Initialize the Settings

Post by chrisb »

There is also a file system.cfg. It is best to delete the whole folder %AppData%\FreeCAD\.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Initialize the Settings

Post by Roy_043 »

Doing that will still not reset everything. Some Qt related stuff is stored in the Registry on Windows.
HKEY_CURRENT_USER\Software\FreeCAD\FreeCAD\Qt5.15
Attachments
qt-win-registry.png
qt-win-registry.png (6.28 KiB) Viewed 960 times
User avatar
cxe01263
Posts: 14
Joined: Sat Jan 12, 2019 3:02 pm
Location: Japan

Re: Initialize the Settings

Post by cxe01263 »

(A) <Folders & Files> %AppData%\FreeCAD\*
(B) <Registry> HKEY_CURRENT_USER\Software\FreeCAD\FreeCAD

Delete (A) (B) ---> Start & Exit FreeCAD ---> Initialized (A) (B) is restored

I think the initialization was successful.
I had a prediction up to the point where Qt was involved,
The registry was a blind spot.
Thank you for advice!
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: Initialize the Settings

Post by adrianinsaval »

Roy_043 wrote: Sat May 14, 2022 11:15 am Doing that will still not reset everything. Some Qt related stuff is stored in the Registry on Windows.
HKEY_CURRENT_USER\Software\FreeCAD\FreeCAD\Qt5.15
Is this documented somewhere in the wiki? I've seen many posts of people trying to reset their UI and failing because nobody told them about the windows registry
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Initialize the Settings

Post by Roy_043 »

adrianinsaval wrote: Mon May 16, 2022 9:12 pm Is this documented somewhere in the wiki?
Not to my knowledge. Do you know how this is handled on MacOS and Linux?
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: Initialize the Settings

Post by adrianinsaval »

On linux (or at least on KDE) I believe there are some window properties settings saved at .config/FreeCAD or .config/freecadrc I'll have to check to make sure but this could very well be window manager dependant, on macOS no clue
Post Reply