dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

[BUG] Blank wallpaper and error message with updated Hyprland

Open AdamSmithOrlik opened this issue 10 months ago • 6 comments

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

Image

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

AdamSmithOrlik avatar Jan 06 '26 17:01 AdamSmithOrlik

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.

AdamSmithOrlik avatar Jan 06 '26 18:01 AdamSmithOrlik

For the wallpaper, you need to switch from hyprpaper to swww.

ImLimitedEd avatar Jan 06 '26 20:01 ImLimitedEd

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.

AdamSmithOrlik avatar Jan 06 '26 21:01 AdamSmithOrlik

I just did this and now everything works again without errors:

  1. 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.

  2. 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 avatar Jan 06 '26 23:01 kliffom

@kliffom Exactly. Thanks for sharing the detailed step by step instructions.

mylinuxforwork avatar Jan 07 '26 08:01 mylinuxforwork

I just did this and now everything works again without errors:

  1. 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.
  2. 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.

AdamSmithOrlik avatar Jan 07 '26 14:01 AdamSmithOrlik