diff --git a/Linking-other-devices-(Provisioning).md b/Linking-other-devices-(Provisioning).md index ef42cc0..6b39007 100644 --- a/Linking-other-devices-(Provisioning).md +++ b/Linking-other-devices-(Provisioning).md @@ -6,15 +6,15 @@ 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) + signal-cli link -n "optional device name" | tee >(xargs -L 1 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 + signal-cli link -n "optional device name" | xargs -L 1 qrencode -o /tmp/qrcode.png & while [ ! -f /tmp/qrcode.png ]; do sleep 1; done; xdg-open /tmp/qrcode.png or for newer versions on android: - 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 1 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.