Before starting, this install method is based on 1Password 4, it may work with future versions, but it is not guaranteed. Last tested version is 188.8.131.520.
sudo apt-get install wine
Running 1Password on Ubuntu requires the Windows version. You can grab it at the AgileBits Downloads page.
Install 1Password in WINE
Use Wine to install 1Password by entering this command:
This will install 1Password in your Wine directory and start the 1Password Windows installer.
Select the default install location :
C:\Program Files (x86)\1Password 4 it will be installed to the Wine
folder in your home directory.
Next you are given the opportunity to create a Start Menu shortcut. Since you are on Ubuntu, there is not really a start menu. Check the checkbox for Don’t create a Start Menu folder.
Check the checkbox for Create a desktop icon if you want one and click the Next button.
The simplest way to run 1Password is to use the Desktop icon. If you chose to install a Desktop icon keep in mind that it will probably not show up until after a reboot of the system.
If you didn’t install a Desktop icon, you can start Dropbox in the command line.
Assuming you chose the default directory when installing 1Password, run it with:
~/.wine/drive_c/Program\ Files\ \(x86\)/1Password\ 4/1Password.exe
Integration with a browser
Manually (almost) run both
To run 1Password on Ubuntu 14.04, install Wine via apt-get. You must start both
Agile1Agent.exe to get connection to the browser. Here’s my script:
#!/bin/sh echo "Starting 1Password..." wine ~/.wine/drive_c/Program\ Files\ \(x86\)/1Password\ 4/1Password.exe >> /tmp/1pwd-wine.txt 2>&1 & wine ~/.wine/drive_c/Program\ Files\ \(x86\)/1Password\ 4/Agile1pAgent.exe >> /tmp/1pwd-wine.txt 2>&1 & tail /tmp/1pwd.txt echo "Started..."
Or better with the run 1Password agent with systemd when logging.
We need to create a user systemd unit, let’s call it
Paste the following content
[Unit] Description=1Password agent After=display-manager.service [Service] ExecStart=/usr/bin/wine ".wine/drive_c/Program Files (x86)/1Password 4/Agile1pAgent.exe" Restart=always Environment=DISPLAY=:0 [Install] WantedBy=default.target
Edit it later with systemd command
systemctl --user edit --full 1Password.agent.service
Then in 1Password, disable “Verify web browser code signature” via
Help -> Advanced -> Verify web browser code signature
You have to download and install the Browser-Add On/extension from AgileBits. Restart your browser and it should work. And there you have it… running 1Password across OS X and Linux.