Skip to main content
solarizde
September 5, 2023
Question

Linux Clipboard History

  • September 5, 2023
  • 7 replies
  • 969 views

Hi,

is there any way to prevent the Linux clipboard history from storing the copied Passwords?

I use KDE Plasma 5.27.7 on a Ubuntu base in X. I enabled the "Automatically clear... after 90s" in 1P but this has no effect. The copied Password stays in Clipboard and is part of the Clipboard History tray.

Does anybody know how to prevent KDE Clipvoard Manager from storing 1P things at all or give 1p the ability to clear it?

Thanks


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Browser: Not Provided

7 replies

AliH1P
1Password Employee
September 12, 2023

Hey @solarizde, thanks for reaching out.

I've done some testing and was able to reproduce the behaviour you've encountered. It also looks like we do currently have an issue filed with our development team to look into how we might improve the situation with Klipper and other clipboard managers. I've added your case and the details you've provided here to the issue on file for our developers to see.

In the meantime, one potential workaround would be dragging and dropping your details from 1Password, instead of copying, as this will prevent them from appearing in your clipboard history.

Let me know if you have any questions or if there's anything else we can help with.

Ali

ref: dev/core/core#11749

October 6, 2023

I don't use klipper, but do use greenclip and had the same problem. Greenclip has a blacklist option in its configuration file that I can use to have it exclude certain apps, which I'm attempting to use to keep 1Password out of its history.

From looking at Klipper's docs, it appears the "Exclude Windows" option might be an analog for klipper.

Doesn't solve it from the 1Password side (not sure it's even solvable that way, tbh), but it's a viable workaround.

solarizde
solarizdeAuthor
October 6, 2023

This exclude unfortunately is only for the Action Menu not for ignoring the content.

October 6, 2023

Yeah, greenclip didn't work for me, either, since its blacklist feature depends on having a named clipboard and 1Password apparently doesn't name theirs.

I eventually landed on clipmenu, which seems to be working well so far. It is a bit harder to configure (it relies on environment variables), but it's 100% written in bash, so it's easy to install and try. So far, I like it. Setting CM_IGNORE_WINDOW=".*1Password$" as an environment variable works to have it ignore anything app-related. That said, I use i3wm, so I'm not sure how well it would work with KDE.

solarizde
solarizdeAuthor
October 9, 2023

thanks for the tip. But on Plasma it wont work due to wayland. The script is using XSEL, this can run but due wayland (thankfully existing) boundaries it is not allowed to monitor the general clipboard.

Guess this is a thing 1password devs need to figure out or maybe in future wayland development there is a flag for entries to not process them.

Time will tell :p

For now I changed the setting to "remember during session only" as soon as I logoff the history is gone.

1Password Employee
October 10, 2023

Hi everyone,

Thanks for the feedback and insight. I'll go ahead and pass this information along to our developers. 🙂

Franky

roy_orbison
June 24, 2025

Still an issue. The password is kept in history, and 1P just copies an empty string to the clipboard. This at least reduces accidental pasting but now there are two unwanted history entries.

Is it not setting the appropriate MIME type? https://github.com/keepassxreboot/keepassxc/blob/8c7cc90363d443506d72ff9ab18b63aebd9f64c7/src/gui/Clipboard.cpp#L59

1P_Dave
1Password Employee
June 25, 2025

@roy_orbison 

Can you tell me a little more about your environment so that I can pass that along to the team? Which clipboard history app are you using? Are you using Wayland or X11? Which Linux distribution? 

I look forward to hearing from you.

-Dave

#11749

July 12, 2025

Hello, I have the same problem.

I'm using Arch with KDE Plasma Wayland. The password is not cleared from clipboard, instead an empty entry is pasted above.

 

Edit: Fixed by installing the beta