This topic contains 8 replies, has 3 voices, and was last updated by jgoldbloom Nov 9-4:23 am.
November 7, 2019 at 4:32 am #29053Member
not sure if this is even a bug really.
“open containing folder” button in firefox downloads goes directly to a “find files” window opened from SpaceFM, with ~/Downloads filled in as place to search. this even when Rox is set as default file manager.
not a big deal, but a little bit annoying. some way to change this?November 7, 2019 at 10:23 am #29083Member
Running the following command will immediately fix the problem
(immediate, as in, you don’t even need to close/relaunch firefox)
sudo sed -i -e 's/inode\/directory=spacefm-find.desktop;/inode\/directory=/' /usr/share/applications/mimeinfo.cache
Rather than labeling this as a “bug”, I would describe it as a misconfiguration in the system-wide default settings, as found in antiX 19.November 8, 2019 at 3:44 am #29110Member
i ran that command, but the situation is still the same.
could it be something to do with changing between rox and spacefm as default file manager?
in any case, even with spacefm as default, i still get the “find files” dialog rather than just opening a folder.November 8, 2019 at 4:46 am #29113Member
I’ve always had this “problem”, since I started using antiX, way back in version 16…
Only since I started using antiX 19 have I changed the default file manager to spacefm- and now, Firefox downloads work as should be expected, opening the downloads folder in SpaceFM… My guess is that if you already have spacefm as your default file manager, and even with Skidoo’s script the situation remains unchanged, something else is probably not well configured… Maybe Skidoo, or someone else can help with correcting that…
For now a quick way to “go around” that situation is adding a quick launch icon to your “downloads” folder to Icewm toolbar…
P.November 8, 2019 at 5:08 am #29114Member
yep thats a good solution to getting to the downloads folder, however i usually set firefox to ask where i want to save downloads to every time.
it’s not a huge deal, just an interesting quirk to maybe figure out…
could well be a firefox problemNovember 8, 2019 at 8:51 am #29135Member
firefox determines the handler by reading from this file: /usr/share/applications/mimeinfo.cache
It reads the inode/directory= line within that file.
In testing “whatif I change selections via ControlPanel } PreferredApplications“,
I confirmed that doing so does not alter the inode/directory= line within /usr/share/applications/mimeinfo.cache
Per my testing, when that line reads as follows, firefox behaves as desired:
I would suggest that you manually edit/inspect the content of that file on your system.
Edit the line to match what I’ve shown here, save file, then immediately retest the “Open Containing Folder” action.
or, if you would prefer rox-filer as the handler:
(if the leftmost is ever inaccessible for whatever reason, system will fallback to using the next handler)
re: ControlPanel } PreferredApplications
If it would update the inode/directory= line within ~/.local/share/applications/mimeinfo.cache, we should expect that firefox SHOULD abide the local setting. However,
per my testing, it (/usr/local/bin/desktop-defaults-set, aka “PreferredApplications”) does not update the inode/directory= line within ~/.local/share/applications/mimeinfo.cache …and even after I manually edited that line within the “~/.local” file, firefox does not abide the changed declaration stated therein.November 8, 2019 at 9:17 am #29138Member
i did what you suggested skidoo; interesting, now it does something even weirder: the first time i click the little folder icon it goes to the find file dialog as before, but then the icon disappears and the “open containing folder” option is no longer available on right click.November 8, 2019 at 9:39 am #29140Member
Testing the possiblity that your edited line now contains a “typo”, I added spaces after the equalsign and between the semicolons, I trimmed the trailing semicolon –} result: still works as expected. I finally managed to sufficiently “mangle” the line by replacing the semicolon characters with commas. In that case, I wound up with a popup dialog asking me to choose a suitable handlerNovember 9, 2019 at 4:23 am #29166Member
as i just copied and pasted your code…
i wonder if it’s a problem with my firefox config?
You must be logged in to reply to this topic.