2018-01-28 14:17 GMT+01:00 Simon McVittie <s...@debian.org>: > On Sun, 28 Jan 2018 at 13:29:32 +0100, Rafael Varela Pet wrote: > > Kaffeine installs itself as a handler for inode/directory MIME type > > (wich it does make much sense for me, although it was made on purpose > > by upstream [1]) and this has a side effect on baobab, because it seems > > to ignore the default setting under Xfce4 and starts to launch kaffeine > > when I try to open a folder instead of Thunar: > > > > $ xdg-mime query default inode/directory > > Thunar-folder-handler.desktop > > This is unlikely to be a bug in baobab. It might be a bug in GLib, or > xdg-mime, or whatever you used to set the default in Xfce4.
Thank you for your prompt answer. Agreed, although Baobab is the only application that exhibits this behaviour so far and I did not even try consciously to change the default. By the way, the command "gio open /tmp" launches Thunar, not Kaffeine. > If you install the libglib2.0-bin package and run > > gio mime inode/directory > > what does it say? $ dpkg -l libglib2.0-bin ii libglib2.0-bin 2.50.3-2 $ gio mime inode/directory Aplicación predeterminada para «inode/directory»: Thunar-folder-handler.desktop Aplicaciones registradas: Thunar-folder-handler.desktop code.desktop org.kde.kaffeine.desktop org.gnome.Nautilus.desktop org.gnome.baobab.desktop Aplicaciones recomendadas: Thunar-folder-handler.desktop code.desktop org.kde.kaffeine.desktop org.gnome.Nautilus.desktop org.gnome.baobab.desktop > What is the value of the XDG_CURRENT_DESKTOP and XDG_MENU_PREFIX environment > variables? $ echo $XDG_CURRENT_DESKTOP XFCE $ echo $XDG_MENU_PREFIX xfce- > What is in ~/.config/${XDG_CURRENT_DESKTOP}-mimeapps.list, if that > file exists? (Use $XDG_CONFIG_HOME instead of ~/.config, if set) ~/.config/${XDG_CURRENT_DESKTOP}-mimeapps.list does not exist. ($XDG_CONFIG_HOME is not set) > What is in ~/.config/mimeapps.list, if that file exists? You can find attached a copy of it. For the inode/* MIME type it only has a reference to Thunar: $ grep -i inode ~/.config/mimeapps.list inode/symlink=Thunar-folder-handler.desktop > Do any files matching /usr/share/applications/*.list exist on your > system? If they do, what is their contents? It only exists /usr/share/applications/gnome-mimeapps.list. You can find attached a copy of it. For the inode/directory MIME type it only has a reference to Nautilus: $ grep -i inode /usr/share/applications/gnome-mimeapps.list inode/directory=org.gnome.Nautilus.desktop Best regards, Rafael Varela
gnome-mimeapps.list
Description: Binary data
mimeapps.list
Description: Binary data