Translations:KDE Connect/Tutorials/Useful commands/15/uk: Difference between revisions

From KDE UserBase Wiki
(Created page with "* Зберегти локально: {{Output|1=<nowiki>spectacle -b</nowiki>}} * Надіслати на телефон: {{Output|1=<nowiki>file=/tmp/$(hostname)_$(date "+%Y%...")
 
No edit summary
 
Line 1: Line 1:
* Зберегти локально: {{Output|1=<nowiki>spectacle -b</nowiki>}}
* Зберегти локально: {{Output|1=<nowiki>spectacle -b</nowiki>}}
* Надіслати на телефон: {{Output|1=<nowiki>file=/tmp/$(hostname)_$(date "+%Y%m%d_%H%M%S").png; spectacle -bo "${file}" && kdeconnect-cli -d $(kdeconnect-cli -a --id-only) --share ${file}</nowiki>}}
* Надіслати на телефон: {{Output|1=<nowiki>file=/tmp/$(hostname)_$(date "+%Y%m%d_%H%M%S").png; spectacle -bo "${file}" && kdeconnect-cli -d $(kdeconnect-cli -a --id-only) --share ${file}</nowiki>}}
* Зберегти фотографію з вебкамери до каталогу Images і надіслати фотографію телефоном: {{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 19:16, 7 September 2020

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (KDE Connect/Tutorials/Useful commands)
* Save locally: {{Output|1=<nowiki>spectacle -b</nowiki>}}
* Send to phone: {{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>}}
* Save webcam photo in the Images folder and send to phone: {{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>}}
  • Зберегти локально:
    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}"