Commit 0c1eec04 authored by hark's avatar hark
Browse files

screenshot

parent 07f928b6
......@@ -42,4 +42,6 @@ TODO:
- webrtc reflector
- figure out this new jack like thingie for video (pipewire)
- turbovnc + virtualgl
- bbc web based video mixer https://github.com/bbc/brave
......@@ -4,6 +4,7 @@ export DISPLAY=:0
filename=/home/user/screenshot/`date --iso-8601=seconds`.png
mkdir -p /home/user/screenshot
chown -R user:user /home/user/screenshot
if su user -c "import -window root $filename"
then
......
#!/usr/bin/env bash
H=$1
cd ~/sand
ssh root@$H /home/user/src/streaming-media-stuff/scripts/screenshot.sh
scp root@$H:/home/user/screenshot/latest-$H.png ~/sand/latest-$H.png
eog ~/sand/latest-$H.png
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment