WayfireWM / WayfireWM/wayfire

Documentation/notes for screensharing

Open
#2,992 5 comments 0 reactions 0 assignees View on GitHub

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.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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.