I am trying to open nnn file manager in terminal (foot because I am using sway) from the "Open in Folder" option in Browser's downloads.
The browsers I use are "Chromium" and "Firefox".
I have
~/.local/share/applications/nnn.desktop that I edited as follows;
Code:
[Desktop Entry]
Type=Application
Name=nnn
Comment=Terminal file manager
Exec=foot -e nnn -R -- %F
Exec=foot -e nnn -R -- %U
Terminal=true
Icon=nnn
MimeType=inode/directory
Categories=System;FileTools;FileManager;ConsoleOnly
Keywords=File;Manager;Management;Explorer;Launcher
And I set the
inode/directory to
nnn.desktop as default. Check my
~/.config/mimeapps.list
Code:
[Default Applications]
...
inode/directory=nnn.desktop
[Added Associations]
...
But it still open in Thunar that I have installed if I do "Open in Folder" of the Browser's downloaded-file.
What I am missing?
Thanks in advance.