Signing back into the Community for the first time? You'll need to reset your password to access your account. Find out more.
Forum Discussion
ftpd
2 years agoOccasional Contributor
I can't start wayland-native version of 1Password.
When I try to run 1password with the well-known OzonePlatform, I get the following:
```
INFO 2023-08-07T22:51:44.006 ThreadId(14) [client:typescript] Client starting.
INFO 2023-08-07T22:51:4...
1P_Mitch
1Password Team
10 months agoHey all. It's been several months since we last revisited this topic. As things are rapidly changing in the Linux world, I wanted to check in and provide some notes and guidance about running 1Password in native Wayland mode.
Running 1Password on Wayland
I did a fresh install with:
- Ubuntu 24.04 LTS
- GNOME on Wayland (default in Ubuntu 24.04)
- The latest stable version of 1Password (8.10.30, installed via the official apt repository)
I was then able to launch 1Password in native Wayland mode using ELECTRON_OZONE_PLATFORM_HINT=auto 1password
.
I confirmed that 1Password was indeed running in Wayland mode by launching xeyes
and running my cursor over the app — the eyes did not follow. 👀
Caveats and things to keep in mind
The ELECTRON_OZONE_PLATFORM_HINT
env variable is a newer and better way of configuring the app than the Ozone command-line flags which you may have seen or tried before. If you set it globally, it will affect all apps using recent versions of Electron, including when launched from the GUI (e.g. by adding export ELECTRON_OZONE_PLATFORM_HINT=auto
to ~/.bashrc
).
Typical 1Password functionality including sign-in, the tray icon, browser integration, SSH agent, and item browsing and editing worked well for me in Wayland mode.
There are still some gotchas:
- 1Password currently depends on XWayland for secure clipboard access, even in Wayland mode. You do not need to log in to an X11 session, simply have it installed. We would like to migrate to a fully-native clipboard implementation for Wayland but we will need to build one that meets our security requirements for putting passwords on the clipboard.
- Global keyboard shortcuts do not work out of the box. (You will see an error about keyboard shortcuts on launch but this can be ignored.) You can however create your own keyboard shortcut launchers in GNOME/KDE/your WM of choice to simulate the built-in ones, e.g.
1password --quick-access
to open Quick Access and1password --lock
to lock. - The QR code scanner does not work in native Wayland mode.
- The Snap package will not launch in native Wayland mode.
Now every distribution/WM/configuration is different, and Wayland support is still in flux, so my experience may not be the same as yours. Please make sure to update your OS/GPU drivers and 1Password, and share in the thread if you run into difficulties. I'll do my best to help out and/or flag issues to the team.
-Mitch