cirruslabs / tart

macOS and Linux VMs on Apple Silicon to use in CI and other automations
https://tart.run
Other
3.8k stars 111 forks source link

Add support pasting clipboard from host for Linux VMs #806

Closed amalchuk closed 5 months ago

amalchuk commented 5 months ago

Partially closing #14.

Tested on Ubuntu 22.04, and works only on Linux VMs only for now.

edigaryev commented 5 months ago

Hello Andrew, thanks for the contribution!

Would you mind addressing the concerns expressed https://github.com/cirruslabs/tart/pull/202#issuecomment-1228936229 in this PR too?

Or we can merge and then build add an option on top of this.

/cc @fkorotkov

amalchuk commented 5 months ago

What do you think about adding an "audio" option to the config.json file for this feature? Or, another option in the CLI – such as "--no-audio", with an option called "--no-clipboard"?

Currently, every feature is enabled by default – audio, for example. If a user doesn't want to use any of the default features, they can choose to disable them with options.

I think enabling clipboard sharing by default is a good idea, but also providing an option to disable this feature with "--no-clipboard" would be useful. What do you think?