Copy passwords under pure Wayland

I'm running 1Password on linux under pure Wayland (no XWayland) and for the most part it "just works" - the only thing missing is actually copying items using the in-app Copy function. Doing so results in this error

ERROR 2021-06-22T08:14:57.096 tokio-runtime-worker(ThreadId(11)) [1P:op-app/src/app/] AppError { error: <redacted>, human_readable_label: None, cause: None }
(node:5536) UnhandledPromiseRejectionWarning: {"error":"OpeningClipboard(X11ClipboardError(XcbConn(ClosedParseErr)))","humanReadableLabel":null}
(Use `1password --trace-warnings ...` to show where the warning was created)
(node:5536) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see (rejection id: 2)
(node:5536) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I'm guessing because 1Password uses an X11 clipboard API which isn't available in Wayland. I know this setup is officially unsupported but since it /mostly/ works, it'd be awesome to get this last little bit done!

wayland 1.19
wayland-protocols 1.21
sway 1.6
wl-clipboard 2.0.0

1Password Version: 8.0.34
Extension Version: Not Provided
OS Version: Arch Linux
Sync Type: Not Provided


  • Dayton_agDayton_ag

    Team Member
    edited June 2021

    Hey @ccakes, thanks so much for bringing this to our attention! I've reached out to the Development team to pass this feedback along and to see what can be done in this case. Let me know if you have any questions! :smile:

    ref: /dev/core/core/#8258

  • Thanks for the response! For anyone having the same issue, you can edit the item and copy-paste fine from those input fields. It's only the built-in copy function that doesn't work :)

  • Dayton_agDayton_ag

    Team Member

    Oooh, awesome! Thanks for sharing that workaround! :smile:

  • This is the only issue I have on Wayland only environment.

  • PeterG_1PPeterG_1P

    Team Member

    Thanks for the helpful info, @uhlajs. We appreciate it!

  • Unfortunately this workaround stopped working for me at some point in recent months. I'm no longer able to copy via the Copy button or by switching to edit and copying manually. I'm forced to use the browser extension to actually copy anything.

  • PeterG_1PPeterG_1P

    Team Member

    Hi @layeggistrue - may I ask what OS and what version of the 1Password for Linux app you're currently running? I'd be happy to check this out further.

  • Archlinux, with Sway. 1Password 8.4.1, run via "1password --enable-features=UseOzonePlatform --ozone-platform=wayland"

  • SavanniSavanni

    Team Member

    Thanks for pointing this out. I hadn't thought of this problem way back when I posted the instructions for running 1Password in Wayland, but one of our engineers does know about.

    Last month we were working on getting 1Password working flawlessly in Wayland. Unfortunately, we had some significant regressions in Electron at the time and weren't able to move forward. At this moment, we're waiting for a particular feature to get merged into the Electron mainline, and we have a lot of attention on another major project, but I think that I will be able to get the Wayland port done shortly after that one feature merges.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file