Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to set location of temporarily download files Firefox linux

  • No replies
  • 1 has this problem
  • 3 views
more options

Under Ubuntu. If an application is set to be the default file handler for a certain type of file, Firefox will allow you to open such a download directly in the application. To do this, it saves the file in a temporary location, and then hands over to the application. The problem is that the location firefox uses under Linux is /tmp and modern snap and flatpak desktop apps are not allowed to see /tmp.

For instance, a .deb file is an installable software package. Ubuntu naturally uses the Software app to handle .deb files. But Software is a sandboxed snap app, and it won't open files in /tmp

The workaround of saving files and opening them from the app works, but it defeats the purpose of having registered file handlers.

And I do not know how to get firefox to save temporary download files somewhere else. I can't find any relevant configuration option.

I tried editing the firefox launcher:

env TMPDIR=/home/tim/tmp_firefox firefox

but it still uses /tmp

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.