You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install spice-vdagent and reboot to enable clipboard sharing.
298
+
299
+
Check View > Scale Display > Auto resize VM with window. Then, running
300
+
#+begin_src bash
301
+
xrandr --output Virtual-1 --auto
302
+
#+end_src
303
+
Will resize the display to the VM window. [[https://superuser.com/questions/1183834/no-auto-resize-with-spice-and-virt-manager][This question]] has some info on how to automate that, I'm fine with executing the command manually.
304
+
305
+
To add a shared folder, do:
306
+
- Memory > Enable shared memory
307
+
- Add hardware > Filesystem with virtiofs, e.g.
308
+
309
+
#+begin_src xml
310
+
<filesystem type="mount">
311
+
<source dir="/home/pavel/00-Scratch"/>
312
+
<target dir="shared"/>
313
+
<driver type="virtiofs"/>
314
+
</filesystem>
315
+
#+end_src
316
+
317
+
Then, in order to mount:
318
+
#+begin_src bash
319
+
mkdir ~/00-Scratch/
320
+
sudo mount -t virtiofs shared /home/pavel/00-Scratch/
321
+
#+end_src
322
+
323
+
To make in permanent, add the following to =/etc/fstab=
0 commit comments