mime and web pages

Karl Auer kauer at biplane.com.au
Mon Aug 17 12:52:46 UTC 2020


I want to open specific browsers (or more generally, pass specific URLS
to specific programs) within the Ubuntu desktop.

For example, if I receive an email with a link in it, and click on that
link, I want to pass that link to a specific program.

I've spent quite  bit of time googling around mime types and so on, but
everything I find is about opening files, not links. I've also looked
at xdg-open, xdg-settings etc, but I cannot figure out what xdg-open is
looking at when it decides to run Firefox, either! It's allegedly
mimeapps.list, but it is definitely not using the one in my home
directoy and the others seem to belong to various snaps.

Another way to look it this would be to say I want to substitute my own
program for Firefox as far as what is used to open links.

Yours hopefully, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer

GPG fingerprint: 2561 E9EC D868 E73C 8AF1 49CF EE50 4B1D CCA1 5170
Old fingerprint: 8D08 9CAA 649A AFEF E862 062A 2E97 42D4 A2A0 616D







More information about the ubuntu-users mailing list