Description of the issue: If I change settings inside brave for example, changing from horizontal tabs to vertical or maybe set certain flags in brave://flags. In which file or folder it saves the changes? So that I can upload that on my GitHub and reproduce it? Whenever I change my distribution and Install brave I want to the same customization in it using that file.
Steps to Reproduce:
I searched inside ~/.config/BraveSoftware/Brave-Browser/ but I was unable to find any user folder or file.
But I did found a folder named Default and a file named Preferences. But, I am not sure what to do with that.
As per one of the README file in ~/.config/BraveSoftware/Brave-Browser/Default directory says, “Brave settings and storage represent user-selected preferences and information and MUST not be extracted, overwritten or modified except through Brave defined APIs.”
I have seen a few other posts about this topic “how to make brave browser reproducible” but they were using Windows.
Brave Version: brave-bin 1:1.75.178-1
Type of devices currently running on the Sync chain in question: 0
For Linux OS, I would make daily backups of the BraveSoftware folder, because it is the parent, for:
Brave-Browser → Stable release version ~/.config/BraveSoftware/Brave-Browser/
Brave-Browser-Beta → Beta version ~/.config/BraveSoftware/Brave-Browser-Beta/
Brave-Browser-Dev → Dev version ~/.config/BraveSoftware/Brave-Browser-Dev/
Brave-Browser-Nightly → Nightly version ~/.config/BraveSoftware/Brave-Browser-Nightly/
So, whatever you hope to have preserved, will be in sub-folders of the BraveSoftware folder.
Each backup would be a Zip-compressed file, with a naming convention as follows:
20250214_Friday_BrvBrwsrSftwrBkup.zip
20250215_Saturday_BrvBrwsrSftwrBkup.zip
So, when a problem occurs, such that I need to “go back in time” and use the preserved data set of yesterday, I can do that.
In that situation, I exit / quit everything, restart the computer, replace the problematic BraveSoftware folder (effectively, replacing the sub-contents that were having issues), and restart the computer again.
I see, this method can be implemented if i use local storage or cloud storage to store but if i want it to store it on GitHub this cannot be possible. Because of the amount of files it contains. If I want to share my config with someone else they will also get other unnecessary info/file. However, thanks for the guide.