Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-47576

Fix Chromium dark mode for RHEL9

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • None
    • CentOS Stream 9
    • gnome-desktop3
    • None
    • Moderate
    • EasyFix
    • rhel-display-desktop-foundation
    • ssg_display
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • None

      In a most recent Fedora, the following sets the global dbus variable that Google Chrome and Chormium listen on in order to work in dark mode.

      gsettings set org.gnome.desktop.interface color-scheme prefer-dark

      Without it, `prefers-color-scheme` will always yield 'light' regardless to how you invoke chrome or change its settings. Chrome listens on a dbus variable that is relevant to this gsetting and does nothing else.

      To fix this we need to backport two patches in order for it to work in RHEL9. See:

      https://gitlab.com/daloni/gsettings-desktop-schemas

      https://gitlab.com/daloni/xdg-desktop-portal-gnome

      I can open MRs for the two respective repos.

              rh-ee-avovk Adrian Vovk
              dan.aloni Dan Aloni (Inactive)
              Adrian Vovk Adrian Vovk
              Barry Dunn Barry Dunn
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: