diff --git a/Linking-other-devices-(Provisioning).md b/Linking-other-devices-(Provisioning).md index 4f02747..ef42cc0 100644 --- a/Linking-other-devices-(Provisioning).md +++ b/Linking-other-devices-(Provisioning).md @@ -5,6 +5,10 @@ This shows a `tsdevice:/…` link; if you want to connect to another signal-cli instance, you can just use this link. If you want to link to an Android device, create a QR code with the link (e.g. with [qrencode](https://fukuchi.org/works/qrencode/)) and scan that in the Signal Android app. To request a link and display the resulting QR code image in a single command on linux: + + signal-cli link -n "optional device name" | tee >(xargs -l qrencode -t utf8) + + alternatively, you can try: signal-cli link -n "optional device name" | xargs -l qrencode -o /tmp/qrcode.png & while [ ! -f /tmp/qrcode.png ]; do sleep 1; done; xdg-open /tmp/qrcode.png