feat: VZ configurable display, audio, and clipboard support#4480
Open
stuffbucket wants to merge 1 commit intolima-vm:masterfrom
Open
feat: VZ configurable display, audio, and clipboard support#4480stuffbucket wants to merge 1 commit intolima-vm:masterfrom
stuffbucket wants to merge 1 commit intolima-vm:masterfrom
Conversation
- 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>
AkihiroSuda
reviewed
Dec 19, 2025
| 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" |
Member
There was a problem hiding this comment.
Native macOS window with Metal acceleration
How did you confirm the acceleration?
AkihiroSuda
reviewed
Dec 19, 2025
| default-template.yaml | ||
| schema-limayaml.json | ||
| .config | ||
| .DS_Store |
Member
There was a problem hiding this comment.
gitignore should be in your own home directory
AkihiroSuda
reviewed
Dec 19, 2025
Member
There was a problem hiding this comment.
Too many new templates.
Should be consolidated with:
AkihiroSuda
reviewed
Dec 19, 2025
| ⚠️ 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 |
AkihiroSuda
reviewed
Dec 19, 2025
Member
There was a problem hiding this comment.
Too lengthy, should be maintained in a third-party repo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.