Ticket #1139 (new enhancement)

Opened 6 years ago

Last modified 3 months ago

Feature request: wider copy/paste support, in Console for instance

Reported by: Jubijub Owned by:
Priority: minor Component: clipboard
Version: VirtualBox 1.5.4 Keywords: copy paste console
Cc: Guest type: other
Host type: other

Description (last modified by michael) (diff)

I'd like to see a wider copy/paste support, for exemple in console without X installed (typicall server config).

Beeing able to copy/paste from/to shell would be very nice for server config work, as many server daemon use text based configuration.

Use case :

  • (on windows host) : copy a config line from a webpage
  • (on linux guest, debian etch with Zsh) : open vi, then paste the config line

Another use case :

  • (on windows host) : copy a command line from a webpage
  • (on linux guest, debian etch with Zsh) : paste it on the shell to execute it

Another use case :

  • (on linux guest, debian etch with Zsh)) : copy the result of a command or a log file (from tail, more, cat, whatever)
  • (on windows host): paste it on a forum to seek for help

This would turn virtual box into a powerfull tool for learning server admin, or to use it as a copy of a production server where you can test modifications...

Change History

comment:1 Changed 6 years ago by sandervl73

  • Priority changed from major to minor
  • Summary changed from Wider copy/paste support, in Console for instance to Feature request: wider copy/paste support, in Console for instance

comment:2 Changed 6 years ago by Pistos


comment:3 Changed 6 years ago by ptitmain

This could be really helpful to manage virtual operating systems that does not have an X server. I use virtual box to install debian kernels and test them and it's true that it's frustrating to not be able to copy/paste from firefox some long admin commands into the guest OS.

comment:4 Changed 6 years ago by frank

  • Component changed from other to clipboard

comment:5 Changed 5 years ago by thewild


Copy/Paste to linux guests in console-only mode would be a huge improvement to VirtualBox.

comment:6 Changed 5 years ago by vooose

Major pain not having this feature. Forces you to install Xorg and/or have an x-server if your host is windows. Should be more than minor priority.

comment:7 Changed 5 years ago by michael

Perhaps this would be a good candidate for an external contribution? We currently don't have time to implement this, as we have more than enough other tasks to keep us busy, but we would be happy to help with the relevant VirtualBox interfaces.

comment:8 Changed 5 years ago by Jubijub

I wish I could help, but I only know how to code in Java which I guess is not of help here...I can assist with tests though

comment:9 Changed 5 years ago by michael

#3293 has been marked a duplicate of this ticket.


Either by hotkey or by menu item VirtualBox could back-translate the text on the host clipboard to a sequence of physical key codes (according to host key mapping) and would send those keys to the guest. This would allow anyone to paste text from host to guest without requiring any form of guest support or driver. It would equally allow pasting to console or to a graphical editor, as long as host/guest key mappings do not differ too much.

comment:10 Changed 5 years ago by emerson.gomes.ribeiro


Really annoying thing..

comment:11 Changed 5 years ago by frank

Waiting for your patch.

comment:12 Changed 4 years ago by julbts

Another ping as the lack of a copy/paste feature is indeed very annoying.

comment:13 Changed 4 years ago by frank

Yes, and there are many other missing features which is annoying as well. Still waiting for patches.

comment:14 Changed 4 years ago by ceilingfish

+1 for this. Very dissappointed to find it's not possible.

comment:15 Changed 4 years ago by michael

cellingfish: very sorry that you are so disappointed. You must realise though that although VirtualBox is a very feature-complete piece of software there are still more useful features that could be added than our team can add in a reasonable time, and we have to make choices, normally based on what paying customers are interested in. This is one of the reasons why we make the source code available to the general public - so that people with different priorities to us can still add features which they want badly and which we do not currently have time to do.

comment:16 Changed 4 years ago by vooose

Its actually not that much of an issue.(as I once commented on 2 years ago) All you need to do is  putty into the machine; sure its not *ideal* but it sure beats typing out each command

comment:17 Changed 3 years ago by bronger

Strangely, that's the only way to subscribe to bug reports here ...

comment:18 Changed 3 years ago by Technologov

+1. Useful.


comment:19 Changed 18 months ago by miksmi

+1 would enhance productivity as per the ticket description.

comment:20 Changed 18 months ago by michael

  • Description modified (diff)

Unfortunately it still doesn't look like we will be able to implement this in the foreseeable future. So if it is implemented it will probably have to be as a user contribution.

comment:21 Changed 15 months ago by efferre


comment:22 Changed 11 months ago by xpt

This is such a fundamental request for Linux server/console. Mouse & copy/paste is supported within Linux console mode by gpm, but not to/from the host through virtualbox.

I can't believe that virtualbox/oracle kept turning a deaf ear to the strong request, and downplaying such fundamental feature as minor for five straight years.

Sigh, oracle, oracle, oracle ...

comment:23 Changed 11 months ago by michael

As I mentioned in a previous comment, VirtualBox is open source, and while I appreciate that some areas of the source code are rather hard to get to grips with, this is one area which I think would be quite manageable for anyone interested in contributing. The fact that no one has even attempted this suggests that perhaps the interest on the part of the user community is not quite as high after all.

comment:24 Changed 10 months ago by frank

I removed the last insulting comment.

comment:25 Changed 3 months ago by amadis

Hi! It is really nice and required feature. Many admins install guest linux systems without X11 support to test console/daemon applications. And get no clipboard support... Please include support console/host system clipboad integration via gpm.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use