Updated DBus service (markdown)

John Freed 2021-10-16 16:59:08 +02:00
parent 1968f9c849
commit 41759ae9c2

@ -146,6 +146,10 @@ To reverse the process:
```
python3 -c 'import base64; print(base64.b64encode(bytearray([139,22,72,247,116,32,170,104,205,164,207,21,248,77])))'
```
... or using Bash ...
```
echo "139,22,72,247,116,32,170,104,205,164,207,21,248,77"|sed 's/,/ /g'|while read i; do printf "%02x" ${i}; done|sed 's/^/00000000: /g'|xxd -r -c 256|base64
```
In the examples above, attachments are identified by the first `array:string:` argument (`dbus-send` arguments must be in the correct order). The last argument can either be a single `string:RECIPIENT` (as in the examples above) or an `array:string:RECIPIENT1,RECIPIENT2,...` (for `dbus-send`, an array argument consists of a comma-separated list).