utmapp / utmapp/UTM

Drag and drop files into a virtual machine

Open
#6,471 0 comments 17 reactions 0 assignees View on GitHub
enhancement
Dominant language
Swift
Stars
35.5k
Forks
1.8k
Avg merge
5d 5h
Merged PRs (30d)
7

Description

> This feature should work on both iOS and macOS, since both support drag and drop.

> This would fix the issue in #6470, because I tried connecting the drive to the virtual machine to transfer files to the virtual machine (dragged the file onto the drive and connected it to the virtual machine)

![Concept of drag and drop in UTM](https://github.com/user-attachments/assets/c6251e38-45cd-474a-9bc6-709255f7d53f)

# Drag and drop files for UTM

This can be utilised using **SPICE Tools**. Since UTM already has the shared clipboard feature, it should be easy to implement a drag & and drop feature. It will work so that you can drag and drop files from the host to the guest, and vice versa.

> [!NOTE]
> Copying a file into the clipboard and pasting it into the virtual machine does not work.

## Workaround

You can make an `.iso` file and connect it to the virtual machine using this tip:
- Open `Disk Utility`
- Click "File" in the menu bar
- Choose "Image from Folder", and choose the folder you would like to turn into an `.iso` file.
- Run the following command in the terminal, `hdiutil makehybrid -iso -joliet -o result.iso file.cdr`.

## What it can be used for

This would make it easier to, for example, install iTunes on a Windows 7 virtual machine or get VLC on an Ubuntu virtual machine.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.