From f054406ec556d83ab810e9c5a685d9711b4745ca Mon Sep 17 00:00:00 2001 From: AsamK Date: Sat, 14 Nov 2020 19:05:12 +0100 Subject: [PATCH] Updated Linking other devices (Provisioning) (markdown) --- Linking-other-devices-(Provisioning).md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Linking-other-devices-(Provisioning).md b/Linking-other-devices-(Provisioning).md index 8424524..087d811 100644 --- a/Linking-other-devices-(Provisioning).md +++ b/Linking-other-devices-(Provisioning).md @@ -2,19 +2,19 @@ signal-cli link -n "optional device name" - 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. + 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: + To request a link and display the resulting QR code image in a single command on linux: - 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 + 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 -or for newer android devices: + or for newer android devices: - signal-cli link -n "optional device name" | xargs -l qrencode -o /tmp/qrcode.png --level=H -v 10 & while [ ! -f /tmp/qrcode.png ]; do sleep 1; done; xdg-open /tmp/qrcode.png + signal-cli link -n "optional device name" | xargs -l qrencode -o /tmp/qrcode.png --level=H -v 10 & while [ ! -f /tmp/qrcode.png ]; do sleep 1; done; xdg-open /tmp/qrcode.png` - Do not kill the `signal-cli link …` process until linking is finished; the process will exit when it's done. + Do not kill the `signal-cli link …` process until linking is finished; the process will exit when it's done. - After linking was successful, you need to execute the receive command to get the list of contacts and groups from the main device. + After linking was successful, you need to execute the receive command to get the list of contacts and groups from the main device. signal-cli -u USERNAME receive