Translations:KDE Connect/Tutorials/Useful commands/15/da: Difference between revisions
(Importing a new version from external source) |
No edit summary |
||
Line 1: | Line 1: | ||
* Gem lokalt: {{Output|1=<nowiki>spectacle -b</nowiki>}} | * Gem lokalt: {{Output|1=<nowiki>spectacle -b</nowiki>}} | ||
* Send til telefon: {{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>}} | * Send til telefon: {{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>}} | ||
* Gem webcam-foto i mappen Billeder (Images) og send til telefon: {{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 08:00, 31 October 2020
- 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}"