Update info about reporting bugs in the manpage, move gpu-screen-recorder.env to ~/.config/gpu-screen-recorder but keep old path as well

This commit is contained in:
dec05eba
2026-02-23 23:15:09 +01:00
parent 0555cfde58
commit 309c4e5f2e
3 changed files with 12 additions and 3 deletions

View File

@@ -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. 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 ## 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.\ 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 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`. 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 ## Run a script when a video is saved

View File

@@ -3,6 +3,7 @@ Description=GPU Screen Recorder Service
[Service] [Service]
EnvironmentFile=-%h/.config/gpu-screen-recorder.env EnvironmentFile=-%h/.config/gpu-screen-recorder.env
EnvironmentFile=-%h/.config/gpu-screen-recorder/gpu-screen-recorder.env
Environment=WINDOW=screen Environment=WINDOW=screen
Environment=CONTAINER=mp4 Environment=CONTAINER=mp4
Environment=QUALITY=40000 Environment=QUALITY=40000

View File

@@ -549,7 +549,7 @@ gpu-screen-recorder -w "DP-1|DP-2;x=1920" -o video.mp4
.fi .fi
.SH FILES .SH FILES
.TP .TP
.I ~/.config/gpu-screen-recorder.env .I ~/.config/gpu-screen-recorder/gpu-screen-recorder.env
Environment variables for systemd service (optional). Environment variables for systemd service (optional).
.TP .TP
.I /usr/lib/modprobe.d/gsr-nvidia.conf .I /usr/lib/modprobe.d/gsr-nvidia.conf
@@ -606,8 +606,16 @@ ShadowPlay-style UI
Developed by dec05eba and contributors. Developed by dec05eba and contributors.
.SH COPYRIGHT .SH COPYRIGHT
Copyright © dec05eba. Licensed under GPL3-only. Copyright © dec05eba. Licensed under GPL3-only.
.SH BUGS .SH REPORTING BUGS
Report bugs at Report bugs at
.UR mailto:dec05eba@protonmail.com .UR mailto:dec05eba@protonmail.com
dec05eba@protonmail.com dec05eba@protonmail.com
.UE . .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.