Page 1 of 1

Changing system/app default for settings

PostPosted: 18. Jan 2019, 20:31
by jelabarre59
I would like to be able to set the default values for "Shared Clipboard" and "Drag N Drop" on VBox to "Bidirectional". As it is currently I have to go in and change it every time I create a new VM. There should be a way to set my own preferred defaults for any new machines I create.

Re: Changing system/app default for settings

PostPosted: 18. Jan 2019, 22:13
by socratis
Not an option at the moment.

Although, if you're into programming, you could apply it to all your VMs by walking through the output of:
    VBoxManage list vms
and then for each VM you could apply DnD with:
    VBoxManage modifyvm "<VM>" --draganddrop disabled|hosttoguest[1]
and Shared Clipboard with:
    VBoxManage modifyvm "<VM>" --clipboard disabled|hosttoguest|guesttohost|bidirectional


[1]: There seems to be a mistake in the documentation of the "draganddrop" option. The command actually supports all four modes:
    VBoxManage modifyvm "<VM>" --draganddrop disabled|hosttoguest|guesttohost|bidirectional
This is correct in the User Manual, but not in the "VBoxManageHelp.cpp". I've notified the developers about it.