Skip to content

feat: handle Firefox data dir under .config/mozilla and fallback to .mozilla/config#9

Open
tomsquest wants to merge 2 commits intomainfrom
firefox-datadir-under-config
Open

feat: handle Firefox data dir under .config/mozilla and fallback to .mozilla/config#9
tomsquest wants to merge 2 commits intomainfrom
firefox-datadir-under-config

Conversation

@tomsquest
Copy link
Copy Markdown
Collaborator

@tomsquest tomsquest commented May 5, 2026

On my system, Firefox profiles are under $home/.config/mozilla, but the plugin only reads from $home/.mozilla.

Change: check under .config, then fallback to the previous path

✅ working fine here

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Linux Firefox profile discovery logic so the plugin can look for Firefox data in an XDG-style location before using the historical Mozilla directory. In the codebase, this affects plugin startup and profile detection on Linux.

Changes:

  • Add Linux path selection for ~/.config/mozilla/firefox.
  • Keep ~/.mozilla/firefox as a fallback location.
  • Leave macOS and other platform handling unchanged.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread __init__.py Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants