How to copy multiple items at once on Linux, and get about 5 hours a year back
Linux pastes only the last thing you copied, so filling a form from an email means a round trip per field. The primary selection carries a second item, though GNOME 50 switched its middle-click paste off by default; a clipboard history carries all of them, so you can copy every piece first and paste them one by one. The four tools that do it on Ubuntu, compared, and the estimate: about 5 hours a year.
An email has a name, an email address and an order number in it, and all three have to go into a web form. The usual way is three round trips: switch to the email, find the next piece, copy it, switch back, find the field, paste. Linux pastes only the last thing you copied, so you can't collect all three first.
You can, with two different tools: one already built in, which holds two things, and a clipboard history, which holds as many as you like and lets you paste them one by one. Working this way saves about five hours a year for someone who does it a few times a day; the estimate is worked through below.
Why Linux pastes only the last thing you copied
Ctrl + C writes to the clipboard, and there is one of it. The next copy replaces the last, and nothing on a stock Ubuntu, Fedora or Mint install keeps the old one. Windows has Win + V for this; on those Linux desktops it is a separate tool you install.
There is, however, a second slot most people never use.
The built-in trick: two things at once
Linux has a primary selection alongside the clipboard. Highlighting text with the mouse writes to it, and a middle-click pastes it. The two are independent, so you can carry two things at once:
- Select the first piece and press Ctrl + C. It goes to the clipboard.
- Highlight the second piece. Don't copy it; highlighting is enough.
- In the form, Ctrl + V pastes the first, and middle-click pastes the second.
On a touchpad, a three-finger tap usually acts as the middle button.
It stops at two. And the primary selection is fragile: highlighting anything replaces it, including selecting the contents of a form field before you paste. For more than two pieces, you need a history.
More than two: copy everything first
With a clipboard history every copy is kept, so the workflow turns around: collect all the pieces from the source in one pass, then fill the whole form in one pass.
Step 1, in the email. Select each piece and press Ctrl + C. You never leave the email, so you never lose your place in it.
Step 2, in the form. Click the first field, open the history, pick the piece, paste. Repeat for each field. You never go back to the email.
Any clipboard history does this; which tool to use compares four of them. The example below uses Clipmer.
A worked example: an email into a web form
Clipmer is ours, so weigh this section accordingly.
curl -LO https://github.com/0x99M/clipmer/releases/download/v3.6.3/clipmer_3.6.3_amd64.deb
sudo apt install ./clipmer_3.6.3_amd64.debThe email says:
Name: Sam Rivera
Email: orders@example.com
Phone: 555-0142
In the email: select Sam Rivera, Ctrl + C. Select orders@example.com,
Ctrl + C. Select 555-0142, Ctrl + C. Three copies, and the clipboard now holds
only the phone number, which is fine.
In the web form:
- Click the Name field. Press Ctrl + Shift + D; the history opens over the form.
- Type
sam. Search matches anywhere in an entry, ignoring case, so the name is the only match. - Press ↓ to select it, then Enter (or click it). Typing clears the selection, so Enter on its own does nothing yet. The name goes on the clipboard and the window closes. Press Ctrl + V.
- Click Email, Ctrl + Shift + D, type
orders, ↓, Enter, Ctrl + V. - Click Phone, Ctrl + Shift + D, type
555, ↓, Enter, Ctrl + V.
Esc closes the window without choosing anything.
Searching is what makes this work. The piece you just used moves to the top of the list, so after the first paste the order is no longer the order you copied in; a few letters find each piece wherever it is.
Skipping Ctrl + V. Clipmer can paste for you: turn on Settings → General → Auto-paste on select, and Enter pastes into the field you came from. It is off by default, works on GNOME only, through a small helper extension that needs one logout the first time, and it presses Ctrl+V. Elsewhere, press Ctrl+V yourself. What auto-paste does and where it works.
The free version shows your last 100 copies, far more than any form needs. Clipmer is an
Electron app, so it is heavier than a GNOME extension; it records text only, runs on
x86_64, and is source-available under PolyForm Strict 1.0.0, not open source. Folders,
notes and the minimal view are part of Pro, which is paid. The
install page has the .rpm and AppImage builds.
Which tool to use for it
All four keep every copy, so all four do the job. They differ in how you open them, how you find the piece, and whether choosing it also pastes it.
| Install on Ubuntu | Opens with | Finding a piece | Choosing it also pastes? | Records highlighted text? | |
|---|---|---|---|---|---|
| Clipboard History extension | extensions.gnome.org (v51 on 24.04, v54 on 26.04) | Super + Shift + V | / to search; Ctrl + N for the Nth entry | Yes, on by default (it presses Shift + Insert) | Only if you turn it on |
| GPaste | apt: gpaste-2 and gnome-shell-extension-gpaste (45 on 24.04, 45.3 on 26.04) | Ctrl + Alt + H (menu), Ctrl + Alt + G (window) | Search in the window | No: it goes on the clipboard, then Ctrl + V | Only if you turn it on |
| CopyQ | apt: copyq (7.1.0 on 24.04, 13.0.0 on 26.04) | A shortcut you add for copyq toggle | Type to filter, Enter | Option on by default, but CopyQ's docs list pasting among what doesn't work on Wayland for these versions | Only if you turn it on |
| Clipmer | Download (.deb, .rpm, AppImage) | Ctrl + Shift + D | Type to search, ↓, Enter | Off by default; GNOME only, presses Ctrl + V | No |
- Clipboard History is the lightest option on GNOME and the only one here that pastes by default. Its README says it is "now in maintenance mode as it is being replaced by Ringboard".
- GPaste puts the piece back on the clipboard and leaves the paste to you. Ubuntu packages an older release than upstream's 51.3; clipboard history on Ubuntu has the install steps.
- CopyQ has "Paste to current window" switched on by default, but the known issues for the versions Ubuntu ships list pasting among what does not work on Wayland, which is the only session Ubuntu 26.04 offers. Its upstream release is 17.0.0.
- Clipmer is the one to pick if the things you copy include passwords or keys you would rather not show on a shared screen: it can hide individual entries. For filling a form alone, it offers nothing the free tools don't.
The estimate
Each piece of information moved the old way costs a switch to the source, finding your place in it again, a copy, a switch back and finding the field. Collecting first removes the switch and the re-finding for every piece but the first, and opening the history and typing a few letters costs a little of that back. The net saving is taken as 4 seconds a piece. A working year is 230 days.
| How often | Transfers a day | Pieces each | Per day | Per year |
|---|---|---|---|---|
| Light | 2 | 4 | 32 s | about 2 hours |
| Typical | 5 | 4 | 80 s | about 5 hours |
| Heavy (admin, support, sales ops) | 12 | 4 | 192 s | about 12 hours |
This is an estimate, not a measurement. The clock time is also the smaller part of the gain: every switch back to the source is a chance to lose your train of thought, or to paste the thing you copied before last. Collecting first removes those chances too, and the table doesn't count them.
Where else it fits
The same pattern works anywhere the pieces come from one place and go to another:
- Writing an update from several tabs. A link from one, a number from another, a quote from the third, then write the message once and paste each piece where it belongs.
- Filing a bug report. The error message, your system details and the URL, collected while you reproduce the bug, pasted when you file it.
- Moving a contact or an order between two systems that don't talk to each other.
When to use something else
- Only ever two pieces? The primary selection is free and already there; on Ubuntu 26.04, switch middle-click paste back on first (above).
- The same text every day, not different pieces once? That is a snippet, not a transfer: saved replies and reusing text snippets cover it, including when a text expander is the better tool.
- The same form fields every time (your own name, address, phone)? Your browser's autofill does that without any clipboard.
- On KDE Plasma? Klipper is already running: Meta + V opens it.
- On Sway, Hyprland or niri? Clipmer and the GNOME extensions don't fit; the best clipboard manager for Wayland has the pick for each compositor.
- Copying images? Clipmer keeps text only.
For the keyboard habits around this one, see Ubuntu productivity tips.