The context is try to open xfe file manager when click on the "Show in Folder" icon after download a file in both firefox and chromium, in dwm. The default behavior for chromium is to open firefox to list the file content on disk... Weird. The default behavior for firefox is, do nothing.
So this is the solution.
Create a
Then execute
Now, chromium works already.
For firefox, enter
Then restart firefox to get things working.
The process should be the same for any GUI file manager on any desktop environment.
Hope it helps.
Reference: https://forum.manjaro.org/t/browser...package-to-use-os-default-file-manager/106933
So this is the solution.
Create a
whatever.desktop
file in ~/.local/share/applications
directory with the following content:
Code:
[Desktop Entry]
Type=Application
Name=xfe
MimeType=inode/directory;
Exec=xfe %f
NoDisplay=true
StartupNotify=true
Then execute
Code:
xdg-mime default whatever.desktop inode/directory
Now, chromium works already.
For firefox, enter
about:config
to open config panel, set the following config to 1
.
Code:
widget.use-xdg-desktop-portal.file-picker
widget.widget.use-xdg-desktop-portal.mime-handler
Then restart firefox to get things working.
The process should be the same for any GUI file manager on any desktop environment.
Hope it helps.
Reference: https://forum.manjaro.org/t/browser...package-to-use-os-default-file-manager/106933