1Password4 on Linux Ctrl-\

Transient
Transient
Community Member

I thought I'd share this in case it helps someone else. There were a few old discussions without any kind of resolution, so I thought maybe it might help someone out.

If you're using 1Password4 on Linux (via Wine) you've maybe found that Ctrl-\ doesn't work for autofilling in Chromium. Someone else suggested binding xdotool to a key but the result of that discussion was that it only sometimes worked (or not at all).

I've found the following works 100% of the time for me:
xdotool key --clearmodifiers Menu sleep 0.1 key --clearmodifiers 1 sleep 1 search --name 1Password\ Agent key --clearmodifiers Down Return

An explanation of the steps:
1. send the Menu key (pops up the Context menu)
2. sleep briefly to allow the menu to draw
3. send the 1 key (chooses the 1Password option from the menu)
4. sleep again to wait for 1Password Agent to appear
5. send the Down key and then press Return to select the first option (autofill)

You might have to tweak the steps to fit your environment, but it works fine on my ancient Dell Latitude D800 running Lubuntu 16.04. :)


1Password Version: 4.6.2.626
Extension Version: 4.7.1.90
OS Version: Lubuntu 16.04
Sync Type: Dropbox

Comments

  • AGAlumB
    AGAlumB
    1Password Alumni

    @Transient: That's really awesome. Running our Windows app on Linux is not something we support obviously, but it's really cool of you to share this trick with the community. Thank you! :)

This discussion has been closed.