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

Adjust to snap Firefox #4

Open
shamiv opened this issue Nov 25, 2021 · 5 comments
Open

Adjust to snap Firefox #4

shamiv opened this issue Nov 25, 2021 · 5 comments

Comments

@shamiv
Copy link

shamiv commented Nov 25, 2021

To make the extension work with the snap version of Firefox, I opened history.py and replaced firefox_path = os.path.join(os.environ['HOME'], '.mozilla/firefox/') with firefox_path = os.path.join(os.environ['HOME'], 'snap/firefox/common/.mozilla/firefox/').

@daggr8
Copy link

daggr8 commented May 8, 2022

Thanks for sharing!

I did the same for Flatpak.

firefox_path = os.path.join(os.environ['HOME'], '.var/app/org.mozilla.firefox/.mozilla/firefox')

@AlexNabokikh
Copy link

@daggr8 thanks! Now the extension can see Firefox bookmarks, but for some reason, unable to open them. Have you seen this problem on your side?

@daggr8
Copy link

daggr8 commented May 29, 2023

@daggr8 thanks! Now the extension can see Firefox bookmarks, but for some reason, unable to open them. Have you seen this problem on your side?

Yeah i had that too. If i recall it was that the Firefox flatpak wasn't the default browser.
So i set it with xdg-settings set default-web-browser org.mozilla.firefox.desktop

@AlexNabokikh
Copy link

@daggr8 thank you so much! it works now!

@Base-115
Copy link

To make the extension work with the snap version of Firefox, I opened history.py and replaced firefox_path = os.path.join(os.environ['HOME'], '.mozilla/firefox/') with firefox_path = os.path.join(os.environ['HOME'], 'snap/firefox/common/.mozilla/firefox/').

Wow, working in 2023, really cool, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants