Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

Is it possible to paste from the X clipboard without using the middle button?

My question refers to Firefox. I know it uses the gtk clipboard but it's still possible to paste from X with a middle click, so I thought about a possibility to do this with the keyboard too.

Are there any keyboard shortcuts?

share|improve this question

migrated from Dec 7 '10 at 14:32

This question came from our site for professional and enthusiast programmers.

Is this a programming question? – Gabe Dec 6 '10 at 3:32

There are two "clipboards" (see )

If you want to use the keyboard an option is to just use the real clipboard instead of the goofy middle click / current selection easter egg. Then you can use ctrl+C, ctrl+V. (Or Shift+Insert)

I don't see a key shortcut for pasting the selection in the GTK+ source code, for what it's worth, so if you do want to avoid the Ctrl+C I don't see a way to do so.

Come to think of it, perhaps it could never work, because when you left-click into the entry to paste into it, or tab navigate into it, it's going to be auto-selected, which will blow away whatever you had selected before. Middle click is the only way to paste without changing the selection first.

share|improve this answer

You must log in to answer this question.