Translations:KDE Connect/Tutorials/Useful commands/15/uk

From KDE Wiki Sandbox
Revision as of 19:16, 7 September 2020 by Yurchor (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  • Зберегти локально:
    spectacle -b
  • Надіслати на телефон:
    file=/tmp/$(hostname)_$(date "+%Y%m%d_%H%M%S").png; spectacle -bo "${file}" && kdeconnect-cli -d $(kdeconnect-cli -a --id-only) --share ${file}
  • Зберегти фотографію з вебкамери до каталогу Images і надіслати фотографію телефоном:
    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}"