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

  • Gem lokalt:
    spectacle -b
  • Send til telefon:
    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}"
  • Gem webcam-foto i mappen Billeder (Images) og send til telefon:
    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}"

This page was last edited on 31 October 2020, at 08:00. Content is available under Creative Commons License SA 4.0 unless otherwise noted.