[BUG] Blank wallpaper and error message with updated Hyprland
Describe the bug
I updated after being away for a few weeks and it seems that ml4w 2.9.9 stable is not working nicely with the Hyprland update. When I logged in the wallpaper was black and I got a large error message at the top of the screen.
Previous messages like this I have fixed by commenting out trouble lines but this error message is too large and I am not sure how to unroll it to see all the errors. Maybe I need to update my ml4w.
Apart from the wallpaper, everything else seems to be working.
Any help is really appreciated.
Steps to reproduce
Error occurs on loading Hypalnd.
Expected behavior
Wallpaper should be visibile.
Screenshots
Distribution
Arch Linux
If Other, specify
No response
Additional context
No response
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Update following this I was able to remove all the errors. It seems I just needed to update windowrule->windowrulev2 and layerrule->layerrulev2. However the wallpaper still does not appear.
For the wallpaper, you need to switch from hyprpaper to swww.
For the wallpaper, you need to switch from hyprpaper to swww.
yes I saw this on the update notes, but I am not sure how to do it.
I just did this and now everything works again without errors:
-
Update your ML4W dotfiles to the 2.9.9.5 released after Hyprland's update. You simply need to go to ml4w dotfiles website > Install > and copy the latest link (ex. https://raw.githubusercontent.com/mylinuxforwork/dotfiles/main/hyprland-dotfiles-stable.dotinst for the stable one at the moment I'm writing the comment.) Run ML4W Welcome App (the one that starts at every session) > Main Menu (the pancake on the top right) > Update the ML4W dotfiles > Paste the link > Load and follow the instructions the same way as the first time you installed the dotfiles. At the end of the process the errors will go away.
-
Change the backend for the wallpaper. Simply open waypaper using the terminal or the shortcut in ML4W Sidebar app. At the bottom you can choose the backend. Choose "swww". If in the app it doesn't let you choose (sometimes it won't appear when I open it), just edit the file ~/.config/waypaper/config.ini and change backend to backend = swww
Then you just need to restart your session by logging out and back in.
@kliffom Exactly. Thanks for sharing the detailed step by step instructions.
I just did this and now everything works again without errors:
- Update your ML4W dotfiles to the 2.9.9.5 released after Hyprland's update. You simply need to go to ml4w dotfiles website > Install > and copy the latest link (ex. https://raw.githubusercontent.com/mylinuxforwork/dotfiles/main/hyprland-dotfiles-stable.dotinst for the stable one at the moment I'm writing the comment.) Run ML4W Welcome App (the one that starts at every session) > Main Menu (the pancake on the top right) > Update the ML4W dotfiles > Paste the link > Load and follow the instructions the same way as the first time you installed the dotfiles. At the end of the process the errors will go away.
- Change the backend for the wallpaper. Simply open waypaper using the terminal or the shortcut in ML4W Sidebar app. At the bottom you can choose the backend. Choose "swww". If in the app it doesn't let you choose (sometimes it won't appear when I open it), just edit the file ~/.config/waypaper/config.ini and change backend to backend = swww
Then you just need to restart your session by logging out and back in.
THANK YOU SO MUCH! This worked perfectly.
I was hesitant to update the dotfiles because of all the customizations I was worried about losing. Luckily the dotfiles installer allows you to maintain customized files.
I really appreciate the detailed instructions. It really freed me from the anxious paralysis I have with messing around with my configuration.