While I have Leap 15.6 as tag, this already was emerging in 15.5.
I have Firefox configured to ask what to do with PDFs and when I choose Open with Ocular, Firefox has of course to store the PDF temporary somewhere on the system and then start Ocular on it. Earlier the PDFs were stored somewhere in /tmp (a username subdirectory I assume), with the result that they were removed when /tmp was cleared at each shutdown/boot cycle (/tmp being a tmpfs).
Since some version of Firefox (maybe even more then a year ago) this was changed in storing the PDF in ~/Downloads , which I only detected by incident because they heaped up there. I almost never look there because I almost never use it. Now I have to clean up ~/Downloads on a regular base and that annoys me.
Does anyone know if this is something that can be set, e.g. some parameter in about:config. I looked there but could not find it.
That is not the same thing AFAICS. It defines the Download dir, not the temporary one for f.e. PDFs. Also, you refer to a package owned file, which should never ever be edited. An update would overwrite the changes.
In this case having it in a /etc/ directory (and the more in /usr/lib/ might be right to force it on all users, but in general Firefox settings are user preferences in my opinion.
Once AGAIN … why are folks wanting to complicate configuring this option (?). Folks are probably misunderstanding.
Go back and read Reply #1,2,3.
WHY create a new .js file, then copy it to a specific sub-dir … when the config option is available while running in FF. LESS involved and way easier.
Sorry, you missed the “” around “force”. And maybe I should not have shortened my intentions so much.
I will point them to the fact that they may litter their /Downloads directory and what can be done about it. I probably will offer to do the setting before their eyes. More nudging then forcing.
For most users the Settings from the main menu is already something and the about:config is already scaring. Let alone that creating those config files is something that should be in their toolkit. They may of course, it is their user.
And indeed I already declared the case solved from post #3 or #4.