fix(nb): remove wayland flags from signal-desktop to fix empty window

Signal Desktop has a known Electron bug where the window never appears
when using Wayland Ozone platform flags. The ready-to-show event doesn't
fire properly on Wayland. Running in XWayland mode resolves this issue.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-10-19 15:28:42 +02:00
parent 40743442e9
commit bbb9cacd71

View File

@@ -6,14 +6,14 @@ let
name = "signal-desktop";
desktopName = "Signal";
icon = "signal-desktop";
exec = "signal-desktop --enable-features=UseOzonePlatform,VaapiVideoDecoder --ozone-platform=wayland -- %u";
exec = "signal-desktop --enable-features=VaapiVideoDecoder -- %u";
};
signalWorkDesktopItem = pkgs.makeDesktopItem {
name = "signal-work";
desktopName = "Signal with work profile";
icon = "signal-desktop";
exec = "signal-desktop --enable-features=UseOzonePlatform,VaapiVideoDecoder --ozone-platform=wayland --enable-dev-tools --user-data-dir=/home/dominik/.config/Signal-work -- %u";
exec = "signal-desktop --enable-features=VaapiVideoDecoder --enable-dev-tools --user-data-dir=/home/dominik/.config/Signal-work -- %u";
};
in {
environment.systemPackages = [