-
Notifications
You must be signed in to change notification settings - Fork 792
feat: VZ configurable display, audio, and clipboard support #4480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
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>
| 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" |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you use AI?
There was a problem hiding this comment.
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
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.