diff --git a/README.md b/README.md index 4e5c0f4..1b7f76f 100644 --- a/README.md +++ b/README.md @@ -135,7 +135,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`. This systemd service runs GPU Screen Recorder on system startup.\ -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/plain/extra/gpu-screen-recorder.env) to see an example. +It's configured with `$HOME/.config/gpu-screen-recorder/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/plain/extra/gpu-screen-recorder.env) to see an example. 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. Note that all of the variables are optional, you only have to set the ones that are you interested in. You can use the `scripts/save-replay.sh` script to save a replay and by default the systemd service saves videos in `$HOME/Videos`. ## Run a script when a video is saved diff --git a/extra/gpu-screen-recorder.service b/extra/gpu-screen-recorder.service index 7054e17..0e897ef 100644 --- a/extra/gpu-screen-recorder.service +++ b/extra/gpu-screen-recorder.service @@ -3,6 +3,7 @@ Description=GPU Screen Recorder Service [Service] EnvironmentFile=-%h/.config/gpu-screen-recorder.env +EnvironmentFile=-%h/.config/gpu-screen-recorder/gpu-screen-recorder.env Environment=WINDOW=screen Environment=CONTAINER=mp4 Environment=QUALITY=40000 diff --git a/gpu-screen-recorder.1 b/gpu-screen-recorder.1 index e8637be..ea377d2 100644 --- a/gpu-screen-recorder.1 +++ b/gpu-screen-recorder.1 @@ -549,7 +549,7 @@ gpu-screen-recorder -w "DP-1|DP-2;x=1920" -o video.mp4 .fi .SH FILES .TP -.I ~/.config/gpu-screen-recorder.env +.I ~/.config/gpu-screen-recorder/gpu-screen-recorder.env Environment variables for systemd service (optional). .TP .I /usr/lib/modprobe.d/gsr-nvidia.conf @@ -606,8 +606,16 @@ ShadowPlay-style UI Developed by dec05eba and contributors. .SH COPYRIGHT Copyright © dec05eba. Licensed under GPL3-only. -.SH BUGS +.SH REPORTING BUGS Report bugs at .UR mailto:dec05eba@protonmail.com dec05eba@protonmail.com .UE . +.UR https://git.dec05eba.com/?p=about +See more information about reporting bugs at the gpu-screen-recorder website +.UE . +.br +.UR https://git.dec05eba.com/gpu-screen-recorder/about/ +Before reporting a bug or an issue, please take a look at FAQ part of the README +.UE . +The bug or issue may have been previously reported or may not be related to gpu-screen-recorder.