VirtualBox

Ignore:
Timestamp:
May 15, 2014 12:04:17 PM (11 years ago)
Author:
vboxsync
Message:

DnD: Documentation, misc general typos + todos.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/en_US/user_GuestAdditions.xml

    r51240 r51257  
    12461246      manually.)</para>
    12471247    </sect2>
     1248  </sect1>
     1249
     1250  <sect1 id="guestadd-dnd">
     1251    <title>Drag'n Drop</title>
     1252
     1253    <para>Starting with version 4.4, VirtualBox supports to drag'n drop content
     1254    from the host to the guest and vice versa. For this to work the latest Guest
     1255    Additions must be installed on the guest.</para>
     1256
     1257    <para>Drag'n drop transparently allows copying or opening files, directories
     1258    and even certain clipboard formats from one end to the other, e.g. from the
     1259    host to the guest or from the guest to the host. One then can perform drag'n
     1260    drop operations between the host and a VM as it would be a native drag'n drop
     1261    operation on the host OS.</para>
     1262
     1263    <para>At the moment drag'n drop is implemented for Windows- and X-Windows-based
     1264    systems, both, on host and guest side. As X-Windows sports different drag'n drop
     1265    protocols only the most used one, XDND, is supported for now. Applications using
     1266    other protocols (such as Motif or OffiX) will not be recognized by VirtualBox.</para>
     1267
     1268    <para>In context of using drag'n drop the origin of the data is called
     1269    <emphasis role="bold">source</emphasis>, that is, where the actual data comes
     1270    from and is specified. On the other hand there is the
     1271    <emphasis role="bold">target</emphasis>, which specifies where the data from
     1272    the source should go to. Transferring data from the source to the target can
     1273    be done in various ways, e.g. copying, moving or linking.<footnote><para>At
     1274    the moment VirtualBox only copying data is supported. Moving or linking from
     1275    data currently is not implemented yet.</para></footnote></para>
     1276
     1277    <para>When transferring data from the host to the guest OS, the host in this
     1278    case is the source, whereas the guest OS is the target. However, when doing
     1279    it the other way around, that is, transferring data from the guest OS to the
     1280    host, the guest OS this time became the source and the host is the target.</para>
     1281
     1282    <para>For security reasons drag'n drop can be configured at runtime
     1283    on a per-VM basis either using the "Drag'n'Drop" menu item in the "Devices" menu
     1284    of the virtual machine or VBoxManage: The following four modes are available:
     1285
     1286    <para><mediaobject>
     1287      <imageobject>
     1288        <imagedata align="center" fileref="images/dnd-modes.png"
     1289                   width="10cm" />
     1290        </imageobject>
     1291      </mediaobject></para>
     1292
     1293    <itemizedlist>
     1294      <listitem>
     1295        <para><emphasis role="bold">Disabled</emphasis> disables the drag'n drop
     1296        entirely. This is the default when creating new VMs.</para>
     1297      </listitem>
     1298      <listitem>
     1299        <para><emphasis role="bold">Host To Guest</emphasis> enables performing
     1300        drag'n drop operations from the host to the guest only.</para>
     1301      </listitem>
     1302      <listitem>
     1303        <para><emphasis role="bold">Guest To Host</emphasis> enables performing
     1304        drag'n drop operations from the guest to the host only.</para>
     1305      </listitem>
     1306      <listitem>
     1307        <para><emphasis role="bold">Bidirectional</emphasis> enables performing
     1308        drag'n drop operations to both directions, e.g. from the host to the guest
     1309        and vice versa.</para>
     1310      </listitem>
     1311    </itemizedlist></para>
     1312
     1313    <note><para>Drag'n drop support depends on the frontend being used; at the
     1314    moment only the VirtualBox Manager frontend provides this
     1315    functionality.</para></note>
     1316
     1317    <para>To use VBoxManage for controlling the current drag'n drop mode, see <xref
     1318    linkend="vboxmanage" />. The commands <computeroutput>modifyvm</computeroutput>
     1319    and <computeroutput>controlvm</computeroutput> allow setting the VM's current
     1320    drag'n drop mode via command line.</para>
     1321
     1322    <sect2 id="guestadd-dnd-formats">
     1323      <title>Supported formats</title>
     1324
     1325      <para>As VirtualBox can run on a variety of host OSes and also supports a wide
     1326      range of guests, certain data formats must be translated after those
     1327      got transfered over so that the target OS (that is, the side which receiving the
     1328      data) is able to handle them in an appropriate manner.</para>
     1329
     1330      <note><para>When dragging files however, no data conversion is done in any way, e.g.
     1331      when transferring a file from a Linux guest to a Windows host the Linux-specific
     1332      line endings won't be converted to Windows ones.</para></note>
     1333
     1334      <para>The following formats are handled by the VirtualBox drag'n drop service:
     1335        <itemizedlist>
     1336          <listitem>
     1337            <para><emphasis role="bold">Plain text</emphasis>, from applications such as
     1338            text editors, internet browsers and terminal windows</para>
     1339          </listitem>
     1340          <listitem>
     1341            <para><emphasis role="bold">Files</emphasis>, from file managers such
     1342            as Windows explorer, Nautilus and Finder</para>
     1343          </listitem>
     1344          <listitem>
     1345            <para><emphasis role="bold">Directories</emphasis>, where the same applies
     1346            as for files</para>
     1347          </listitem>
     1348        </itemizedlist>
     1349      </para>
     1350    </sect2>
     1351
    12481352  </sect1>
    12491353
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette