diff --git a/README.md b/README.md index b214633..698153f 100644 --- a/README.md +++ b/README.md @@ -251,4 +251,5 @@ This is likely an AMD gpu driver issue. It only happens to certain generations o This issue hasn't been observed on X11 yet, but if you do observe it you can either record a window (`-w $(xdotool selectwindow)`) or change your xorg config to use software cursor instead (Add `Option "SWcursor" "true"` under modesetting "Device" section in your xorg config file). ## Password prompt shows up when I try to record my screen If GPU Screen Recorder is installed with -Dcapabilities=true (which is the default option) then `gsr-kms-server` is installed with admin capabilities. -This removes a password prompt when recording a monitor with the -w monitor option (for example -w screen). However if the system has the root used disabled then the password prompt will show up anyways. \ No newline at end of file +This removes a password prompt when recording a monitor with the `-w monitor` option (for example `-w screen`). However if the root user is disabled on the system then the password prompt will show up anyways. +If the root user is disabled on your system then you can instead record with `-w focused` or `-w window_id` on X11 or `-w portal` on Wayland. \ No newline at end of file diff --git a/gpu-screen-recorder.1 b/gpu-screen-recorder.1 index 45f1aeb..c237ca3 100644 --- a/gpu-screen-recorder.1 +++ b/gpu-screen-recorder.1 @@ -104,6 +104,9 @@ Frame rate (default: 60). For variable frame rate mode, this is maximum FPS. .TP .BI \-cursor " yes|no" Record cursor (default: yes). +.TP +.BI \-restore\-portal\-session " yes|no" +Restore previous portal session (used with -w portal option, default: no). .SS Audio Options .TP .BI \-a " audio_source" @@ -194,9 +197,6 @@ Load plugin (.so file). Can be specified multiple times. .BI \-sc " script_path" Script to run after saving video. Receives filepath and type ("regular", "replay", "screenshot"). .TP -.BI \-restore\-portal\-session " yes|no" -Restore previous portal session (Wayland portal, default: no). -.TP .BI \-portal\-session\-token\-filepath " path" Portal session token file (default: ~/.config/gpu-screen-recorder/restore_token). .TP