signal-desktop: fix screensharing on wayland
Without this change, starting a screenshare in signal-desktop on wayland (sway) only produces a blank, black screen after selecting which screen to share, with the following error in the logs: ERROR:shared_screencast_stream.cc(412)] Unable to open PipeWire library ERROR:base_capturer_pipewire.cc(81)] ScreenCastPortal failed: 1 Upstream has fixed screensharing in general according to https://github.com/signalapp/Signal-Desktop/issues/5350#issuecomment-1664092786.
This commit is contained in:
parent
70dff9089e
commit
797f7d6749
@ -15,6 +15,7 @@
|
||||
, at-spi2-atk
|
||||
, cairo
|
||||
, pango
|
||||
, pipewire
|
||||
, gdk-pixbuf
|
||||
, glib
|
||||
, freetype
|
||||
@ -150,7 +151,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(
|
||||
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc ] }"
|
||||
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc pipewire ] }"
|
||||
# Currently crashes see https://github.com/NixOS/nixpkgs/issues/222043
|
||||
#--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"
|
||||
--suffix PATH : ${lib.makeBinPath [ xdg-utils ]}
|
||||
|
Loading…
Reference in New Issue
Block a user