Ubuntu behaves as if I have two clipboards

16

My Ctrl+V produces a different result that RightClick+Paste

I can't reproduce this, it happens randomly, so I can't specify the circumstances just yet. I will as soon as I can make it happen all the time.

Please advise!


$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 10.04.2 LTS
Release:    10.04
Codename:   lucid

Mikhail

Posted 2011-04-19T19:14:58.543

Reputation: 1 321

Copy something, highlight something else, then try both paste methods. – Ignacio Vazquez-Abrams – 2011-04-19T19:17:23.360

Just tried this and got the exact same issue. Must be an Ubuntu bug. – paradd0x – 2011-04-19T19:19:18.167

1holy kernel, you're right. is this addressable? – Mikhail – 2011-04-19T19:19:49.147

Answers

15

X actually has three clipboards. Highlighting text moves it into one clipboard (PRIMARY), then performing a copy operation copies it to a second (CLIPBOARD) (the third [SECONDARY] is almost never used). The two paste methods are using different clipboards, which is causing confusion on your part.

Ignacio Vazquez-Abrams

Posted 2011-04-19T19:14:58.543

Reputation: 100 516

I guess i just won't use the explicit Copy clipboard ;) thanks for clearing this up – Mikhail – 2011-04-19T19:24:26.600

See also http://www.jwz.org/doc/x-cut-and-paste.html

– user1686 – 2011-04-20T14:37:25.793

14Is it possible to consolidate the two paste boards?? This is such a constant frustration for me. – Mark E. Haase – 2013-06-04T14:36:52.740