Linux Lite Forums
Application to handle directories in 6.0 - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: General (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=4)
+--- Forum: Security & Bug Fixes (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=16)
+--- Thread: Application to handle directories in 6.0 (/showthread.php?tid=8361)



Application to handle directories in 6.0 - dihonomo - 06-17-2022

To expand from my previous message (https://www.freecinema2022.gq/forums/security-bug-fixes/(bug)-localshareapplicationsexo-file-manager-desktop-wrong-application/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



Re: Application to handle directories in 6.0 - Valtam - 06-17-2022

Thanks for the report. I'll take a look Smile


Re: Application to handle directories in 6.0 - dihonomo - 06-18-2022

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


Re: Application to handle directories in 6.0 - Valtam - 06-18-2022

Nice catch Smile

Sent from my Mobile phone using Tapatalk




Re: Application to handle directories in 6.0 - Valtam - 06-18-2022

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




Re: Application to handle directories in 6.0 - Valtam - 06-18-2022

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


Re: Application to handle directories in 6.0 - dihonomo - 06-18-2022

:bow