[kwin] [Bug 483137] Screencast plugin fails if PipeWire is started after KWin

2024-04-10 Thread Chris Pfuhl
https://bugs.kde.org/show_bug.cgi?id=483137

--- Comment #7 from Chris Pfuhl  ---
i'm running the same patch according to diff (just with slightly different
"index ..." lines which hopefully aren't that relevant to applying)
For what it's worth what also worked for me without a patch at least for gentoo
was to login as your user account in a shell
and run "dbus-run-session gentoo-pipewire-launcher" and then start your display
manager and login with the same user.
not very pretty but i guess this should also work for other distributions with
the correct pipewire launch command.

i also wanted to try putting a pipewire launch script in
~/.config/plasma-workspace/env
but i'm not very hopeful that this runs early enough. In the meantime i also
found a somewhat experimental 
and pretty complex looking guide in the gentoo wiki  to run user services with
openrc:
https://wiki.gentoo.org/wiki/OpenRC/User_services
maybe at some point i'll get around to trying this.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 483137] Screencast plugin fails if PipeWire is started after KWin

2024-03-11 Thread Chris Pfuhl
https://bugs.kde.org/show_bug.cgi?id=483137

Chris Pfuhl  changed:

   What|Removed |Added

 CC||bugs+...@pfuhl.sh

--- Comment #2 from Chris Pfuhl  ---
Created attachment 166969
  --> https://bugs.kde.org/attachment.cgi?id=166969=edit
revert kwin commit 37d2a7914329c65361eedfd995f25bd6867b68bc to fix
screensharing on Gentoo Linux

thank you very much for finding that patch.
i can confirm reverting the patch makes screensharing work for me on Gentoo
Linux.
Since updating to Plasma 6.0.0 i had the same behavior, the display selection
menu came
up but when pressed any combination received "Failed to connect PipeWire
context".
With the attached patch built into the package "kde-plasma/kwin-6.0.1-r2" from
the main gentoo tree
screensharing seems to work flawlessly so far after a restart of the display
server.

-- 
You are receiving this mail because:
You are watching all bug changes.