DEV Community

HaxNet
HaxNet

Posted on

Default web browser in Arch Linux

I use Qutebrowser and I always forget the actual application name to run it.
When I use terminal and want a default browser to open up to Qutebrowser I have to change it.

In terminal:
xdg-settings get default-web-browser will show you the current default browser. Your might show up as chromium.desktop

if you want to switch it to Qutebrowser
type this
xdg-settings set default-web-browser org.qutebrowser.qutebrowser.desktop

Top comments (6)

Collapse
 
rd8591 profile image
RedDragen

Years later. I had Brave as default but installed a couple others too. Recently i'm using Opera. Don't know if i just didn't allow it to be the default or if it never asked me. Anyhow, clicking links from other apps opened in Brave where i wanted Opera.

xdg-settings set default-web-browser opera.desktop

And it's fixed :)
Sometimes linux is so great in it's simplicity! That is if you can find how to use it ;) I had to find this article to even know about the option and that comes from a multi decade hardcore linux user.

Collapse
 
haxnet profile image
HaxNet

lol trust me I know. i created my own articles really to help me remember. There times I need to do a fresh install and/or just forget how to do something. I just go back to my own posts to look for them lol

Glad this helped you out!

Collapse
 
rd8591 profile image
RedDragen

Kinda like a public notes ;) Smart! There should be a platform for that, lol

Collapse
 
tiagodinis33 profile image
tiagodinis33

Thanks!

Collapse
 
blightwing profile image
blightwing

This just saved me so much time! Thank you so very much!

Collapse
 
haxnet profile image
HaxNet

You're welcome!