I've seen related questions, but none offer the answer to my question. I ask because, whenever I invoke xdg-open from the command line, I get the following error instructing me to enable WSL Interoperability. I tried opening a PNG file and a PDF file. Both present me with the same message.
I'm on Ubuntu 22.04.
$ xdg-open IMG_20220629_131736841.jpg
$ grep: /proc/sys/fs/binfmt_misc/WSLInterop: No such file or directory
WSL Interopability is disabled. Please enable it before using WSL.
grep: /proc/sys/fs/binfmt_misc/WSLInterop: No such file or directory
[error] WSL Interoperability is disabled. Please enable it before using WSL.
/usr/bin/wslview: line 216: /mnt/c/Windows/System32/reg.exe: No such file or directory
/usr/bin/wslview: line 308: [: -ge: unary operator expected
[error] This protocol is not supported before version 1903.