dangerzone icon indicating copy to clipboard operation
dangerzone copied to clipboard

Dangerzone does not remember the output directory I specified

Open sudwhiwdh opened this issue 9 months ago • 2 comments

It is always set to ‘unsafe’ for each new file conversion. However, I would like to store files that have already been converted in a folder with the name ‘safe’ by default, as this simply makes more sense to me.

I would like there to be an option to specify the path in advance. Or have you deliberately decided that everything should always end up in ‘unsafe’?

Dangerzone 0.8.1 Using Fedora Workstation 41

sudwhiwdh avatar Apr 04 '25 09:04 sudwhiwdh

Ok, just to make sure I'm on the same page. Dangerzone offers two ways to handle the original file, and the converted one:

  1. Either save the converted file with suffix -safe.pdf in the same directory as the original file, and archive the original file to a directory called unsafe/.
  2. Or save the converted file under a different directory that a user chooses, and don't affect the original file

In case of (2), you're right that this directory does not persist across different Dangerzone runs 😕 . That's something we can fix in the future, and another user has brought it up as well: https://github.com/freedomofpress/dangerzone/issues/889#issuecomment-2278260894

In the meantime, I don't know if it's of much help, but do note that dangezone-cli has an --output-filename option, that you can use in a script, and save files to a directory of your choice.

apyrgio avatar Apr 09 '25 16:04 apyrgio

In case of (2), you're right that this directory does not persist across different Dangerzone runs 😕 . That's something we can fix in the future, and another user has brought it up as well: https://github.com/freedomofpress/dangerzone/issues/889#issuecomment-2278260894

Thanks for the workaround. As I don't work with dangerzone-cli, a graphical user interface implementation would be something I would really like to see!

sudwhiwdh avatar Apr 10 '25 09:04 sudwhiwdh