Score:0

How to access application preference files?

in flag

A while ago I saw this video which explained how automating was better and faster than backing up your entire disk. It went into how one would, in the event of a major data loss, run a backup script which re-downloads all their applications and even resets the small things such as dock position, background image, etc. The script would even reset application level settings for example the theme & font size I chose for VS Code. Problem is, it never went into how to actually create such a script. So, I tried to make my own. It does mostly everything except for the last part. I have no idea how to set application level settings through the command line. Do Ubuntu applications have a common config file or something of that nature that I can modify?

br flag
VS Code theme and Font Setting?? Is it the Main Question??
Greenonline avatar
us flag
Do you have a link to the video (in your browser history)? Seeing the video would help explain your question better.
Score:0
nl flag

Generally speaking, Linux application configuration files are stored in your ~/.config/ folder (which is $HOME/.config/).

As referenced here VSCode: Docs - User and Workspace Settings, VS Code stores its settings in:

$HOME/.config/Code/User/settings.json

Unfortunately there is no standard location where all applications store there settings but you should find that most will be in $HOME/.config/ so backing up this folder would cover most.

Some may store configurations directly into your home folder so you will need to research the specific applications you need to backup.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.