Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just moved this question I made some time ago, from StackOverflow to here:

In a terminal I can select a single line, double clicking with the Left Mouse Button. With xterm, I can extend that selection clicking with the Right Mouse Button in the place I want to extend it.

Then can I paste the whole selection with the Middle Mouse Button or paste it in other application.

In gnome-terminal, it seems I can extend the selection clicking with the Left Mouse Button, but holding at the same time the Shift key.

Visually, it seems the selection is done, but when clicking with the Middle Mouse button or pasting in other application, I only get the primary single line selection.

How can I get the whole selection under gnome-terminal? Is it possible to use selections in gnome-terminal as xterm does? Cheers, Tomas.

In Ubuntu with GNOME Terminal 2.30.2, it didn't not to work. But I just tried it in CentOS with Gnome gnome-terminal 2.16.0, and it works.

Does it seems to be a matter of the gnome-terminal version? Or is there some obscure issues related to XWindows copy&paste mechanisms?

share|improve this question
Instead of cross-posting the question, maybe it would have been better to try to get the question migrated from StackOverflow to Superuser. Cross-posting a question is generally discouraged. – killermist Jun 27 '13 at 11:50
As long as nobody contributed with an answer, I just deleted it from StackOverflow. – nephewtom Jul 2 '13 at 13:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.