Do not save apps/cache/downloads etc in ~/.config
See original GitHub issueOn linux ~/.config/itch/
contains all kinds of stuff that is not configuration files.
Please follow proper conventions and save cache files in ~/.cache/
and data files in ~/.local/share
.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:12
- Comments:29
Top Results From Across the Web
c# - app.config are not saving the values
When you build the application in Release mode only the <yourexe>.exe.config exists and will be updated. Your code will also add an extra...
Read more >ConfigurationManager.Save does not! - MSDN - Microsoft
Save method does not seem to do anything. The example here is a console application that has the following app.config file.
Read more >Best way to save application settings
What's the best way (and location) to store non-BLOB settings? On Windows, it seems acceptable to use the registry.
Read more >video demonstration on how to save switch configuration files
If changes made to the running configuration do not have the desired effect and the running- config file has not yet been saved,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So, moving
~/.config/itch
to~/.local/share/itch
seems like a good (achievable) first step?It would:
~/.config
alone~/.local/lib
,~/.local/bin
~/.itch
, but, shrugThe process would be:
~/.config/itch/db/butler.db
- if it can find it, it’ll use~/.config
(legacy paths), if not, it’ll use~/.local/share/itch
(modern paths)mv ~/.config/itch ~/.local/share/itch
, start it up again, and voilà!The only remaining file any of the tools would write to itch would be…
~/.config/itch/butler_creds
, which is, well, actually used by butler to store your credentials. That doesn’t really belong in config either, maybe it could move to~/.local/share/butler/credentials
?(Please vote 👍 or 👎 using comment reactions - if you vote against, please explain)
Yes, there are multiple use cases this is interfering with.
~/.config/
under version control or back it up without backing up data files.~/.cache
.~/.local/share
).And so on.
I don’t know anything about Electron, but sounds like it should not be using
~/.config
. If it’s going to be a large dump of mixed-purpose files anyway, better move the directory elsewhere altogether (eg.~/.itch
), although that would be just a workaround.