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

Setting Cromite as default browser in Linux #1806

Open
4 tasks done
IsHacker003 opened this issue Feb 8, 2025 · 2 comments
Open
4 tasks done

Setting Cromite as default browser in Linux #1806

IsHacker003 opened this issue Feb 8, 2025 · 2 comments
Labels
need triage I will look into it, I promise!

Comments

@IsHacker003
Copy link

Preliminary checklist

  • I have read the README
  • I have searched existing issues for my feature request. This is a new issue (NOT a duplicate) and is not related to another issue.
  • I have searched wont fix issues and this request is not among them
  • This is a feature request for the Cromite browser; not the website nor F-Droid nor anything else.

Is your feature request related to privacy?

No

Is there a patch available for this feature somewhere?

No

Describe the solution you would like

I managed to find a way to set Cromite as the default browser:

  1. Create a file called chromium-browser.desktop under /usr/share/applications, with the content:

[Desktop Entry]
Version=1.1
Name=Cromite
GenericName=Browser
Comment=Launch Cromite.
Exec=(path to cromite folder)/chrome
Icon=(path to cromite folder)/product_logo_48.png
Terminal=false
Type=Application

  1. Execute sudo xdg-settings set default-web-browser chromium-browser.desktop in the terminal
  2. Go to Cromite's settings and make it the default browser.

I would like all of this to automatically happen when you try to make Cromite the default browser from settings. Thanks in advance for considering the feature request!

Describe alternatives you have considered

N/A

@uazo
Copy link
Owner

uazo commented Feb 11, 2025

is currently directly supported by the chromium code:

https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/shell_integration_linux.cc?q=symbol%3A%5Cbshell_integration_linux%3A%3ASetDefaultWebClient%5Cb%20case%3Ayes

it doesn't work?

@uazo uazo added the awaiting info Further information is requested label Feb 11, 2025
@IsHacker003
Copy link
Author

is currently directly supported by the chromium code:

https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/shell_integration_linux.cc?q=symbol%3A%5Cbshell_integration_linux%3A%3ASetDefaultWebClient%5Cb%20case%3Ayes

it doesn't work?

Well no, nothing happens at all when I click on "Make default". It only works after following my method.

@uazo uazo added need triage I will look into it, I promise! and removed awaiting info Further information is requested labels Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need triage I will look into it, I promise!
Projects
None yet
Development

No branches or pull requests

2 participants