Questions tagged [clipboard]

Basic clipboard functionality is storing data and allowing to access it, just like memory functions in calculators. For advanced functionalities use "clipboard-manager" tag.

Clipboard is a place where data is stored upon copy or cut, and from which data is taken, when you use paste. It's usually involved on all:

  • Ctrl+c, Ctrl+v and Ctrl+x operations for platforms using MS Windows standard,
  • Ctrl+Insert, Shift+Insert and Shift+Delete on platforms following IBM standard.
  • On Macintosh computers, Cmd is used instead of Ctrl.
480 questions
244
votes
28 answers

How do I disable middle mouse button click paste?

Is there a way to disable the middle mouse button paste behavior that is here by default on gnome? I have a sensitive mouse wheel and whenever I scroll texts, sometimes it pastes stuff randomly into the text. I lose quite a lot of credibility when I…
levesque
  • 4,572
173
votes
5 answers

How do I pipe terminal standard output (stdout) to the clipboard?

Say I want to list the contents of a folder and directly paste them into a chat window for a friend to see. I realize I could do ls > filename.txt to create a file (filename.txt) with those contents; I'd then have to open or print the file and…
Insperatus
  • 5,093
167
votes
18 answers

How to fix virtualbox's copy and paste to host-machine?

Sometimes while using VirtualBox, I have tried copying text from the virtual machine to the host machine but failed. Whenever that happens, I fix it by rebooting the virtual machine. Is there a solution to this because I don't want to keep…
sam
  • 6,921
160
votes
12 answers

A command-line clipboard copy and paste utility?

In Windows I used command-line clipboard copy-and-paste utilities... pclip.exe and gclip.exe These were UnixUtils ports for Windows (but they only handled plain text). There were a couple of other native Windows utilities which could…
Peter.O
  • 25,251
148
votes
4 answers

Progress bar for scp command

Is there any way to display a progress bar while copying from server to local (or vice versa) using scp?
Abdul Shajin
  • 1,855
139
votes
9 answers

How to copy & paste from Ubuntu VirtualBox guest to Windows host?

I am running VirtualBox 4.1.4 on my Windows 7 laptop, running an Ubuntu 11.10 guest. I would like to copy text from Ubuntu's terminal and paste it into a file on the Windows host. This doesn't work for some reason. Any ideas?
130
votes
4 answers

What is the command line equivalent of copying a file to clipboard?

What is the command line equivalent to pressing CTRL+C over a file in the file manager so that the file (not the filename) is copied to the clipboard? A situation where this can be useful and fast, for example, is when you want to copy to the…
Strapakowsky
  • 12,304
111
votes
9 answers

Is there a default clipboard history in Ubuntu? If there is, how can I access it?

Is there a default clipboard history in Ubuntu 20.04 or later? If there is, how can I access it? I know there are lots of available applications for saving clipboard history in the default Ubuntu repositories.
103
votes
11 answers

Making Ctrl+C copy text in gnome-terminal?

Is it possible for me to make Ctrl+C perform a copy command if there is highlighted text in the terminal? Otherwise, it should retain its normal behavior. (If there is a terminal that can do this other than gnome-terminal, that's probably fine too.)
user541686
  • 4,347
100
votes
11 answers

How can I copy/paste files via RDP in Kubuntu?

I recently installed the latest Kubuntu (x64) on my work machine as I am trying to migrate away from Windows. Unfortunately I use RDP very frequently to connect to customer's servers and need to be able to copy files across. I have tried the…
Dai
  • 1,101
71
votes
6 answers

Unable to copy from vim to system clipboard

I am unable to copy from vim to system clipboard. Viceversa works, copying from outside vim and pasting with p is ok. I have installed clipboard support, vim version is 7.3.429: $ vim --version | grep clip +clientserver +clipboard +cmdline_compl…
gc5
  • 1,141
67
votes
7 answers

Screenshot selection in 22.04

I am trying to configure the 22.04 (Gnome 42) keyboard shortcut to get the "old" functionality of taking screenshots of area selections and pasting them into clipboard (Ctrl + Shft + PrtScr + select/release: done). The problem is that $…
56
votes
4 answers

How do you know when to use SHIFT+INSERT vs CTRL-V vs right-click-paste to paste?

Some times I copy something to the clipboard, and it doesn't paste with Shift+Insert, but with Ctrl+V or right-click paste. The behavior seems confusing and a bit unpredictable. Is there some logic behind the variation?
dan
  • 3,123
51
votes
7 answers

How to copy data between different instances of vim?

If I use the first vim to copy a line (with yy), how do I paste to another terminal's vim (with p)? Is there any command or settings can do it? Can I copy and paste into the global system clipboard? I know the following ways are possible, but I want…
sam
  • 6,921
49
votes
10 answers

Keyboard shortcut for pasting the primary selection

Is there a standard or conventional keyboard shortcut for pasting the primary selection? I'd like to select some text and go to another app to paste without trashing my clipboard contents. I'd rather keep my fingers on the keyboard than move to the…
Roger Pate
1
2 3
31 32