You are not logged in.

#1 2026-01-26 12:12:46

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,901

How to prevent thunderbird from creating ~/Thunderbird folder ?

A few days ago I noticed cli completion of ~/T didn't give me ~/Temp as intended.

Checking the directories under $HOME revealed the existence of a directory Thunderbird .
I didn't create it, it was empty so I deleted it.

Unfortunately every time I start thunderbird (.desktop, /usr/bin/thunderbird, /usr/lib/thunderbird/thunderbird ) it recreates this folder.

My thunderbird profile is in the same location it has always been ( ~/.thunderbird ) and works fine.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#2 2026-01-26 12:33:33

StarWolf3000
Member
Registered: 2025-06-23
Posts: 71

Re: How to prevent thunderbird from creating ~/Thunderbird folder ?

External bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=2007074

Seems to be related to XDG changes.

Last edited by StarWolf3000 (2026-01-26 12:51:54)


Mainboard: GIGABYTE B550 AORUS ELITE V2 | CPU: Ryzen 7 5800X | RAM: 32 GB
GPU: GeForce RTX 4060 8 GB (580.119.02 proprietary) | Display: BenQ BL2405 1920x1080
Kernel: 6.18.8 stable | Boot Manager: GRUB2 | DE: KDE Plasma | Login Manager: SDDM | Compositor: KWin

Offline

#3 2026-01-26 13:58:35

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,901

Re: How to prevent thunderbird from creating ~/Thunderbird folder ?

Thx, bookmarked.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#4 2026-02-02 12:09:09

StarWolf3000
Member
Registered: 2025-06-23
Posts: 71

Re: How to prevent thunderbird from creating ~/Thunderbird folder ?

Still present in Thunderbird 147.0.1 (but Firefox 147.0.1 has it fixed already). Hoping for fix in 147.0.2 or greater.


Mainboard: GIGABYTE B550 AORUS ELITE V2 | CPU: Ryzen 7 5800X | RAM: 32 GB
GPU: GeForce RTX 4060 8 GB (580.119.02 proprietary) | Display: BenQ BL2405 1920x1080
Kernel: 6.18.8 stable | Boot Manager: GRUB2 | DE: KDE Plasma | Login Manager: SDDM | Compositor: KWin

Offline

#5 2026-02-05 14:47:10

Nikolai5
Member
From: North West, England, UK
Registered: 2024-01-27
Posts: 268

Re: How to prevent thunderbird from creating ~/Thunderbird folder ?

Was just about to make a post seeing if others had seen this too and because Mozilla really prefer if it's replicable on multiple PCs, nice to see its not anything I've done and that there's already a bug report with Mozilla.

Thanks


Ryzen 7 9850X3D | AMD 7800XT | KDE Plasma

Offline

#6 2026-02-23 12:36:33

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,901

Re: How to prevent thunderbird from creating ~/Thunderbird folder ?

Thunderbird 147.0.2-1 still does this.

https://hg-edge.mozilla.org/comm-centra … b7d2988a76 has been merged and supposedly solves the issue.

Unfortunately the new code appears to only change the created folder to thunderbird with a small t, not ensure it's not created.

imply_option("MOZ_APP_PROFILE", "Thunderbird", when=target_is_windows | target_is_osx)
imply_option("MOZ_APP_PROFILE", "thunderbird", when=~target_is_windows & ~target_is_osx)

Looks like we need to create a custom .desktop file to ensure the empty folder gets deleted after closing thunderbird.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#7 2026-03-08 08:22:56

mico
Member
From: Slovenia
Registered: 2004-02-08
Posts: 249

Re: How to prevent thunderbird from creating ~/Thunderbird folder ?

This has changed from bad to worse. Thunderbird 148.0-4 creates not one but two folders on each startup: ~/Downloads and ~/Thunderbird.

Offline

#8 2026-03-08 10:40:19

StarWolf3000
Member
Registered: 2025-06-23
Posts: 71

Re: How to prevent thunderbird from creating ~/Thunderbird folder ?

At least for me ~/Downloads was created, when I installed the Plasma desktop (through xdg-user-dirs).


Mainboard: GIGABYTE B550 AORUS ELITE V2 | CPU: Ryzen 7 5800X | RAM: 32 GB
GPU: GeForce RTX 4060 8 GB (580.119.02 proprietary) | Display: BenQ BL2405 1920x1080
Kernel: 6.18.8 stable | Boot Manager: GRUB2 | DE: KDE Plasma | Login Manager: SDDM | Compositor: KWin

Offline

#9 2026-03-08 13:28:04

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,901

Re: How to prevent thunderbird from creating ~/Thunderbird folder ?

Correct , see https://wiki.archlinux.org/title/XDG_us … irectories

In case you want to stop the creation of some of those folders try running

# systemctl --user --global disable xdg-user-dirs

In case you only want to do this for one user, don't add --global and run the command as that user.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB