Updated Linking other devices (Provisioning) (markdown)

Tsuñulukaï 2020-11-27 10:57:59 +01:00
parent 12fce37cf8
commit d1abd00c87

@ -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