Documentation/notes for screensharing
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 3.1k
- Forks
- 237
- Avg merge
- 1h 43m
- Merged PRs (30d)
- 1
Description
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.confor~/.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-randrto figure out output names. -
must have pipewire enabled
systemctl enable --now --user pipewire
- must(?) autostart
xdg-desktop-portal-wlrwith 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the listed xdg-desktop-portal-wlr configuration paths, environment variables, PipeWire command, and Wayfire autostart block. Turn these notes into project documentation with clear prerequisites and setup steps, preserving the configurable output name and chooser command details.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- desktop, documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100