<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>thunderbird &amp;mdash; alan</title>
    <link>https://www.franzoni.eu/alan/tag:thunderbird</link>
    <description>Alan&#39;s musings</description>
    <language>en</language>
    <pubDate>Tue, 17 Nov 2026 00:52:50 +0000</pubDate>
    <item>
      <title>Thunderbird temporary directory</title>
      <link>https://www.franzoni.eu/alan/thunderbird-temporary-directory</link>
      <description>&lt;![CDATA[Whenever you use Thunderbird on Linux you may encounter one annoying behaviour.&#xA;&#xA;If you open a message which is got an attachment - you just need to open the message, not to save the attachment! - Thunderbird will place such attachment in our temporary directory, usually /tmp. You find the file there, and you think you used the Save as function to place it there, so you open it and you edit it.&#xA;&#xA;Then you close Thunderbird, and poof! It clears its temporary files and deletes your modified attachment, possibily containing a day&#39;s work.&#xA;&#xA;The workaround is simple: just use a launcher that changes Thunderbird TMP directory and use that to start Thunderbird!&#xA;&#xA;!/bin/bash -e&#xA;mkdir -p /tmp/thunderbird&#xA;TMP=/tmp/thunderbird /usr/bin/thunderbird &#34;$@&#34;&#xA;&#xA;You may need to adjust the original binary path, then you can put such script in your path before your /usr/bin directory and you&#39;re done.&#xA;&#xA;#MostlyUnixish #linux #thunderbird #temporary&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>Whenever you use Thunderbird on Linux you may encounter one annoying behaviour.</p>

<p>If you open a message which is got an attachment – you just need to open the message, not to save the attachment! – Thunderbird will place such attachment in our temporary directory, usually <em>/tmp</em>. You find the file there, and you think you used the <em>Save as</em> function to place it there, so you open it and you edit it.</p>

<p>Then you close Thunderbird, and poof! It clears its temporary files and deletes your modified attachment, possibily containing a day&#39;s work.</p>

<p>The workaround is simple: just use a launcher that changes Thunderbird TMP directory and use that to start Thunderbird!</p>

<pre><code class="language-bash">#!/bin/bash -e
mkdir -p /tmp/thunderbird
TMP=/tmp/thunderbird /usr/bin/thunderbird &#34;$@&#34;
</code></pre>

<p>You may need to adjust the original binary path, then you can put such script in your path before your /usr/bin directory and you&#39;re done.</p>

<p><a href="/alan/tag:MostlyUnixish" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">MostlyUnixish</span></a> <a href="/alan/tag:linux" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">linux</span></a> <a href="/alan/tag:thunderbird" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">thunderbird</span></a> <a href="/alan/tag:temporary" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">temporary</span></a></p>
]]></content:encoded>
      <guid>https://www.franzoni.eu/alan/thunderbird-temporary-directory</guid>
      <pubDate>Thu, 23 Aug 2012 20:37:00 +0000</pubDate>
    </item>
  </channel>
</rss>