解决 Linux 1Password 在一些浏览器下无法调用 1Password Desktop 自动解锁的问题

例如我用的是 vivaldi 首先获取 vlvaidi 的进程名

ps aux | grep vivaldi
...
yswtrue   517198  0.0  0.1 1185081456 91544 ?    Sl   00:11   0:31 /nix/store/wfp4kcq7xlblb4822a01bqcz3qzx82qh-vivaldi-5.7.2921.63/opt/vivaldi/vivaldi-bin --type=renderer --crashpad-handler-pid=516933 --enable-crash-reporter=,stable --extension-process --change-stack-guard-on-fork=enable --disable-gpu-compositing --lang=zh-CN --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=16 --time-ticks-at-unix-epoch=-1679396898769348 --running-vivaldi --launch-time-ticks=18170978027 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5408063788291681509,5669194625787712293,131072
yswtrue   517211  0.0  0.1 1185056868 92144 ?    Sl   00:11   0:00 /nix/store/wfp4kcq7xlblb4822a01bqcz3qzx82qh-vivaldi-5.7.2921.63/opt/vivaldi/vivaldi-bin --type=renderer --crashpad-handler-pid=516933 --enable-crash-reporter=,stable --extension-process --change-stack-guard-on-fork=enable --disable-gpu-compositing --lang=zh-CN --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=17 --time-ticks-at-unix-epoch=-1679396898769348 --running-vivaldi --launch-time-ticks=18170985647 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5408063788291681509,5669194625787712293,131072
yswtrue   517224  0.0  0.1 1185077356 68540 ?    Sl   00:11   0:08 /nix/store/wfp4kcq7xlblb4822a01bqcz3qzx82qh-vivaldi-5.7.2921.63/opt/vivaldi/vivaldi-bin --type=renderer --crashpad-handler-pid=516933 --enable-crash-reporter=,stable --extension-process --change-stack-guard-on-fork=enable --disable-gpu-compositing --lang=zh-CN --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=18 --time-ticks-at-unix-epoch=-1679396898769348 --running-vivaldi --launch-time-ticks=18170994386 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5408063788291681509,5669194625787712293,131072
...

可以看到进程名是vivaldi-bin

sudo mkdir /etc/1password
sudo echo 'vivaldi-bin' > /etc/1password/custom_allowed_browsers
sudo chmod 755 /etc/1password/custom_allowed_browsers

然后重启 1password 程序和浏览器应该就可以了