Skip to content

share-picker ​

Screen-share picker shown by xdg-desktop-portal when an app requests a window, output, or region to capture.

General ​

FieldTypeDefaultDescription
default-pageSharePickerPage"windows"Page selected when the picker opens.
hide-token-restoreboolfalseHide the "allow a restore token" checkbox.
widthSize1Picker window width: a multiplier of the default 1000px (1.0 = default) or absolute pixels (e.g. "1200px").
heightSize1Picker window height: a multiplier of the default 500px (1.0 = default) or absolute pixels.
resize-sizeu32640Downscale every captured frame to at most this height in pixels.
widget-sizeSize1Height of each card's preview image: a multiplier of the default 150px (1.0 = default) or absolute pixels.
windows-spacingSize1Spacing between window cards: a multiplier of the default 12px (1.0 = default) or absolute pixels.
windows-min-per-rowu323Minimum window cards per row.
windows-max-per-rowu324Maximum window cards per row.
outputs-spacingSize1Spacing between output cards (applied per side): a multiplier of the default 6px (1.0 = default) or absolute pixels.
outputs-show-labelboolfalseShow the output name label under each output card.
outputs-respect-scalingbooltrueScale output cards by their fractional scale.

Default configuration ​

yaml
share-picker:
  default-page: windows
  hide-token-restore: false
  width: 1.0
  height: 1.0
  resize-size: 640
  widget-size: 1.0
  windows-spacing: 1.0
  windows-min-per-row: 3
  windows-max-per-row: 4
  outputs-spacing: 1.0
  outputs-show-label: false
  outputs-respect-scaling: true

Released under the MIT License.