Skip to content

Documentation/notes for screensharing #2992

@dagbdagb

Description

@dagbdagb

Describe the issue

I had issues sharing my screen, got some help and handholding.

Notes

  • must have xdg-desktop-portal-wlr installed
  • should have /usr/share/xdg-desktop-portal/wayfire-portals.conf or ~/.config/xdg-desktop-portal/wayfire-portals.conf
[preferred]
default=wlr;*
org.freedesktop.impl.portal.Inhibit=none

May have other content...

  • must have env variables:
XDG_CURRENT_DESKTOP=wayfire
XDG_SESSION_TYPE=wayland
  • must have ~/.config/xdg-desktop-portal-wlr/config
[screencast]
output_name=DP-3   <- modify as needed, value may not be hugely important(?)
max_fps=30
chooser_cmd=slurp -f ’Monitor: %o’ -or
  • May use wlr-randr to figure out output names.

  • must have pipewire enabled

systemctl enable --now --user pipewire
  • must(?) autostart xdg-desktop-portal-wlr with wayfire:
[autostart]
0_0 = (XDG_SESSION_TYPE=wayland XDG_CURRENT_DESKTOP=wayfire systemctl --user import-environment)
autostart_wf_shell = false
idle = swayidle before-sleep swaylock
notifications = mako
outputs = kanshi
portal = /usr/libexec/xdg-desktop-portal-wlr

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions