Changing the defaults application that xdg-open
use, and instead specifying your own/preferred one is an easy task, and also doesn't pertain to chromium
directly:
- Using perl-file-mimeinfo or mimeinfo
/usr/bin/vendor_perl/mimeopen -d $file.ext
which will then open a prompt where you can place the name of the wanted application, that you want to open it with.
xdg-mime default Thunar.desktop inode/directory
You can look into your MIME database on ~/.local/share/applications/defaults.list
or ~/.local/share/applications/mimeapps.list
to see existing entries (you can edit them, but i don't recommend to) and check what you want to change.
Refer to the Archwiki for more information.
Do remember that application assigned with xdg/or other method can overlap. So be wary by first running xdg-mime query default protocol/filetype
first, or by looking into the previously mentioned MIME database directories.