From d1abd00c874749888271bbe8156abcfb718f086c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tsu=C3=B1uluka=C3=AF?= Date: Fri, 27 Nov 2020 10:57:59 +0100 Subject: [PATCH] Updated Linking other devices (Provisioning) (markdown) --- Linking-other-devices-(Provisioning).md | 4 ++++ 1 file changed, 4 insertions(+) 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