A quick way to change default browser in LMDE

Just a quick note here, in part for myself (because inevitably I’ll end up needing to do this again, and that was some of the reason I started this blog to begin with), but also for the benefit of anyone else who finds this handy.

I’ve been using the beta version of Google Chrome on my Linux Mint Debian Edition machines lately. It works well, but I had trouble getting it set as my default browser utilizing the graphical options in the settings in Cinnamon.

So, I explored some command line options. This is what I got to work, after some experimentation.

xdg-mime default google-chrome-beta.desktop x-scheme-handler/http
xdg-mime default google-chrome-beta.desktop x-scheme-handler/https

Didn’t even have to sudo it or anything!

Anyway, hope that helps someone else out as well!

– Trent

Leave a comment