#685198 audacity: places temporary files in /tmp/audacity-$user instead of one of $TMP $TMPDIR $TEMP $TEMPDIR

Package:
audacity
Source:
audacity
Description:
fast, cross-platform audio editor
Submitter:
Paul Wise
Date:
2022-02-08 09:09:02 UTC
Severity:
normal
#685198#5
Date:
2012-08-18 06:45:57 UTC
From:
To:
Audacity places temporary files in /tmp/audacity-$user instead of the
directory specified by one of the appropriate environment variables
($TMP $TMPDIR $TEMP $TEMPDIR).

#685198#10
Date:
2016-02-02 02:25:57 UTC
From:
To:
As at Jessie, (audacity=2.0.6-2), the default directory is /var/tmp/audacity-<USERNAME>.

This can't be changed in the environment (e.g. export AUDACITY_TMPDIR=$XDG_RUNTIME_DIR).
This can't be changed (for all users) in /etc or /usr (e.g. /usr/share/audacity/audacity.cfg).
This can only be fixed in each user's $HOME/.audacity-data/audacity.cfg.

Per http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html,
please use $XDG_RUNTIME_DIR as the default.

Typically XDG_RUNTIME_DIR is auto-managed by systemd-logind,
such that it is stored in RAM and has available space equal to 50% of total RAM.

The manpage indicates that the temp dir should be "fast";
RAM is *MUCH* faster than a local disk :-)

The manpage says it defaults to /var/tmp instead of /tmp so that if
the entire OS crashes, the temporary files can be recovered.
Since my OS doesn't crash, I don't need to worry about that :-)

The relevant code is src/AudacityApp.cpp:1090:AudacityApp::OnInit().

Please let me set a site-wide default of TempDir=$XDG_RUNTIME_DIR!

#685198#15
Date:
2021-09-22 04:20:13 UTC
From:
To:
Hello,

Good morning,

We have gone through your samples from a partner and Here is our  Order
List. Please do bear in mind that we are very much in  need of this
order, quote your competitive prices.

Kindly send the Order confirmation.

Your early reply will be much appreciated.

Best Regards,

Maryanah Erwin.

PT FINDORA INTERNUSA

Jln Pahlawan 66 Kec. Arjawinangun

45162 CIREBON West-Java INDONESIA

tel : +62 231 357334

fax: +62 231 357260

email: marketing@findora.com