A mysterious '~'
directory recently appeared inside my home directory (as in ~/~
). Inside I found a single hidden directory .confit
which contained a single directory chromium
. Inside that ~/~/.confit/chromium
directory were several of the same contents as ~/.config/chromium
. I have been using Chromium for years and this is the first time I have seen this behavior. Has anyone else encountered this? I can delete the '~'
directory but it comes back every time I launch Chromium. I wish I could identify exactly when it started, but I have already deleted it several times and I don't remember exactly when it first appeared. What determines where Chromium saves its config files? server-side settings? source code? I don't even know where to look. I'm running Arch Linux in case that matters.
Edit: Is it possible that the error could be in my configs for an Electron app rather than Chromium itself?
Edit: $CHROME_CONFIG_HOME
is not set and I set $XDG_CONFIG_HOME
to /home/(my username)/.config
when I was first troubleshooting this issue. It didn't change anything.
env
) for anything with~
in the value.~
in any of the dotfiles, it may need to be replaced with$HOME
.~
but also theconfit
wheret
is close tog
on the keyboard, and this is an indication for a typo while doing some activity, for example like this. Also it seems that no other program is writing anything under that directory, so I don't expect this issue to come from a system global variable but from something Chromium specific.$CHROME_CONFIG_HOME
and$XDG_CONFIG_HOME
.fgrep -r .confit ~
?