0

In Ubuntu, it's possible to select content and paste it with the mouse middle-click. Is there any keyboard shortcut to paste the selected content so I don't need to use the mouse?

m26a
  • 165

2 Answers2

1

There are two different kinds of copy&paste. The one using Ctrl-C / Ctrl-V is usually managed by the window manager, while the middle-click paste comes from the X window system. See this answer for a more complete explanation.

It sounds like you want to emulate the middle-click paste from X11 with the keyboard. This is apparently not straightforward. You could try to emulate the middle mouse button using something like xbindkeys. Some inspiration may be found here although it looks like it is for Macs.

See also the man page for xsel which is a terminal program allowing to manipulate the X11 selection by terminal commands, which you may then be able bind to a key.

Sebastian
  • 1,451
0

Like on most other operating systems, CTRL+V is for pasting. CTRL+C is for copying selected content and CTRL+X cuts content if the source of the content is editable.

Addition 1: in the terminal you need to press SHIFT+CTRL+V / SHIFT+CTRL+C / SHIFT+CTRL+X

noisefloor
  • 1,769