aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-02-28 16:27:58 +0100
committerdec05eba <dec05eba@protonmail.com>2024-02-28 16:27:58 +0100
commit177df561546b59a326edb8e76d9b79571a70a3cb (patch)
tree40f212965087fda75f1868f63b974ab46777be7f /README.md
parente75dcd03748e87c4a1558988128d996534b5c514 (diff)
Add gpu-screen-recorder.env example
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 9589e2d..db95571 100644
--- a/README.md
+++ b/README.md
@@ -111,7 +111,7 @@ You can use these scripts to start replay at system startup if you add `scripts/
hotkey settings on your system and choose a hotkey to run the script `scripts/save-replay.sh`. Modify `scripts/start-replay.sh` if you want to use other replay options.
## Run replay on system startup
If you installed GPU Screen Recorder from AUR or from source and you are running a distro that uses systemd then you will have a systemd service installed that can be started with `systemctl enable --now --user gpu-screen-recorder`
-and it's configured with `$HOME/.config/gpu-screen-recorder.env` (create it if it doesn't exist). This systemd service runs GPU Screen Recorder on system startup.
+and it's configured with `$HOME/.config/gpu-screen-recorder.env` (create it if it doesn't exist). You can look at [extra/gpu-screen-recorder.env](https://git.dec05eba.com/gpu-screen-recorder/tree/extra/gpu-screen-recorder.env) to see an example. This systemd service runs GPU Screen Recorder on system startup.
You can see which variables that you can use in the `gpu-screen-recorder.env` file by looking at the `extra/gpu-screen-recorder.service` file.
You can use the `scripts/save-replay.sh` script to save a replay and by default the systemd service saves videos in `$HOME/Videos`.\
If you are using a NVIDIA GPU then it's recommended to set PreserveVideoMemoryAllocations=1 as mentioned in the section below.