1 |
On 26/06/2017 07:45 μμ, Ian Zimmerman wrote: |
2 |
> On 2017-06-26 19:18, Nikos Chantziaras wrote: |
3 |
> |
4 |
>> Sometimes the clipboard contents even disappear if you exit the |
5 |
>> application you copied from. Start Google Chrome. Select the URL bar. |
6 |
>> Press Ctrl+C. Quit Google Chrome. Try Ctrl+V somewhere. It's gone. The |
7 |
>> clipboard content you just copied from Chrome is gone. |
8 |
> |
9 |
> I think this is a feature, for privacy reasons. pass (the password |
10 |
> manager) does the same with passwords it puts into the clipboard. |
11 |
|
12 |
Nah, it's because in X the clipboard doesn't contain the data, it only |
13 |
contains a reference to the X client the copy was made it. A paste asks |
14 |
the application you copied from to provide the data. That means that if |
15 |
you quit the application, you can't paste anymore. |
16 |
|
17 |
However, a clipboard manager is supposed to fix that (like klipper on |
18 |
KDE/Plasma). But stuff stuff still breaks. |
19 |
|
20 |
The only workaround I know to paste something into a VM guest is to copy |
21 |
from the host application (e.g. Chrome), click on klipper icon in the |
22 |
systray, click on the paste data, then paste into the VM. |
23 |
|
24 |
And guess what? Sometimes that doesn't work either. Fortunately, it does |
25 |
most of the time. |