diff --git a/chromium-browser.sh b/chromium-browser.sh index d76aabe4..82527cb7 100755 --- a/chromium-browser.sh +++ b/chromium-browser.sh @@ -50,6 +50,11 @@ CHROMIUM_DISTRO_FLAGS=" --enable-plugins \ --enable-sync \ --auto-ssl-client-auth @@EXTRA_FLAGS@@" +# This provides a much better experience on Wayland. +if [ "$XDG_SESSION_TYPE" == "wayland" ] || [[ $WAYLAND_DISPLAY ]] ; then + CHROMIUM_DISTRO_FLAGS="--enable-features=UseOzonePlatform --ozone-platform=wayland $CHROMIUM_DISTRO_FLAGS" +fi + if [ -f "$HERE/PepperFlash/libpepflashplayer.so" ] && [ -f "$HERE/PepperFlash/manifest.json" ] ; then CHROMIUM_FLASH_VERSION=$(grep '"version":' "$HERE/PepperFlash/manifest.json" | awk -F\" '{ print $4 }') CHROMIUM_FLASH_FLAGS=" --ppapi-flash-path=$HERE/PepperFlash/libpepflashplayer.so \ diff --git a/chromium.spec b/chromium.spec index 2fff8631..18ac2b2d 100644 --- a/chromium.spec +++ b/chromium.spec @@ -221,7 +221,7 @@ Name: chromium%{chromium_channel}%{nsuffix} Name: chromium%{chromium_channel} %endif Version: %{majorversion}.0.4664.110 -Release: 2%{?dist} +Release: 3%{?dist} %if %{?freeworld} %if %{?shared} # chromium-libs-media-freeworld @@ -2115,6 +2115,10 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt %changelog +* Mon Dec 27 2021 Tom Callaway - 96.0.4664.110-3 +- have chromium-browser.sh check for wayland env vars and if found, set ozone flags appropriately + Thanks to Neal Gompa for the nudge + * Mon Dec 20 2021 Tom Callaway - 96.0.4664.110-2 - enable WebRTCPipeWireCapturer by default