- Install
gpu-screen-recorder
from your distro's package manager - git clone this repo and navigate into the folder
git clone https://github.com/lainefox/gpu-replay && cd gpu-replay
- Copy
gpu-replay
to/usr/local/bin
cp gpu-replay /usr/local/bin/
- Copy
gpu-replay.service
to~/.config/systemd/user
cp gpu-replay.service ~/.config/systemd/user/
- (Optional) If you want the service to start with the system run
systemctl --user enable gpu-replay
Start the SystemD service
systemctl --user start gpu-replay
OR
Run the script with the start argument (the script will take over the shell you are running it in)
gpu-replay start
Run the script with the save argument
gpu-replay save
Stop the SystemD service
systemctl --user stop gpu-replay
OR
Run the script with the start argument in a shell
gpu-replay stop