[bug] generate wallpaper dual monitor

Hi @napcok

Sinse yesterday or more day’s, I cant remember, the wallpaper generation was not working for me.

I fixed it now for myself doing the following…

Two fixes applied to mb-canvas:

1. Multi-monitor crash$size captured all connected monitor resolutions, causing magick to attempt an impossibly large canvas allocation and fill /tmp.

Original error:

mb-canvas -Ras
WARNING: The convert command is deprecated in IMv7, use "magick" instead of "convert" or "magick convert"
convert: unable to write pixel cache '/tmp/magick-pvlUUZZl6GDR1kX-K_5Jp9JeiP27gHpu': No space left on device @ error/cache.c/WritePixelCachePixels/5984.
convert: Memory allocation error: Unspecified: Allocating 221213491215 bytes failed (6.0) `/home/vogel/Pictures/imagick/imagick_2026-03-21_01-04-28.avif' @ error/heic.c/IsHEIFSuccess/202.
/usr/bin/mb-canvas: line 70: 2560x1440: value too great for base (error token is "2560x1440")
# Before
size=$(xrandr | grep connected | grep -o '[0-9]*x[0-9]*')

# After
size=$(xrandr | grep ' primary' | grep -o '[0-9]*x[0-9]*' | head -1)

2. IMv7 deprecation warnings — replaced all convert calls with magick.

1 Like

Updated mabox-tools already pushed to repo.

Tested on my side… I still have one monitor setup.
Thanks @muzqs :slight_smile:

1 Like