the qubes clipboard

72 views
Skip to first unread message

Ulrich Windl

unread,
Feb 29, 2020, 12:15:04 PM2/29/20
to qubes...@googlegroups.com
Hi!

I'm very much confused with the Qubes OS clipboard:
When trying to copy some text from a Temrinal, I mark the text with the mouse then press "Ctrl+Shift+C", and I get a confirmation that the text is copied.
However when I try to paste the clipboard in another machine, the contents is not what I had marked.
When I use the "Edit->Copy" menu in the Terminal after having marked the text, and then press "Ctrl+Shift+C" again, the correct text is put in the Qubes OS clipboard.
Confusingly the Terminal displays the shortcut "Ctrl+Shift+C" for "Edit->Copy".

Isn't that a highly confusing feature (slowing down productive work a lot IMHO)?

Regards,
Ulrich


Jackie

unread,
Feb 29, 2020, 2:03:51 PM2/29/20
to qubes...@googlegroups.com
Ulrich Windl:
Hi,

In general, copying text from one VM to another is a four step process.
Highlight text in VM1 document and ctrl+C to copy to VM1 clipboard. Then
ctrl+shift+C to copy to dom0 clipboard. Then in VM2 window ctrl+shift+V
to copy to VM2 clipboard, then ctrl+V to paste into document.

It's pretty fast once you get used to it, just highlight, ctrl+C,
ctrl+shift+C, alt+tab, ctrl+shift+V, ctrl+V.

Terminal is a special case because ctrl+C, ctrl+V doesn't work to
copy/paste, and default terminal shortcuts are the same as qubes
inter-vm copy/paste shortcuts that take precedence. To paste text into
terminal i ctrl+shift+V like normal to copy into VM clipboard, then
edit->paste to paste into terminal. Or to copy from terminal, highlight,
edit->copy, then ctrl+shift+C to copy to dom0 clipboard.

Actually i think it's possible to change the dom0 shortcut so they no
longer conflict, but the occasional edit->copy or edit->paste in
terminal isn't too inconvenient for me.

unman

unread,
Feb 29, 2020, 7:37:34 PM2/29/20
to qubes...@googlegroups.com
Also, it depends (naturally) on *which* terminal you use.
I have little experience with gnome-terminal, which is, I think, what
op is using.
Using xterm or uxterm, mouse selection *does* work to copy, and
Ctrl+Shift+C copies that text to clipboard for transmission to another
qube.
Does gnome-terminal need some extra configuration to enable "selection
by mouse"?

Jackie

unread,
Mar 1, 2020, 7:36:46 PM3/1/20
to qubes...@googlegroups.com
unman:
Gnome-terminal is what i use too. Actually i'm able to *select* text
with the mouse, the problem is copying it to VM clipboard. The shortcut
for copy in gnome-terminal is ctrl+shift+C, which qubes intercepts.

But actually now that i look gnome-terminal allows you to change the
shortcut in preferences, so you can change it to whatever you want then
use keyboard shortcuts like normal.

Right click->copy and right click->paste also work.

Stuart Perkins

unread,
Mar 1, 2020, 7:43:24 PM3/1/20
to Ulrich Windl, qubes-users
--
You received this message because you are subscribed to the Google Groups "qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/5E5A9C11020000A10003749A%40gwsmtp.uni-regensburg.de.

Qubes copy and paste from one vm to another is a multi step process.  First "copy" in the source vm window using the vm's copy keys (may be ctl-c or right click "copy" or "ctl-insert" depending on what you are running). This places text in vm's buffer. Then ctl-shift-c to copy vm buffer to qubes buffer. Then click in target vm window to give target vm "focus". Then ctl-shift-v to paste from qubes buffer to target vm buffer. Then paste as normal in target vm...may be ctl-v, shift-insert or other, again depending on what you are running. 

Stuart Perkins

unread,
Mar 1, 2020, 8:39:50 PM3/1/20
to qubes...@googlegroups.com, Jackie
Was on a phone, and didn't read the thread through. On my old Qubes install, I changed the Qubes copy/paste to use the "windows" key...made it easier.

Ulrich Windl

unread,
Mar 4, 2020, 4:01:39 PM3/4/20
to qubes...@googlegroups.com
On 3/1/20 1:37 AM, unman wrote:
> On Sat, Feb 29, 2020 at 07:02:58PM +0000, 'Jackie' via qubes-users wrote:
> Also, it depends (naturally) on *which* terminal you use.
> I have little experience with gnome-terminal, which is, I think, what
> op is using.

Yes, I'm using the "default" terminal which seems to be GNOME's.
Reply all
Reply to author
Forward
0 new messages