Translations:KDE Connect/Tutorials/Useful commands/15/ca: Difference between revisions
(Created page with "* Desa-la localment: {{Output|1=<nowiki>spectacle -b</nowiki>}} * Envia-la al telèfon: {{Output|1=<nowiki>file=/tmp/$(hostname)_$(date "+%Y%m%d_%H%M%S").png; spectacle -bo "$...") |
No edit summary |
||
Line 1: | Line 1: | ||
* Desa | * Desa localment: {{Output|1=<nowiki>spectacle -b</nowiki>}} | ||
* Envia | * Envia al telèfon: {{Output|1=<nowiki>file=/tmp/$(hostname)_$(date "+%Y%m%d_%H%M%S").png; spectacle -bo "${file}" && while ! [ -f "${file}" ]; do sleep 0.5; done && kdeconnect-cli -d $(kdeconnect-cli -a --id-only) --share "${file}"</nowiki>}} | ||
* Desa la fotografia de la càmera web a la carpeta Imatges i envia-la al telèfon: {{Output|1=<nowiki>file="$HOME/Images/WebcamImage_$(date "+%Y%m%d_%H%M%S").jpg"; ffmpeg -f video4linux2 -s 1280x720 -i /dev/video0 -ss 0:0:2 -frames 1 "${file}" && kdeconnect-cli -d $(kdeconnect-cli -a --id-only) --share "${file}"</nowiki>}} |
Latest revision as of 05:48, 13 October 2021
- Desa localment:
spectacle -b
- Envia al telèfon:
file=/tmp/$(hostname)_$(date "+%Y%m%d_%H%M%S").png; spectacle -bo "${file}" && while ! [ -f "${file}" ]; do sleep 0.5; done && kdeconnect-cli -d $(kdeconnect-cli -a --id-only) --share "${file}"
- Desa la fotografia de la càmera web a la carpeta Imatges i envia-la al telèfon:
file="$HOME/Images/WebcamImage_$(date "+%Y%m%d_%H%M%S").jpg"; ffmpeg -f video4linux2 -s 1280x720 -i /dev/video0 -ss 0:0:2 -frames 1 "${file}" && kdeconnect-cli -d $(kdeconnect-cli -a --id-only) --share "${file}"