you need to edit your mime list:~.local/share/applications/mimeapps.listor install mime-editor or xfce4-mime-settings
use /usr/share/applications/mimeapps.list for a list of mime associations, and edit/add new ones to ~/.local/share/applications/defaults.listtellmi wrote:No idea yet, whether it gets broken with the next update.that list is altered whenever a new program is added with mime associations, or an old one removed
You don't have to have chemical-mime-data. You must've install some chemistry related software. Read up mime types so that you're more familiar with them. Basically, chemistry-mime-data would allow you to double-click a protein databank (pdb) file in a file manager and launch pymol automatically, for example.
I changed default application for text/plain with:$ xdg-mime default gvim.desktop text/plainand I can see that `~/.local/share/applications/mimeapps.list` has changed.But now when I open an archive with Ark and preview a file it uses Wine Notepad (!!) instead.That's really disappointing and I haven't managed to change its behavior yet.
I've tried setting associations using xdg-mime, but it has no effect. I mean, it works in the sense that the associations appear in mimeapps.list, but xdg-open still returns the "no method available for opening" error. xdg-mime returns no errors.
I don't really think you are going to get what you want easily but still I have programs that open on certain tabs (check my dot files for configs) You may be able to get that kind of behaviour from a script wrapper of some kind ...possibly.