You can skip inotify tools altogether and do use systemd like this to trigger `rm -rf`:<p><pre><code> `~/.config/systemd/user/remove-thunderbird-dir.path`
[Unit]
Description=Watch for unwanted ~/thunderbird directory
[Path]
PathExists=%h/thunderbird
Unit=remove-thunderbird-dir.service
[Install]
WantedBy=default.target</code></pre>
I've long given up on keeping a clean home folder because so many software do this and keeping it clean is a constant chore. Now I just make a real_home folder in my 'home' and put all my actual stuff there.
They can use the ~ landfill
There are so many annoyances in TB. I stopped using it after a few days. My primary concerns:<p><pre><code> - Opening an email thread opens multiple (potentially many) tabs, and is difficult to nagivate or understand the flow of messages
- I don't know how to write an email without it making the spacing between paragraphs/lines larger than I would like. (I.e. double-spacing)
- Search is unreliable / broken.</code></pre>
You can control where XDG puts its litter, cf. <a href="https://wiki.archlinux.org/title/XDG_user_directories" rel="nofollow">https://wiki.archlinux.org/title/XDG_user_directories</a><p>Just note that XDG_DESKTOP_DIR and XDG_DOWNLOAD_DIR can not point to the same directory or chromium will disregard your config.<p>Reader, if you can commit to chromium without much hassle, check this and fix: see <a href="https://wiki.archlinux.org/title/Talk:XDG_user_directories" rel="nofollow">https://wiki.archlinux.org/title/Talk:XDG_user_directories</a>
You (and other folks...) should probably click-through to the bugzilla links. Yes, normally. But, it looks like some legacy code path near the XDG stuff caused an accidental extra dir creation.<p>(I was rolling my eye wading in, thinking that Thunderbird was doing XDG and maybe some distro just wasn't setting XDG_CONFIG_HOME correctly, etc, but alas, no it's a TB bug)