GradienceTeam / Plugins

The home for plugins
GNU General Public License v3.0
7 stars 4 forks source link

bug: Firefox extension does not work, stderr shows No profiles found #10

Closed aspizu closed 1 year ago

aspizu commented 1 year ago

Is there an existing issue for this?

What happened?

the Firefox extension does not work, stderr shows the output No profiles found.

To Reproduce

  1. Install firefox-gnome-theme
  2. Apply with Firefox extension enabled
  3. Restart Firefox

Expected behavior

Firefox should be themed.

Screenshots

No response

OS

Fedora Workstation 37

Version

0.3.0

Installation method

Flatpak from Flathub

Additional context

No response

Code of Conduct

salarua commented 1 year ago

I have the same problem, but I get no output on stdout or stderr.

ZechariahB commented 1 year ago

Please post the path to your current firefox profile. You can access it through Settings > Help > More Troubleshooting Information. For the extension to detect your profile, your profile should generally be in ~/.mozilla/firefox/. (You can change where the extension detects profiles) Your profile must end with either ".default-release", ".default", ".default-nightly", or ".dev-edition-default" for it to be detected. My profile ends with ".default-release".

I little word of warning if you do have it detect your profile. This extension expects a certain path to insert code into a file. (This may change as the plugin improves.) The contributors of Firefox GNOME Theme created problems within their installation scripts. Using auto-install.sh results in directories and files copied to the wrong locations where Firefox cannot detect as a theme because the CSS does not import to the right paths. Firefox GNOME Theme would not work entirely in that case. Manual user installation of Firefox GNOME Theme can lead to this extension not finding the path to customChrome.css required to change colors. Applying a color scheme in that case would have no effect. The easiest way was using install-by-curl.sh to install Firefox GNOME Theme. Gradience correctly applied its code to change color scheme.

aspizu commented 1 year ago

firefox profile path = /home/aspizu/.mozilla/firefox/gyl6ooi5.default-release (this folder contains the chrome folder)

salarua commented 1 year ago

I found a potential problem: my profile directory is named 0vtfvjx9.default-release-1622669566561.

aspizu commented 1 year ago

mr PR fix this issueeeee

0xMRTT commented 1 year ago

Okay, let's merge it. The biggest issue is that you changed the author name :/, what about beeing part of the team, so we can keep the current author ?

aspizu commented 1 year ago

ok

aspizu commented 1 year ago

this is fixed i suppose

0xMRTT commented 1 year ago

Okay 👍

Doomsdayrs commented 1 year ago

Still does not work, does this need the app itself to be updated?

0xMRTT commented 1 year ago

Oh, sorry. You need to wait the next release or to use flatpak from the github CI, or install from source