Get a site

Default web browser in Arch Linux: how to change it!

Hello everybody! Some days ago I had some problems with my web browser Opera. I still need to understand why it crashes constantly. However, I decided to use temporarily Firefox web browser. All good, but my PgAdmin4 runs directly the default one!

web browsers
My web browsers in Arch Linux

My workaround is easy: change the default web browser in my Arch Linux machine. How to do that? Using xdg-settings.

First of all, the solution! Directly from the wiki page:

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

More on xdg-settings, probably helpful to everyone:

  • if we want to know the current default web browser?
    [[email protected] ~]$ xdg-settings get default-web-browser
    opera.desktop
  • how to know which are the other possible setup using xdg-settings?
    [[email protected] ~]$ xdg-settings --list
    Known properties:
      default-url-scheme-handler    Default handler for URL scheme
      default-web-browser           Default web browser

If you like our blog, follow us!! GWH!
More post on GNU/Linux at dedicated page 🙂

Published by Daniele Dalla Torre

I'm a Civil Engineering but I love to learn everything about technology, from the basics to the new frontiers! Here my gpg public key!

Leave a Reply

Your email address will not be published.

%d bloggers like this: