mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-10 19:58:16 +00:00
Update cheatsheets
This commit is contained in:
37
tldr/linux/gpu-screen-recorder
Normal file
37
tldr/linux/gpu-screen-recorder
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# gpu-screen-recorder
|
||||
|
||||
> Record the screen and encode the video with a GPU.
|
||||
> More information: <https://git.dec05eba.com/gpu-screen-recorder/about/>.
|
||||
|
||||
- Select a source using a desktop portal and record it:
|
||||
|
||||
`gpu-screen-recorder -w portal -o {{path/to/video.mp4}}`
|
||||
|
||||
- Specify a specific video source:
|
||||
|
||||
`gpu-screen-recorder -w {{screen|DP-1|HDMI-A1|...}} -o {{path/to/video.mp4}}`
|
||||
|
||||
- List video capture sources:
|
||||
|
||||
`gpu-screen-recorder --list-capture-options`
|
||||
|
||||
- List audio capture sources:
|
||||
|
||||
`gpu-screen-recorder {{--list-audio-devices|--list-application-audio}}`
|
||||
|
||||
- Record using the replay buffer:
|
||||
|
||||
`gpu-screen-recorder -w {{screen}} -r {{30}} -c {{mp4}} -ro {{path/to/directory}} -o {{whatever}}`
|
||||
|
||||
- Capture a video from the replay buffer:
|
||||
|
||||
`pkill -SIGUSR1 -f gpu-screen-recorder`
|
||||
|
||||
- Run `gpu-screen-recorder` in the background:
|
||||
|
||||
`systemctl start --user gpu-screen-recorder`
|
||||
@@ -11,7 +11,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Load a specific keyboard layout for the current console:
|
||||
|
||||
`sudo loadkeys {{en|de|fi|dvorak|...}}`
|
||||
`sudo loadkeys {{en|de|fi|dvorak|defkeymap|...}}`
|
||||
|
||||
- Load a default keymap:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user