My problem is that many programs call xdg-open to open websites but on my Manjaro system (based on Arch Linux) this is somehow bound to cups :)
When such a call to xdg-open happens, the CPU usage goes up a lot, without anything happens. I restart because the laptop gets hot very quickly.
~ $ xdg-settings get default-web-browser
cups.desktop
When I want to change that, I get the following response:
~ $ xdg-settings set default-web-browser firefox.desktop
xdg-settings: $BROWSER is set and can't be changed with xdg-settings
I can go ahead and change the environment variable for the browser and I'm fixed, BUT only for this one terminal. How could I make this change permanent or add it to autostart?
I'm using: i3 4.12, fish shell
~/.local/share/applications/preferred-web-browser.desktop
on my system that hasExec=firefox %u
in it.