KDE Plasma clipboard history not working? Check these first
Plasma ships a working clipboard history, so when Klipper misbehaves the fix is usually a setting or an environment variable. Why it can hold only one entry (QT_QPA_PLATFORM=wayland-egl), how to keep history across reboots, a reported Meta+V paste problem, and the three situations where a different clipboard manager makes more sense.
KDE Plasma is the one major Linux desktop that ships a clipboard history switched on. It is the Clipboard icon in the system tray, Meta + V opens it at the mouse pointer, and underneath it is Klipper, which has been part of KDE for over two decades.
So when it misbehaves — only ever one entry, history gone after a reboot, a paste that suddenly produces nothing — the fix is nearly always a setting or an environment variable, not a replacement. This page goes through the causes in order of how often they come up, and only then gets to when a different clipboard manager makes sense. We make one of those, and we would still check these first.
Check these first
Three checks cover most of the reports. Each has its own section below.
- The Clipboard widget is in the system tray. Without it, Plasma keeps no history at all.
echo $QT_QPA_PLATFORMdoes not printwayland-egl. If it does, the history holds exactly one entry however large you set it.- Save history across desktop sessions is on in Configure Clipboard…. With it off, the history is gone at logout.
Open the right settings
Right-click the Clipboard icon in the system tray and choose Configure Clipboard…. If there is no icon, the widget has been removed: right-click the tray's arrow, choose Configure System Tray…, and set Clipboard under Entries back to shown. Without the widget, Plasma keeps no history at all — and nothing keeps your clipboard alive when you close the app you copied from either.
The settings that matter, as Plasma 6's Klipper handbook names them:
| Setting | What it does |
|---|---|
| Save history across desktop sessions | Keeps the history when you log out or shut down |
| History size | How many entries it keeps, from 1 to 2048 |
| Keep the selection and clipboard the same | Merges middle-click selection and Ctrl+C into one |
| Text selected with the pointer or keyboard | Records highlighted text, not just copies |
| Image data copied explicitly | Records images copied from an image editor |
Only one entry ever shows up
This is the one that sends people looking for alternatives, and it has a specific cause.
In KDE bug 500927, the history held exactly
one item regardless of its configured size — and only when the QT_QPA_PLATFORM
environment variable was set to wayland-egl. With wayland, or with it unset, the
history worked normally.
Some distributions had set wayland-egl globally because Qt's documentation describes it
as the preferred backend. KDE closed the bug as not a bug and added a warning against it to
its packaging recommendations. Check yours:
echo $QT_QPA_PLATFORM
If it prints wayland-egl, find where it's set — usually /etc/environment, a file in
~/.config/environment.d/, or a script in ~/.config/plasma-workspace/env/ — and remove
it, or change it to wayland. Log out and back in.
History is gone after a reboot
Make sure Save history across desktop sessions is on. With it off, Klipper keeps the history in memory for the session only, which some people choose deliberately: a persistent history is also a persistent record of every password you have copied. The same switch exists in most clipboard managers; keeping your clipboard history after a reboot covers where to find it in the others.
If it is on and the history still disappears, look at whether something is clearing it. Session-cleanup scripts and "clear history on logout" options in privacy tools are the usual suspects.
Paste stops working after cancelling Meta + V
A report on KDE's forum from Plasma 6.3.4 describes this: open the popup with Meta + V, dismiss it by clicking outside, and after a few rounds Ctrl+V pastes nothing in Qt or GTK apps until you choose a different entry. Nobody in that thread identified a cause, and no bug report is linked. If it happens to you, choosing any other entry — or copying something new — restores pasting, and an up-to-date Plasma is the first thing to try.
One thing Klipper does that most don't
Password managers mark the passwords they copy with a hint, x-kde-passwordManagerHint,
and Klipper leaves those entries out of its history.
KeePassXC sets the hint, so a password copied from it never lands in Klipper's list. That
is a genuinely good default, and one many clipboard managers — ours included — don't have
yet; clipboard managers that save passwords
goes through the others.
When an alternative makes sense
Fixing Klipper is the right answer for most people. There are three situations where something else fits better:
- You share your screen. Klipper shows every entry in plain text whenever you open it. If you open your clipboard on a call, everything you copied today is on screen.
- You want to keep and annotate things. A command you reuse, with a note saying which server it's for.
- You use GNOME on another machine and want one tool and one set of habits on both.
Clipmer is ours, so weigh this accordingly. It lets you Hide any entry from its ⋯ menu, after which it renders as dots in the list, is left out of search, and opens masked in the full-content viewer until you press Reveal. Folders and notes are part of Pro ($9 once); hiding is free.
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.debWhat to know before running it on Plasma:
- Pick a shortcut other than Meta + V. Klipper already has it. Clipmer's default is Ctrl + Shift + D, and you can change it in Settings → Shortcuts → Toggle window.
- A new shortcut works after your next login. Since 3.4.0, Clipmer writes its shortcut into Plasma's own configuration, which Plasma reads at login.
- Run 3.5.0 or later. Earlier versions could show "A JavaScript error occurred in the main process" when you changed the shortcut on Plasma.
- No auto-paste. Clipmer's paste-on-select uses a GNOME Shell helper, so on Plasma you choose an entry and press Ctrl+V yourself.
- It doesn't yet skip password-manager entries. Klipper does. If you run both, Clipmer records what Klipper deliberately leaves out, so hide those entries or clear them.
We build and test Clipmer on Ubuntu with GNOME, and it runs on Plasma. If Plasma is your only desktop and you don't share your screen, a working Klipper is probably all you need.