Mouse/keyboard sequences for Ubuntu cut-and-paste ?

This is for discussing general topics about how to use VirtualBox.

Mouse/keyboard sequences for Ubuntu cut-and-paste ?

Postby ronbarak » 15. Apr 2015, 23:44

I have a non-graphical Ubuntu installed inside VirtualBox under Windows.
I've installed VBoxGuestAdditions (and enabled bidirectional Drag'n'Drop - for the hell of it).

However, none of the following will paste to the guest OS:

  • Shift+Ins
  • Ctrl+v
  • Ctrl+Shift+v
  • Pressing right-click and left-click simultaneously (this emulates a middle-click on my laptop's two keys touch-pad).

What are the sequences for mouse/keyboard cut-and-paste in non-graphical Ubuntu under VirtualBox?


Environment:

  • VirtualBox: 4.3.12 r93733
  • VBoxGuest: 4.3.12
  • Guest OS: Linux ubuntu 3.13.0-32-generic #57~precise1-Ubuntu SMP x86_64
  • Host OS: Windows 7
ronbarak
 
Posts: 4
Joined: 15. Apr 2015, 23:28

Re: Mouse/keyboard sequences for Ubuntu cut-and-paste ?

Postby Perryg » 16. Apr 2015, 00:14

Without X I don't see anything that is going to help.
Perryg
Site Moderator
 
Posts: 34373
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Mouse/keyboard sequences for Ubuntu cut-and-paste ?

Postby ronbarak » 16. Apr 2015, 00:22

Perryg wrote:Without X I don't see anything that is going to help.

Compare this situation to Cygwin: there you can cut-and-paste to a mintty window - without needing X-windows.
Reasonable to expect that cut-and-paste from host/guest would work on VirtualBox also.
ronbarak
 
Posts: 4
Joined: 15. Apr 2015, 23:28

Re: Mouse/keyboard sequences for Ubuntu cut-and-paste ?

Postby Perryg » 16. Apr 2015, 00:31

Maybe true but you are not using cygwin.
Perryg
Site Moderator
 
Posts: 34373
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Mouse/keyboard sequences for Ubuntu cut-and-paste ?

Postby loukingjr » 16. Apr 2015, 00:47

ronbarak wrote:Compare this situation to Cygwin: there you can cut-and-paste to a mintty window - without needing X-windows.

from the Cygwin page…
X server 1.17 and X.Org X11 Release 7.7 are now included in Cygwin.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
loukingjr
Volunteer
 
Posts: 8827
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Mouse/keyboard sequences for Ubuntu cut-and-paste ?

Postby ronbarak » 16. Apr 2015, 00:53

mintty can do cut-and-paste when the X-windows server is not in memory.
ronbarak
 
Posts: 4
Joined: 15. Apr 2015, 23:28

Re: Mouse/keyboard sequences for Ubuntu cut-and-paste ?

Postby Perryg » 16. Apr 2015, 00:58

The good thing is VirtualBox is open source and if you want to provide the code to make it happen I am sure everyone will be grateful.
Perryg
Site Moderator
 
Posts: 34373
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Mouse/keyboard sequences for Ubuntu cut-and-paste ?

Postby loukingjr » 16. Apr 2015, 01:07

Here is one possible solution I found with no trouble…
I recommend installing ssh server, then connecting to the VM with the SSH client of your choice, e.g. PuTTY - this offers not only easy cut&paste, but also a resizable text console and other goodies. – Eugen Rieck

Do I know what it means or how to implement it? nope.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
loukingjr
Volunteer
 
Posts: 8827
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Mouse/keyboard sequences for Ubuntu cut-and-paste ?

Postby ronbarak » 16. Apr 2015, 01:23

loukingjr wrote:
I recommend installing ssh server, then connecting to the VM with the SSH client of your choice, e.g. PuTTY - this offers not only easy cut&paste, but also a resizable text console and other goodies. – Eugen Rieck
That's an interesting idea to fall back on if natural cut-and-paste solution is not found. Thanks.
ronbarak
 
Posts: 4
Joined: 15. Apr 2015, 23:28

Re: Mouse/keyboard sequences for Ubuntu cut-and-paste ?

Postby loukingjr » 16. Apr 2015, 01:24

no problem.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
loukingjr
Volunteer
 
Posts: 8827
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Mouse/keyboard sequences for Ubuntu cut-and-paste ?

Postby mlentz002 » 19. May 2015, 01:21

Cut/Paste should be removed, since it doesn't work. Or at least identify which hosts are supported. Doesn't work between Ubuntu Server and Ubuntu server.
mlentz002
 
Posts: 1
Joined: 19. May 2015, 01:19

Re: Mouse/keyboard sequences for Ubuntu cut-and-paste ?

Postby loukingjr » 19. May 2015, 01:56

mlentz002 wrote:Cut/Paste should be removed, since it doesn't work. Or at least identify which hosts are supported. Doesn't work between Ubuntu Server and Ubuntu server.

Cut and Paste works on my OSX, Linux and Windows hosts so I would rather it not be removed TYVM.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
loukingjr
Volunteer
 
Posts: 8827
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Mouse/keyboard sequences for Ubuntu cut-and-paste ?

Postby Perryg » 19. May 2015, 02:15

mlentz002 wrote:Cut/Paste should be removed, since it doesn't work. Or at least identify which hosts are supported. Doesn't work between Ubuntu Server and Ubuntu server.

That's right if only 95% of the users can use it then it should go away.

Seriously you can find a replacement really easy.
Perryg
Site Moderator
 
Posts: 34373
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX


Return to Using VirtualBox

Who is online

Users browsing this forum: No registered users and 9 guests