General > Security & Bug Fixes

Application to handle directories in 6.0

<< < (2/2)

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

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

Navigation

[0] Message Index

[*] Previous page

Go to full version