How can I change the default applications from the command line (specifically from a script)?
The link below describes setting the default applications from the GUI, and also by editing ~/.local/share/applications/mimeapps.list
. However, it appears mimeapps.list
has been moved or is no longer present.
See, e.g., How do I set the default program?