Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Allow to set default browser on Ubuntu #1336

Closed
bbondy opened this issue Apr 11, 2016 · 9 comments · Fixed by #10974
Closed

Allow to set default browser on Ubuntu #1336

bbondy opened this issue Apr 11, 2016 · 9 comments · Fixed by #10974

Comments

@bbondy
Copy link
Member

bbondy commented Apr 11, 2016

Test plan

#10974 (comment)

  1. Set default browser to non Brave browser
  2. Open Brave from fresh profile
  3. You should see Brave ask to set as default
  4. Click Yes, in about:preferences#general, you should see Brave is your
    default browser
  5. Check system setting, default browser should be Brave

Original issue description

Details here:
#429 (comment)

@luixxiul
Copy link
Contributor

Fixed already? #429 (comment)

@bbondy
Copy link
Member Author

bbondy commented May 15, 2016

nope not fixed yet.

@Sh1d0w
Copy link

Sh1d0w commented Jul 29, 2016

@bbondy Any info when this will be available for the Linux version?

Thanks

@sarahhodne
Copy link

As a workaround, this worked for me:

xdg-mime default brave.desktop text/html
xdg-mime default brave.desktop x-scheme-handler/http
xdg-mime default brave.desktop x-scheme-handler/https
xdg-mime default brave.desktop x-scheme-handler/about

This is assuming you're running a GNOME-like desktop of some kind, not sure if this works on KDE or Xfce or other desktop environments.

@Sh1d0w
Copy link

Sh1d0w commented Aug 1, 2016

Thanks @henrikhodne

To help others with similar problem, this is what I have done:

vi ~/.local/share/applications/mimeapps.list

And put the following code there:

[Default Applications]
text/html=brave.desktop
x-scheme-handler/http=brave.desktop
x-scheme-handler/https=brave.desktop
x-scheme-handler/about=brave.desktop
x-scheme-handler/unknown=brave.desktop

Brave is now the default browser on the system.

PS. I am using brave on Fedora 24

@willy-b
Copy link
Contributor

willy-b commented Aug 2, 2016

This is fixed with #2839, I think. (Tested on Ubuntu 14.04)

@ghost
Copy link

ghost commented Feb 17, 2017

I suspect this is similar issue, if Brave is set as default browser all links from other apps put Brave in focus, but do not open in it (just focus, nothing else happens).

Arch Linux with GNOME Desktop, I added mimelist config too, still same issue. Brave compiled with brave-git from AUR.

@molinadavid
Copy link

same for me on Ubuntu 16.04

Brave: 0.18.16
rev: 8003c66
Muon: 4.3.6
libchromiumcontent: 60.0.3112.78
V8: 6.0.286.44
Node.js: 7.9.0
Update Channel: dev
OS Platform: Linux
OS Release: 4.4.0-87-generic
OS Architecture: x64

@bsclifton
Copy link
Member

bsclifton commented Sep 8, 2017

+1 from @GGurtner via #10295 (using Linux Mint 17.1 and 17.2)

@darkdh darkdh self-assigned this Sep 14, 2017
darkdh added a commit that referenced this issue Sep 14, 2017
darkdh added a commit that referenced this issue Sep 14, 2017
darkdh added a commit that referenced this issue Sep 14, 2017
darkdh added a commit that referenced this issue Sep 14, 2017
darkdh added a commit that referenced this issue Sep 15, 2017
…wser`

requires brave/muon#309
fix #1336

Auditors: @bsclifton, @bbondy

Test Plan:
1. Set default browser to non Brave browser
2. Open Brave from fresh profile
3. You should see Brave ask to set as default
4. Click Yes, in about:preferences#general, you should see Brave is your
default browser
5. Check system setting, default browser should be Brave
darkdh added a commit that referenced this issue Sep 16, 2017
…wser`

requires brave/muon#309
fix #1336

Auditors: @bsclifton, @bbondy

Test Plan:
1. Set default browser to non Brave browser
2. Open Brave from fresh profile
3. You should see Brave ask to set as default
4. Click Yes, in about:preferences#general, you should see Brave is your
default browser
5. Check system setting, default browser should be Brave
@bsclifton bsclifton added this to the 0.19.x (Beta Channel) milestone Sep 18, 2017
darkdh added a commit that referenced this issue Sep 25, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.