This fixes the issue for me: $ cat /etc/xdg/autostart/firefox-snap-launch-xwayland.desktop [Desktop Entry] Name=Launch Xwayland on startup of wayland session Comment=This allows to start the Firefox snap from the dock without a black window Type=Application Exec=sh -c 'if [ "$XDG_SESSION_TYPE" = "wayland" ]; then xrefresh; fi' TryExec=xrefresh OnlyShowIn=GNOME; NoDisplay=true
How about letting some package install that, or maybe make use of the xrefresh command in some other way. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to mutter in Ubuntu. https://bugs.launchpad.net/bugs/1987976 Title: firefox black window To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/1987976/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs