Skip to content

Conversation

@stuffbucket
Copy link

  • Add VZOptions for display size (width, height, pixelsPerInch)

  • Implement configurable display size in VZ driver

  • Add VZAudioOptions for input/output enable control

  • Enable/disable audio input (microphone) and output (speakers)

  • Add Clipboard option for host-guest clipboard sharing via SPICE agent (X11 only - limitation of spice agent)

  • Add SPICE agent attachment for clipboard sharing

  • Improve Stop() with graceful shutdown and 30s timeout (matching QEMU)

All settings tested on macOS 26.2 and confirmed working. Clipboard enable/disable uses code-hex/vz upstream menu option instead of the window toolbar to avoid needing a custom fork of vz.

- Add VZOptions for display size (width, height, pixelsPerInch)
- Add VZAudioOptions for input/output enable control
- Add Clipboard option for host-guest clipboard sharing via SPICE agent
- Implement configurable display size in VZ driver
- Enable/disable audio input (microphone) and output (speakers)
- Add SPICE agent attachment for clipboard sharing
- Improve Stop() with graceful shutdown and 30s timeout (matching QEMU)

Signed-off-by: stuffbucket <231133237+stuffbucket@users.noreply.github.com>
hostResolver:
enabled: true

message: "======================================================================\nUbuntu Desktop (Xubuntu) with VZ Native Display\n======================================================================\n #magic___^_^___line\nInstalling Xubuntu desktop environment (5-10 minutes).\nThe VM will automatically reboot when installation completes.\n #magic___^_^___line\nAfter reboot, the VZ display window opens automatically.\n #magic___^_^___line\nNo external viewer needed - VZ provides native macOS window!\n #magic___^_^___line\nFeatures:\n - Native macOS window with Metal acceleration\n - Xfce Desktop Environment (lightweight)\n - Built-in audio support \n - Auto-login as user 'lima'\n - Better performance than QEMU/SPICE on macOS\n======================================================================\n"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Native macOS window with Metal acceleration

How did you confirm the acceleration?

default-template.yaml
schema-limayaml.json
.config
.DS_Store
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gitignore should be in your own home directory

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Too many new templates.
Should be consolidated with:

⚠️ Note: Uses X11 instead of Wayland for SPICE clipboard compatibility.
🚀 Launch: limactl start --name=plasma templates/experimental/debian-trixie-plasma.yaml
💻 Shell: limactl shell plasma
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you use AI?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Too lengthy, should be maintained in a third-party repo

https://lima-vm.io/docs/templates/github/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants