Quick and dirty video tutorial for ProtonVPN gnome app

Hi.
This is quick and dirty video tutorial of how to make sys-protonvpn service qube with ProtonVPN Gnome GUI app based on Fedora template.
I’ve used fedora-41-xfce as one user lately used that version when asking how to do it. But I’ve done it under QubesOS 4.2.4 as that’s what I’m using now.

Video is uploaded to anonymous video hosting site. To have clear version one need to download original file - around 206MB.

2 Likes

What you use for screen recording in dom0?
Nice idea to film video for existing QubesOS guides, but maybe you can do it in better quality.

  1. I’m recording with ffmpeg
  2. as I’ve written in first post you must download file - there are two links: Download - it’s 25MB 360p like in web player; and Original file - it’s 206MB 1080p

PS: screen recording script

#!/bin/bash

# initialize variables
HELP=
DEBUG=
RATE=10
FILE="output.mp4"
SCREEN=":0.0"
START_POS="0,0"
SIZE="2560x1440"
USAGE="Usage: capture-video [options]
	-h|--help - this help
	-r|--rate <number> - frame rate number, def:10
	-f|--file <filename> - path to file save, def:~/output.mp4
	-p|--pos <x,y> - capture upper left corner possition, def: 0,0
	-s|--size <XxY> - capture size, def: 2560x1440
	-d|--debug - it will show parameters only without capturing
	"
# set options for getopt
OPTIONS=$(getopt -o "hdr:f:p:s:" -l "help,debug,rate:,file:,pos:,size:" -- "$@")
if [ $? -ne 0 ]; then
	echo "$USAGE"
	exit 1
fi

eval set -- "$OPTIONS"
while [ $# -gt 0 ]; do
	case $1 in
		-h|--help) HELP=true; shift;;
		-d|--debug) DEBUG=true; shift;;
		-r|--rate) RATE="$2"; shift;;
		-f|--file) FILE="$2"; shift;;
		-p|--pos) START_POS="$2"; shift;;
		-s|--size) SIZE="$2"; shift;;
		--) shift; break;;
	esac
	shift
done

if [[ $HELP ]]; then
	echo "$USAGE"
	exit 1
fi

echo "Settings:
	Screen: $SCREEN
	Start position: $START_POS
	Size: $SIZE
	FPS: $RATE
	FILE: $FILE

waiting 1s...

"

if [[ $DEBUG ]]; then exit 1; fi

sleep 1

ffmpeg -video_size "$SIZE" -f x11grab -framerate "$RATE" -i "$SCREEN"+"$START_POS" "$FILE"

2 Likes