General > Security & Bug Fixes

Application to handle directories in 6.0

(1/2) > >>

dihonomo:
To expand from my previous message (https://www.linuxliteos.com/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
--- End code ---

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
--- End code ---

with the following:

--- Code: ---inode/directory=exo-file-manager.desktop
--- End code ---

Jerry:
Thanks for the report. I'll take a look :)

dihonomo:
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 :shrug

Jerry:
Nice catch :)

Sent from my Mobile phone using Tapatalk

Jerry:
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

Navigation

[0] Message Index

[#] Next page

Go to full version