GNOME Bugzilla – Bug 308774
Dia saves backup files in homedir
Last modified: 2005-10-15 14:05:48 UTC
Dia saves backup files for unsaved files in the user's home directory. This is really ugly on systems where Desktop == $HOME, because it clutters the desktop. A cleaner solution would be to store the autosave files in $HOME/.dia.
It actually saves it in the current directory, which of course for most desktop environments mean $HOME == desktop. The only other reasonable place for unsaved files would IMHO be $TMP. Nobody would think of looking in .dia if something crashes before they save the first time.
using the Currerent Working Directory (CWD) seems to be standard behaviour, even Vim does it although it has an obscure configuration option that allows you to use $tmp rather than $cwd As so many other applications I would not want to change the default and make Dia the odd one out but a hidden option that allowed advanced users to configure it by editing a text configation file wouldn't be a bade idea.
Vim uses hidden files that don't clutter your desktop. So, .autosave.dia would be safe? Dia can notify a user on startup if a autosave file was found (just like vim does).
*** Bug 133863 has been marked as a duplicate of this bug. ***
The duping should have been the other way around. Sorry about the noise. *** This bug has been marked as a duplicate of 133863 ***