<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>Dear Mr,</p>
<p>Please disregard my previous email as I finally found the answer:</p>
<p><i>/usr/bin/virt-viewer -w --spice-shared-dir=/home/user VM</i><br>
</p>
<p>If you don't mind, I have one remaining question: is it possible
to enable folder sharing by default, so that we don't have to go
to the File" → "Preferences" menu of virt-viewer to enable it each
time we start the VM?</p>
<p>Again, thank you very much for your work and your help.</p>
<p>Have a very nice day,</p>
<p>Best regards,</p>
<p>Frantz Honegger</p>
<p></p>
<div class="moz-cite-prefix">Le 20/10/2022 à 19:19, Frantz Honegger
a écrit :<br>
</div>
<blockquote type="cite" cite="mid:89b5b380-2130-4853-c3e7-793f99cd6d61@hotmail.com">
<p>Dear Mr,</p>
<p>Thank you very much for your time.<br>
</p>
<p>Could you please provide me with additional information about
the necessary settings to modify the spice-webdav default shared
directory (the directory is ~/Public by default, but I would
like it to be /home/user for example).</p>
<p>I did a lot of research on the net but could only find the
below information from <a class="moz-txt-link-freetext" href="https://github.com/lofyer/spice-webdav" moz-do-not-send="true">https://github.com/lofyer/spice-webdav</a>
:<br>
</p>
<p><b><i>In your virt-viewer client</i></b><i><br>
</i><i><br>
</i><i>The Spice client can share a folder with the remote
guest. By default folder sharing is disabled. Use the
remote-viewer "File" → "Preferences" menu to enable it. The
default shared directory is the XDG Public Share directory (ie
~/Public if you use a regular system). You may specify a
different folder with --spice-share-dir client option.</i></p>
<p>The problem is that I don't know where the "--spice-share-dir
client option" should be set (I am using virt-viewer). Could you
please provide me with a concrete example or more information?<br>
</p>
<p>Thank you very much for your work and your help.</p>
<p>Have a very nice day,</p>
<p>Best regards,</p>
<p>Frantz Honegger<br>
</p>
</blockquote>
</body>
</html>