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

[BUG] pywalfox doesn't work on Fedora Workstation 41 #594

Open
marcinfreitag opened this issue Jan 2, 2025 · 1 comment
Open

[BUG] pywalfox doesn't work on Fedora Workstation 41 #594

marcinfreitag opened this issue Jan 2, 2025 · 1 comment
Assignees
Labels
bug Something isn't working to be confirmed Issue is currently under review and has not been released

Comments

@marcinfreitag
Copy link

marcinfreitag commented Jan 2, 2025

This bug may be related to:
#479

I cannot confirm this, since I don't have an Arch instance at hand.

Describe the bug
Pywalfox doesn't work when installed through the installation options invoked in the Welcome App.

To Reproduce

  1. Click on the sidebar
  2. Open the Welcome App
  3. Click on the Installation Options
  4. Select pywalfox and follow the instructions
  5. Install pywalfox extension in firefox as usual (via about:addons pane)
  6. Restart firefox

Expected behavior
Firefox should load the proper colour palette generated by pywal, instead it utilizes the default one.

Screenshots
Error message displayed in firefox:
screenshot_02012025_125848

Distribution:

  • Fedora Workstation 41, ML4W 2.9.7.3

Additional context
The script provided by ML4W invokes the following commands:

sudo pip install pywalfox
sudo pywalfox install

The first one is "fine", using venv would probably be better, but I haven't tested this so far.
The second one:

  1. sets the daemon executable path to: /usr/local/lib/python3.13/site-packages/pywalfox/bin/main.sh and execute permissions on daemon executable (This is fine.)
  2. copies the manifest to /root/.mozilla/native-messaging-hosts/pywalfox.json. This is not a desirable outcome.

Apparently, sudo pywalfox -g install installs the native host manifest globally, but it didn't work for me.

Solution

  1. Follow the instructions as described in To Reproduce step, i.e. install pywalfox through the ML4W app.
  2. run pywalfox install as the current regular user
    the manifest is copied to /home/${USER}/.mozilla/native-messaging-hosts/pywalfox.json which is the desired outcome
    The errors in the output are irrelevant, since the tasks have already been successfully completed by the command sudo pywalfox install in the install script provided by ML4W.
  3. Restart firefox and optionally load the palette in the pywalfox extension settings.
  4. Enjoy your theme and brag about it :)
@marcinfreitag marcinfreitag added the bug Something isn't working label Jan 2, 2025
@marcinfreitag marcinfreitag changed the title [BUG] pywalfox doen't work on Fedora Workstation 41 [BUG] pywalfox doesn't work on Fedora Workstation 41 Jan 2, 2025
@mylinuxforwork
Copy link
Owner

@marcinfreitag Just run the steps and the options script and everything worked fine. But had to run sudo pywalfox install to write the files with the right permissions.

So don't see an issue at the moment.

@mylinuxforwork mylinuxforwork added the to be confirmed Issue is currently under review and has not been released label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working to be confirmed Issue is currently under review and has not been released
Projects
None yet
Development

No branches or pull requests

2 participants