Skip to content

Conversation

@qflen
Copy link

@qflen qflen commented Jan 30, 2025

Summary

This improves TMPDIR handling by ensuring:

  • TMPDIR defaults to ~/Downloads/thunderbird.tmp only if it is unset or invalid.
  • /thunderbird.tmp is always appended to a valid directory

Why

Previously, TMPDIR was overridden without minding user preference.

Linked Issue

Fixes #3

Copy link

@sergio-costas sergio-costas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a little nitpick.

@qflen qflen requested a review from sergio-costas February 7, 2025 14:26
Copy link

@sergio-costas sergio-costas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now it looks perfect. Thanks!

@hellsworth
Copy link

lgtm too!

@seb128
Copy link
Contributor

seb128 commented Apr 15, 2025

Thanks for the working and sorry for the delay reviewing the change. Do we really still need that override?

We removed it from the firefox snap
https://bugzilla.mozilla.org/show_bug.cgi?id=1733750#c6
canonical/firefox-snap@250d24a72

the rational is

browser.download.improvements_to_download_panel to true, then files are downloaded to the default Downloads directory

Is thunderbird sharing that default? If so should we do the same as firefox and just remove that script?

@Hativ
Copy link

Hativ commented Aug 13, 2025

Please let's get rid of that stupid thunderbird.tmp directory in ~/Downloads..

@qflen
Copy link
Author

qflen commented Nov 4, 2025

@seb128 I'm also coming back this after a while. I deleted the file entirely. Can you merge?

@nteodosio nteodosio self-requested a review November 11, 2025 10:11
@nteodosio nteodosio requested a review from seb128 November 11, 2025 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow to override TMPDIR

6 participants