Skip to content
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

[Desktop] Brave cannot be set as the default browser on Arch Linux #11032

Closed
arch-btw opened this issue Jul 31, 2020 · 3 comments
Closed

[Desktop] Brave cannot be set as the default browser on Arch Linux #11032

arch-btw opened this issue Jul 31, 2020 · 3 comments
Labels
closed/duplicate Issue has already been reported OS/Desktop OS/Linux/arch priority/P5 Not scheduled. Don't anticipate work on this any time soon.

Comments

@arch-btw
Copy link

Description

~/.local/share/applications/mimeapps.list is depreciated, but brave still uses it.

Steps to Reproduce

  1. Install Brave on KDE
  2. Open Brave

Actual result:

Brave is not your default browser (when it is).

Expected result:

Brave should be default browser.

Reproduces how often:

Always.

Brave version (brave://version info)

Brave | 1.14.2 Chromium: 84.0.4147.105 (Official Build) unknown (64-bit)

Version/Channel Information:

Nightly

  • Can you reproduce this issue with the current release? Not sure
  • Can you reproduce this issue with the beta channel? Not sure
  • Can you reproduce this issue with the nightly channel? Yes

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields? No
  • Does the issue resolve itself when disabling Brave Rewards? No
  • Is the issue reproducible on the latest version of Chrome? Don't know

Miscellaneous Information:

Symlinking fixes this.
ln -s ~/.config/mimeapps.list ~/.local/share/applications/mimeapps.list
As according to:
https://wiki.archlinux.org/index.php/XDG_MIME_Applications#mimeapps.list

@srirambv srirambv changed the title ~/.local/share/applications/mimeapps.list is depreciated, but brave still uses it. [Desktop] ~/.local/share/applications/mimeapps.list is depreciated, but brave still uses it. Sep 9, 2020
@rebron rebron changed the title [Desktop] ~/.local/share/applications/mimeapps.list is depreciated, but brave still uses it. [Desktop] ~/.local/share/applications/mimeapps.list is deprecated, but brave still uses it. Sep 11, 2020
@rebron
Copy link
Collaborator

rebron commented Sep 11, 2020

cc: @fmarier Can you take a look?

@rebron rebron added the needs-more-info The report requires more detail before we can decide what to do with this issue. label Sep 11, 2020
@fmarier
Copy link
Member

fmarier commented Sep 11, 2020

It looks like this is coming from the outdated version of xdg-mime that ships with Chromium. For comparison, the one that ships in Debian as part of the xdg-utils package uses .config/mimeapps.list.

In the official packages, that's not an issue because there is a dependency on the system xdg-utils package both in the .deb and the .rpm. I don't see that in the Arch brave-bin package though.

I would suggest you reach out to the maintainer of the Arch package. We can leave this issue open until the extra dependency gets added there.

@fmarier fmarier added priority/P5 Not scheduled. Don't anticipate work on this any time soon. and removed needs-more-info The report requires more detail before we can decide what to do with this issue. labels Sep 11, 2020
@fmarier fmarier changed the title [Desktop] ~/.local/share/applications/mimeapps.list is deprecated, but brave still uses it. [Desktop] Brave cannot be set as the default browser on Arch Linux Sep 11, 2020
@fmarier
Copy link
Member

fmarier commented Sep 11, 2020

Actually, we already have a bug tracking this problem: #2377

I added the work-around that you discovered. It would be great to get the Arch maintainer to add the extra dependency to see whether that resolves the issue.

@fmarier fmarier closed this as completed Sep 11, 2020
@fmarier fmarier added the closed/duplicate Issue has already been reported label Sep 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed/duplicate Issue has already been reported OS/Desktop OS/Linux/arch priority/P5 Not scheduled. Don't anticipate work on this any time soon.
Projects
None yet
Development

No branches or pull requests

4 participants