This used to work, but since a recent update, it hasn't. I'm using spacemacs, with this configuration. Links and files don't open as usual. If I open
ansi-term, and type
xdg-open test.txt, then I see:
xdg-open: line 617: kde-open5: command not found.
Which makes sense, since I use GNOME, and not KDE. In a normal terminal (gnome-terminal), I don't have any
$KDE_x variables, but in the emacs terminal, for some reason I have all kinds of variables set, like
$KDE_FULL_SESSION=true. I thought this might be an issue with NixOS's packaging of emacs, but looking where the package is defined (I think), I don't see anything out of the ordinary.
Does anyone know what could be causing this, and/or how to fix it?