gsr-ui-cli1
Command-line interface for gsr-ui
Usage
gsr-ui-cli command
Overview
gsr-ui-cli is the command-line application to control gsr-ui without using gsr-ui's own hotkeys.
Commands
-
--help, -h -
Show help message.
toggle-show-
Show/hide the UI.
toggle-record-
Start/stop regular recording.
start-record-
Start regular recording. Does nothing if recording is already running.
stop-record-
Stop regular recording. Does nothing if recording is not running.
toggle-pause-
Pause/unpause recording (only applies to regular recording).
toggle-record-region-
Start/stop recording a region.
toggle-record-window-
Start/stop recording a window (or desktop portal on Wayland).
toggle-stream-
Start/stop streaming.
start-stream-
Start streaming. Does nothing if streaming is already running.
stop-stream-
Stop streaming. Does nothing if streaming is not running.
toggle-replay-
Start/stop replay.
start-replay-
Start replay. Does nothing if replay is already running.
stop-replay-
Stop replay. Does nothing if replay is not running.
replay-save-
Save the current replay.
replay-save-1-min-
Save a replay of the last 1 minute.
replay-save-10-min-
Save a replay of the last 10 minutes.
take-screenshot-
Take a screenshot.
take-screenshot-region-
Take a screenshot of a selected region.
take-screenshot-window-
Take a screenshot of a window (or desktop portal on Wayland).
reload-config-
Reloads the config.
status-
Prints "running" and exits with 0 if gsr-ui is running, otherwise prints "not running" and exits with 1.
Examples
gsr-ui-cli toggle-show
|
Show or hide the main window. |
|---|---|
gsr-ui-cli toggle-record
|
Start or stop screen recording. |