-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not set Brave as default browser on Ubuntu using Snap #12442
Comments
Same issue but with Chrome instead of Firefox. |
Same issue here. |
Same issue here too. |
Confirming this is the same issue I am having. Firefox was already installed as part of the Ubuntu 20 distro, I then installed Brave via snap but am unable to set it as default. I have no use for Firefox so I just uninstalled it via apt and now Brave is the default. |
cc: @rebron |
I got the same issue but to solve it just went to Settings -> Default Applications -> Web -> Change it to Brave |
I also have the same issue: Brave 1.20 installed via snap on Ubuntu 20.04. As @NorthBlue333 noted, the "make Brave the default browser" button re-appears each time the browser is relauched. I've manually set Brave as the default browser with Settings -> Default Applications -> Web as @pedrokpp suggested, but with no effect. As a potentially useful piece of related information, Brave is not listed when reviewing the options for |
FYI, I was able to get it to default to Brave by removing Google Chrome and Firefox - only "Ungoogled Chromium" and "Brave" now remain with Brave taking the default. Not ideal, but works. |
If you look into /usr/share/applications you can see that with a snap install there is no .desktop file for brave, but there is a google-chrome.desktop and a firefox.desktop that points to the default, so I think the snap installation is not creating this file, so it doesn't appear as an alternative. I have chromium also installed as a snap and it is also not an alternative as well. https://www.maketecheasier.com/create-desktop-file-linux/ explains what is going on this should be created by the snap install probably which is why its not an alternative. |
Hi it is a snap problem and it is very clear on the official page that we should not use this method to install Brave. I made this mistake to install Brave from sanp and the only workaround that worked for me was to remove Brave from the snap using the Ubuntu Software app and install Brave following the command line given on the official page; Magic, all my bookmarks and passwords came back and Brave is default without having to set it by default everytime. Do save you bookmarks and passwords before doing that, it may behave differently on your system (I am using Ubuntu 22.04.2 LTS). Good luck |
Don't know if this can help some of you, I am sharing just in case... After updating (can't remember if it was Ubuntu only or also the snaps), Firefox became my default browser.
The file already existed in |
This issue appears to be resolved in Brave version 1.65.133. |
Description
Same issue as #1274 on Ubuntu 20.04.1 LTC.
Brave was installed via snap. Also I have installed Firefox via apt.
If I delete second browser - Firefox, Brave became default browser, but every time on start it asks to set Brave as default. I didn't found where to disable this check (but it needed).
If I'll install FF again, FF became default automatically.
sudo update-alternatives --config gnome-www-browser
gives: no alternatives for gnome-www-browser
For me helps installing Firefox via snap (not via apt as before)
snap install firefox
then Brave still default after install, but still asks to set default every run (at least might be ability to turn this behaviour off)
Steps to Reproduce
snap install brave
sudo apt install Firefox
Reproduces how often:
always
Brave version (brave://version info)
Brave | 1.16.68 Chromium: 86.0.4240.111 (Official release) (64 bit)
Version | b8c36128a06ebad76af51591bfec980224db5522-refs/branch-heads/4240@{#1290}
OS | Ubuntu 20.04.1 LTC
Other Additional Information:
Temporary solution for me:
4. I had removed firefox via
sudo apt remove firefox
and install it viasnap install firefox
- as result we have two browsers and Brave is default browser (my aim), but it still asks us at the every start to make it defaultThe text was updated successfully, but these errors were encountered: