dotfiles
dotfiles copied to clipboard
[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 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 commandsudo pywalfox install
in 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 :)