Linux Lite Forums

Full Version: Application to handle directories in 6.0
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
To expand from my previous message (https://www.linuxliteos.com/forums/secur...n/msg57569), I have found that the setting controlling what application opens directories (by default) is still problematic.

The file "exo-file-manager.desktop" has disappeared from "/usr/share/applications", and  "~/.local/share/applications/defaults.list" points now (via symlink) to "/etc/gnome/defaults.list" where the two entries controlling "inode/directory" assign "org.gnome.Nautilus.desktop" and "Thunar-folder-handler.desktop" to handle directories.

However, none of these exist on a clean Linux Lite 6.0 install.

My solution to the problem was to create "~.local/share/applications/exo-file-manager.desktop" that contains:
Code:
[Desktop Entry]
Version=1.0
Type=Application
Exec=exo-open --launch FileManager %u
Icon=system-file-manager
StartupNotify=true
Terminal=false
Categories=Utility;X-XFCE;X-Xfce-Toplevel;
OnlyShowIn=XFCE;
X-XFCE-MimeType=inode/directory;x-scheme-handler/trash;
Name=File Manager
Comment=Browse the file system
Hidden=true

and then to replace the two entries in "/etc/gnome/defaults.list":
Code:
inode/directory=org.gnome.Nautilus.desktop
inode/directory=Thunar-folder-handler.desktop

with the following:
Code:
inode/directory=exo-file-manager.desktop
Thanks for the report. I'll take a look Smile
I found this problem when trying to "Open Folder" in Transmission: I was expecting the download folder to opened in Thunar, but Catfish started instead Confusedhrug
Nice catch Smile

Sent from my Mobile phone using Tapatalk

I'm yet to test, but I'm hoping that this will fix what's existed in LL for some time now. Catfish is opening instead of Thunar sometimes. Surprised many people haven't reported it.

Sent from my Mobile phone using Tapatalk

Fix will be in 6.2 I used to wonder why in Disks, clicking on a partition link would open Catfish. Now with the fix, it opens the file manager like it should!
I've added Hidden=true to your original post in the desktop file, we don't need it in the menus.

You Sir, are the master bug squasher! Keep'm coming Smile
:bow