Pliavi / arch-tweaks-and-fixes

Some tweaks for distros, like resolve emoji problems and distro specific problems
MIT License
7 stars 0 forks source link

[Manjaro?] KDE not changing default browser #6

Open Pliavi opened 3 years ago

Pliavi commented 3 years ago

Setting Chromium in default applications for browser keeps opening Firefox for links in other apps like Discord and Konsole. image

Found that xdg keeps firefox

$ xdg-settings get default-web-browser
firefox

and the BROWSER variable keeps pointing to firefox too:

$ echo $BROWSER
/usr/bin/firefox

Need to change both:

$ xdg-settings set default-web-browser chromium.desktop // the .desktop extension is needed
$ echo "export BROWSER=/usr/bin/chromium" >> .bashrc