diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-10-04 22:48:32 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-10-04 22:48:32 +0200 |
commit | 0183b8e11f7e8d88dde769fd07db2509a88721ad (patch) | |
tree | 1b4c5b53b954fb56aa57818d2ab0f63b9b20a8c8 | |
parent | 8b02a338a796e3b976e9f69d532b546f8f793475 (diff) |
m
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -73,9 +73,9 @@ Run the script `scripts/start-replay.sh` to start replay and then `scripts/save- You can use these scripts to start replay at system startup if you add `scripts/start-replay.sh` to startup (this can be done differently depending on your desktop environment / window manager) and then go into 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 are running a distro that uses systemd then you can use the systemd service in `extra/gpu-screen-recorder.service` instead. +If you are running a distro that uses systemd then you can use the systemd service in `extra/gpu-screen-recorder.service`. Copy `extra/gpu-screen-recorder.service` to a location where systemd can find it, for example: `$HOME/.config/systemd/user` and then enable and start it with: `systemctl enable --now --user gpu-screen-recorder`. Copying the systemd service file is not needed if you installed GPU Screen Recorder from AUR as this is done automatically. -You can then use the same `scripts/save-replay.sh` script to save a replay. The systemd service is configured with the file `$HOME/.config/gpu-screen-recorder.env` (create it if it doesn't exist). +You can then use the `scripts/save-replay.sh` script to save a replay. The systemd service is configured with the file `$HOME/.config/gpu-screen-recorder.env` (create it if it doesn't exist). You can see which variables that you can use by looking at the gpu-screen-recorder.service file. In general you only need to set the `WINDOW` variable to make it work. Restart the systemd service after modifying that configuration file. By default it 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. |