LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-26-2019, 10:25 PM   #1
Pen guin
Member
 
Registered: Oct 2019
Posts: 54

Rep: Reputation: Disabled
In a Virtual Box, is it Possible to Cut and Paste Between Distros?


In a virtual box environment, I've added a second distro: Ubuntu 18.04 LTS.
So, now I have MX Linux and U.18.04 in a VB.

Is there a way to copy a LibreWriter doc (.ODT) from LM to U. 18.04.

I should note that MX has LW 6.1.5; while 18.04 has 6.0.x

I have GA installed, and copy and paste works to the extent that if you were to copy text from Firefox, on the host, and you went to U.18.04, and opened up an ASCII text editor, (for example, or even LWriter, the text would paste.

But, inside a Virtual Box Environment, copying and pasting, so far, hasn't worked for me.
Thanks in Advance,

Pen guin
 
Old 11-26-2019, 10:35 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,400

Rep: Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090
As far as I know the shared clipboard is only between the host and a guest.
 
Old 11-26-2019, 10:41 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 19,409

Rep: Reputation: 2996Reputation: 2996Reputation: 2996Reputation: 2996Reputation: 2996Reputation: 2996Reputation: 2996Reputation: 2996Reputation: 2996Reputation: 2996Reputation: 2996
Never tried it but bi-directional needs to be enabled I'd think.
 
Old 11-27-2019, 12:34 AM   #4
Pen guin
Member
 
Registered: Oct 2019
Posts: 54

Original Poster
Rep: Reputation: Disabled
I have bi-directional enabled...
 
Old 11-27-2019, 04:13 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,400

Rep: Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090
I can't either and as far as I know clipboard sharing between guests is not possible.
 
Old 11-27-2019, 07:08 AM   #6
Aeterna
Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, CRUX, FreeBSD, Funtoo, HardenedBSD, OpenIndiana
Posts: 282

Rep: Reputation: Disabled
Quote:
Originally Posted by Pen guin View Post
In a virtual box environment, I've added a second distro: Ubuntu 18.04 LTS.
So, now I have MX Linux and U.18.04 in a VB.

Is there a way to copy a LibreWriter doc (.ODT) from LM to U. 18.04.

I should note that MX has LW 6.1.5; while 18.04 has 6.0.x

I have GA installed, and copy and paste works to the extent that if you were to copy text from Firefox, on the host, and you went to U.18.04, and opened up an ASCII text editor, (for example, or even LWriter, the text would paste.

But, inside a Virtual Box Environment, copying and pasting, so far, hasn't worked for me.
Thanks in Advance,

Pen guin
not sure what do you want to share?
1) text between to apps?
it works but with limitations:
limitations
a) you have to open in both VM applications first.
b) you need to copy selected text to clipboard twice


I tested it also between different apps and it works too but you may need to repeat copy operation more than twice.
It just seems as operation of copying and pasting between two VM clients requires more time.

I tested this between Slackware VM client and MXlinux VM client. VM host is (also) Slackware


edit:
Just tested clipboard copy/paste between VM client Slackware and VM client Windows (Slackware Libreoffice writer and Windows Writer). Works too.

Last edited by Aeterna; 11-27-2019 at 09:58 AM. Reason: removed some stuff
 
Old 11-27-2019, 10:32 AM   #7
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,725

Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Is there a way to copy a LibreWriter doc (.ODT) from LM to U. 18.04.
An easy way would be to have a common shared folder. Copy the document to the shared folder in one distro and it would be immediately visible in the other distro's shared folder.
 
Old 11-27-2019, 11:09 AM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,400

Rep: Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090
Well guess I was just not giving it enough time.

It looks like a double ctrl-c works but single does not. I could not find anything in the VirtualBox documentation.

As stated to copy documents use shared folders.

Last edited by michaelk; 11-27-2019 at 11:10 AM.
 
Old 11-27-2019, 11:47 AM   #9
Aeterna
Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, CRUX, FreeBSD, Funtoo, HardenedBSD, OpenIndiana
Posts: 282

Rep: Reputation: Disabled
Quote:
Originally Posted by kilgoretrout View Post
An easy way would be to have a common shared folder. Copy the document to the shared folder in one distro and it would be immediately visible in the other distro's shared folder.
That is what I have set up to share documents between VM host and VM clients, but my understanding was that OP wants to use clipboard?

Anyway, copy/paste and file sharing in Virtualbox all work
 
Old 11-27-2019, 06:25 PM   #10
Pen guin
Member
 
Registered: Oct 2019
Posts: 54

Original Poster
Rep: Reputation: Disabled
I tried. I really did. I couldn't navigate back to my document, via the Windows File Explorer.

How did you guys do it, set up a shared folder?

I also tried Control C twice, and then paste, but to no avail. (in the MX Linux distro.)

TIA,

Pen guin
 
Old 11-27-2019, 06:42 PM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,400

Rep: Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090
Do you have guest additions installed for both guests?

Have a look at this guide.
https://www.howtogeek.com/189974/how...rtual-machine/
 
Old 11-27-2019, 07:17 PM   #12
Pen guin
Member
 
Registered: Oct 2019
Posts: 54

Original Poster
Rep: Reputation: Disabled
Yes, I can see GA is attached to the virtual drive re: both distros.
 
Old 11-27-2019, 07:24 PM   #13
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,400

Rep: Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090
Quote:
Originally Posted by Pen guin View Post
Yes, I can see GA is attached to the virtual drive re: both distros.
Does that mean that shared folders is working?
 
Old 11-27-2019, 07:58 PM   #14
Pen guin
Member
 
Registered: Oct 2019
Posts: 54

Original Poster
Rep: Reputation: Disabled
No, because in the vid I saw, she said you have to identify the folder on the host system, (windows in her case,) so, I tried to go to my VM installation, and drill down from there to the specific file. But, I couldn't get to right directory via windows. What I found was Ubuntu 18.04, and two folders beneath that.(Both of which were empty.) So, that's as far as I got.
 
Old 11-27-2019, 08:05 PM   #15
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,400

Rep: Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090Reputation: 3090
Quote:
I can see GA is attached to the virtual drive
I don't know what you mean by GA is attached to the virtual drive

Did you read the guide I posted? You pick the desired directory to be shared and then assign it a virtual drive name. Shared folders is basically creating a Windows share without samba. If you do not know what samba is then it really isn't important except it creates a Windows share. When you click on browse network in your file browser it should show your host as VBOXSRV and then when you click its icon you should see the shared folder.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Box, Linux and Windows: Is it possible to copy an image from Win OS and Paste in Linux? Pen guin Linux - Newbie 20 11-07-2019 06:27 PM
cut first 10 lines of file master.txt and paste in ab1.txt and so on yogeshkumkar Programming 4 08-31-2011 08:23 AM
Slackware 13.37 and Virtual Box 4.1 / Virtual Box 4.012 chris_kzn Slackware 4 07-29-2011 02:51 AM
Between sessions: cut/paste, multiple on one screen, dual monitors Z505 Linux - General 0 04-03-2005 02:42 PM
RedHat 7.3 Tab complete and cut and paste rjmagyar Linux - Software 1 10-08-2002 12:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration