Skip to main content
roy_orbison
April 29, 2026
Question

Can we get 1st-party support for keyboard shortcuts?

  • April 29, 2026
  • 5 replies
  • 112 views

Now that the interface to edit/set keyboard shortcuts has been removed from 1Password running under Wayland, It would be preferable if the installation package made the shortcuts available to configure by default, rather than https://support.1password.com/keyboard-shortcuts/?linux#wayland. I wrote about this before under a blog of post yours, but it was ignored.

It's trivial to add Desktop Action sections to your existing launcher file, and reference them in an Actions= directive:

[Desktop Entry]
Name=1Password
Exec=/opt/1Password/1password %U
Terminal=false
Type=Application
Icon=1password
StartupWMClass=1Password
Comment=Password manager and secure wallet
MimeType=x-scheme-handler/onepassword;x-scheme-handler/onepassword8;
Categories=Office;
Actions=Show;QuickAccess;Lock;Fill;

[Desktop Action Show]
Name=Show 1Password
Icon=window-symbolic
Exec=1password --show

[Desktop Action QuickAccess]
Name=Show Quick Access
Icon=search-symbolic
Exec=1password --quick-access

[Desktop Action Lock]
Name=Lock 1Password
Icon=lock-symbolic
Exec=1password --show

[Desktop Action Fill]
Name=Fill in Browser
Icon=web-browser-symbolic
Exec=1password --fill

Putting a symlink to this expanded .desktop file under /usr/share/kglobalaccel/ makes those keyboard shortcuts appear in KDE Plasma's Settings app:

5 replies

roy_orbison
April 29, 2026

I don't have GNOME to test with, but I assume defining default actions for it would be as easy.

(BTW, I couldn't edit the original because the content I already posted is suddenly blocked as "invalid HTML".)

roy_orbison
May 27, 2026

@1P_Dave Thanks for responding to my previous bug report thread. Could the 1Password team please not let this become another overlooked trivial fix like the APT update bug? It was a tiny, easy fix and took years to address, causing users a disproportionate amount of annoyance.

The last automatic update of 1Password wiped out keyboard shortcuts, again. These Actions are https://specifications.freedesktop.org/desktop-entry/latest-single/#extra-actions, so should work in all DEs that implement them, including GNOME. As it stands, I'll have to check if 1Password has been updated, or not do automatic updates, so that I can re-sync the installed 1password.desktop file with my modified copy, before I next log in, otherwise they'll be wiped each time. Having no shortcuts to open 1Pass is a massive hindrance.

June 8, 2026

I would also appreciate this easy win, I've been manually maintaining a copy at `~/.local/share/applications/1password.desktop` to add the actions.

roy_orbison
June 17, 2026

Every update is wiping out these shortcuts. Here it is in patch form, so you really have no excuse not to fix this:

--- a/resources/1password.desktop
+++ b/resources/1password.desktop
@@ -7,4 +7,25 @@
 StartupWMClass=1Password
 Comment=Password manager and secure wallet
 MimeType=x-scheme-handler/onepassword;
 Categories=Office;
+Actions=Show;QuickAccess;Lock;Fill;
+
+[Desktop Action Show]
+Name=Show 1Password
+Icon=window-symbolic
+Exec=/opt/1Password/1password --show
+
+[Desktop Action QuickAccess]
+Name=Show Quick Access
+Icon=search-symbolic
+Exec=/opt/1Password/1password --quick-access
+
+[Desktop Action Lock]
+Name=Lock 1Password
+Icon=lock-symbolic
+Exec=/opt/1Password/1password --show
+
+[Desktop Action Fill]
+Name=Fill in Browser
+Icon=web-browser-symbolic
+Exec=/opt/1Password/1password --fill
roy_orbison
September 10, 2026

Seems like they tried to fix this, and the .desktop file has been updated. Maybe it works for others, but not for me. Setting the shortcuts inside the app appeared possible again, so I removed all my previous customisation, logged out and in again to get a fresh start, then tried their new system. The registration itself seems borked; the shortcuts appear to register but did not work. Didn’t seem to matter what I set the shortcut to, none invoked display of the quick access or main windows. The system shortcuts created were named after the keys pressed, not the action, so though 1P says they can be edited in the system, you cannot see what action you’re changing. It did not like me using the Meta key in my shortcut, so left the name and shortcut blank:

With a sequence that didn’t result in a blank entry, it then appeared in the system shortcuts settings, but the shortcut itself still did nothing:

 

It was pretty disappointing, so I went back to modifying a copy of the .desktop file under 

/usr/share/kglobalaccel/

again, which gives me these proper entries as before:

I can set them to anything and they Just Work™. I don’t understand why they had to overcomplicate this rather than using the existing cross-platform actions that only need to be defined in the .desktop file. The updated patch I’m using is this:

--- /usr/share/applications/com.onepassword.OnePassword.desktop
+++ /usr/share/kglobalaccel/com.onepassword.OnePassword.desktop
@@ -7,4 +7,20 @@
StartupWMClass=com.onepassword.OnePassword
Comment=Password manager and secure wallet
MimeType=x-scheme-handler/onepassword;x-scheme-handler/onepassword8;
Categories=Office;
+Actions=Show;QuickAccess;Lock;
+
+[Desktop Action Show]
+Name=Show/hide 1Password
+Icon=window-symbolic
+Exec=/opt/1Password/1password --toggle
+
+[Desktop Action QuickAccess]
+Name=Show Quick Access
+Icon=search-symbolic
+Exec=/opt/1Password/1password --quick-access
+
+[Desktop Action Lock]
+Name=Lock 1Password
+Icon=lock-symbolic
+Exec=/opt/1Password/1password --lock