[BUG] pywalfox doesn't work on Fedora Workstation 41
This bug may be related to: https://github.com/mylinuxforwork/dotfiles/issues/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
- Click on the sidebar
- Open the Welcome App
- Click on the Installation Options
- Select pywalfox and follow the instructions
- Install pywalfox extension in firefox as usual (via about:addons pane)
- 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:
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:
- 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.)
- 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
- Follow the instructions as described in To Reproduce step, i.e. install pywalfox through the ML4W app.
- run
pywalfox installas 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 commandsudo pywalfox installin the install script provided by ML4W. - Restart firefox and optionally load the palette in the pywalfox extension settings.
- Enjoy your theme and brag about it :)
@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.
I had the same issue when installing (completely fresh Fedora 41 install, fully updated packages, and immediate subsequent install of ML4W on bare metal on Feb 4, 2025) and was unable to remedy following recommended advice online and from the github repo for the pywal firefox add-on. I think there may be an issue.
That said, I was able to get the same plugin to run without issue on Zen, which is a firefox derivative.
Prior to that, I tried uninstalling/reinstalling firefox, including removal of all data. Also tried re-installing the options script. I wasn't able to resolve the issue for Firefox.