nikotung / daily-git

daily records
0 stars 0 forks source link

Archlinux default web browser setting #10

Open nikotung opened 2 years ago

nikotung commented 2 years ago

I was using brave set my default web browser, last Friday I tried to test selenium4,so I downloaded a Firefox browser. After then my default web browser setting was not working, replaced by Firefox.

Even the following command,return the brave.desktop,links still opened by Firefox.

xdg-settings get default-web-browser

Check the following commands

xdg-mime query default x-scheme-handler/http
xdg-mime query default x-scheme-handler/https

Check whether it returns the brave.desktop,if not set it to brave.desktop

xdg-mime default brave-browser.desktop x-scheme-handler/https
xdg-mime default brave-browser.desktop x-scheme-handler/http

References

wiki