xdg-open doesn’t set the correct $DE variable, so the wrong open function gets called. Here’s a simple patch to /usr/bin/xdg-open to fix it.

diff

Apologies for the image, I could’t figure out how to embed just the relevant diff. Here’s the whole shebang.

- Jesse