aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-02-20 19:10:49 +0100
committerdec05eba <dec05eba@protonmail.com>2024-02-20 19:10:49 +0100
commit8832a9ee339186da090a64fff87fdd94d5e937dd (patch)
treeb3652a68104f35023b0b2c0227c4efb427c68e7d
parent9ace94aa2a9938ffc98df7129e424d9eb478b42f (diff)
Mention hotkeys in readme
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index 425fd3a..4ffa0b4 100644
--- a/README.md
+++ b/README.md
@@ -25,6 +25,9 @@ When recording GTA V at 4k on highest settings, fps drops from 60 to 23 when usi
It is recommended to save the video to a SSD because of the large file size, which a slow HDD might not be fast enough to handle.
## Note about optimal performance on NVIDIA
NVIDIA driver has a "feature" (read: bug) where it will downclock memory transfer rate when a program uses cuda (or nvenc, which uses cuda), such as GPU Screen Recorder. See https://git.dec05eba.com/gpu-screen-recorder/about/ for more information and how to overcome this.
+## Hotkey
+Hotkeys are currently only supported on X11. Most Wayland compositors are missing a way to bind hotkeys programatically. If you want to have hotkeys then you can bind hotkeys in your Wayland compositors settings.
+Bind a key to "killall -SIGINT gpu-screen-recorder" to stop recording (also saves the video when recording a regular video). Bind another key to "killall -SIGUSR1 gpu-screen-recorder" to save a replay and another key to "killall -SIGUSR2 gpu-screen-recorder" to pause/unpause the recording (when recording a regular video).
## Installation
This program depends on [gpu-screen-recorder](https://git.dec05eba.com/gpu-screen-recorder/) which needs to be installed first.\