mkdir /opt/utm-resolution-fix/
cp watch-and-fix.sh /opt/utm-resolution-fix/watch-and-fix.sh
chmod +x /opt/utm-resolution-fix/watch-and-fix.sh
cp utm-resolution-fix.service /etc/systemd/user/utm-resolution-fix.service
systemctl --user daemon-reload
systemctl --user enable --now utm-resolution-fix.service
Now, resizing the UTM window should actually resize the guest automatically.