# \[bug\] generate wallpaper dual monitor

**URL:** https://forum.maboxlinux.org/t/bug-generate-wallpaper-dual-monitor/2490
**Category:** Bug reports
**Created:** [March 21, 2026, 12:30pm UTC](https://forum.maboxlinux.org/t/bug-generate-wallpaper-dual-monitor/2490 "2026-03-21T12:30:08Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![muzqs](https://forum.maboxlinux.org/user_avatar/forum.maboxlinux.org/muzqs/32/3702_2.png) [@muzqs](https://forum.maboxlinux.org/u/muzqs)
#### Post date: [March 21, 2026, 12:30pm UTC](https://forum.maboxlinux.org/t/bug-generate-wallpaper-dual-monitor/2490/1 "2026-03-21T12:30:08Z")

</div>

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:

```auto
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")

```

```bash
# 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`.

---

<div class="post-metadata">

### Author: ![napcok](https://forum.maboxlinux.org/user_avatar/forum.maboxlinux.org/napcok/32/410_2.png) [@napcok](https://forum.maboxlinux.org/u/napcok)
#### Post date: [March 21, 2026, 1:33pm UTC](https://forum.maboxlinux.org/t/bug-generate-wallpaper-dual-monitor/2490/2 "2026-03-21T13:33:45Z")

</div>

Updated `mabox-tools` already pushed to repo.

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