fix(nb): force signal-desktop to use X11 with --ozone-platform=x11
Electron 38 has built-in Wayland auto-detection. Even without ELECTRON_OZONE_PLATFORM_HINT, it detects WAYLAND_DISPLAY and tries to use Wayland, triggering the empty window bug in Signal Desktop. Explicitly force X11/XWayland mode with --ozone-platform=x11 flag to prevent auto-detection and fix the empty window issue. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -6,14 +6,14 @@ let
|
||||
name = "signal-desktop";
|
||||
desktopName = "Signal";
|
||||
icon = "signal-desktop";
|
||||
exec = "signal-desktop --enable-features=VaapiVideoDecoder -- %u";
|
||||
exec = "signal-desktop --ozone-platform=x11 --enable-features=VaapiVideoDecoder -- %u";
|
||||
};
|
||||
|
||||
signalWorkDesktopItem = pkgs.makeDesktopItem {
|
||||
name = "signal-work";
|
||||
desktopName = "Signal with work profile";
|
||||
icon = "signal-desktop";
|
||||
exec = "signal-desktop --enable-features=VaapiVideoDecoder --enable-dev-tools --user-data-dir=/home/dominik/.config/Signal-work -- %u";
|
||||
exec = "signal-desktop --ozone-platform=x11 --enable-features=VaapiVideoDecoder --enable-dev-tools --user-data-dir=/home/dominik/.config/Signal-work -- %u";
|
||||
};
|
||||
in {
|
||||
environment.systemPackages = [
|
||||
|
||||
Reference in New Issue
Block a user