Re: To not to open disks / drivers / USB flash with EasyTag



Hi Weiwu

On 2014-08-05 21:36, Weiwu Zhang <zhangweiwu realss com> wrote:
I think it is off-topic: there must be a place to configure this in
GNOME in general.

Using GNOME 3 on OpenSUSE. Every USB drive offers to be opened with
EasyTag, while I actually never put music on USB disks (my Music is
synced through cloud). I'd prefer USB drives to be opened by Nautilus.
Where to configure it?

This has come up a few times before, and is caused by EasyTAG installing a desktop file which lists a MIME type of inode/directory:

https://bugzilla.gnome.org/show_bug.cgi?id=694358

This is correct because passing a path to EasyTAG causes it to open that directory. However, installing a new desktop file with this MIME type and running update-desktop-database (which your package manager likely does after installing a new application with a MIME type listed), causes the default association between MIME types and applications to change.

As the development version of EasyTAG now provides a Nautilus plugin to show an "Open with EasyTAG" item in the file view context menu, it might be a good time to drop the problematic MIME type from the desktop file. To be clear, this is a bug in the specification (or implementation, depending on how you look at it), as EasyTAG does not provide a MIME type priority, and associations with MIME types are implementation-defined.

As for the answer to your question, there is no graphical configuration option for this particular file association in GNOME. You need to edit a configuration file in your home directory, probably in ~/.config/mimeapps.list. You should look for a line with inode/directory as the key, and replace the content with the name of the desktop file of the application which should open directories (normally nautilus.desktop or org.gnome.Nautilus.desktop, or simply remove the line entirely, to use the system-provided default).

--
http://amigadave.com/

Attachment: signature.asc
Description: Digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]