Keeping Brave as the default browser? [SOLVED]

I am using Zorin 16 Pro and had problems with Brave and removed and replaced it using the Software program. Now every time I open it, it keeps asking if I want to make it the default so I say yes and set it as default, every time I open Brave it keeps asking to set as default. I have used the Terminal to remove it and using the software program. I removed Opera, Firefox, and it still keeps asking.
I went in setting and set it as the default application and in the Setting in Brave but when I click on make it default in Brave it doesn’t seem to change it. I have searched but did not find anyone with this problem. I think the old install is making it mess up but I don’t know the code to remove as it just removes the newest version. Any ideas? Thanks. :+1: :+1:

I noticed that I have the same problem in Ubuntu 22.4.1 LTS so it has to be in Brave.

Have you tried sudo apt-get remove — purge brave
Then sudo apt-get autoremove&&sudo apt-autoclean. Then reboot.
After that install brave from flathub
flatpak install flathub com.brave.Browser
Just an idea maybe will help

1 Like

Hi Shuflo, I got it figured out.
What I had to do was use this code that I found doing a search.

sudo apt install apt-transport-https curl

sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg

echo “deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] stable main”|sudo tee /etc/apt/sources.list.d/brave-browser-release.list

sudo apt update

sudo apt install brave-browser

Everything is working as it should now. If I would have seen this earlier I would try it but I don’t know if this would have worked or not. Thanks. :+1: :+1:

1 Like

Shuflo, I was wondering if the first line that you have is correct? I can’t find the long line after remove on the keybhoard? It keeps telling no command.

Typo are 2 small lines the purge. - -purge

1 Like