You are not logged in.

#1 2023-05-30 21:33:50

Eisenhans
Member
Registered: 2011-02-03
Posts: 9

Chromium 114 and its Dark Mode default

Earlier today I've updated my system and, amongst other stuff, Chromium got updated from 113 to 114.

It seems to default to a "dark mode" right now, which it also seems to send to websites, which, if they support it, turn themselves into a dark mode.

I don't want this, I want the old default behaviour back.
My system runs xorg and a plain openbox, nothing fancy, no desktop environment, no freedesktop settings whatsoever.

What I've tried:
- Using the Settings - Appearance dialogue. No option there, it looks like this: https://i.imgur.com/MOsxhYn.jpg
- chrome://flags, setting the "Auto Dark Mode for Web Contents" to disabled. Wouldn't expect it to set the chromium UI back to default but at least prevent the sending of the dark mode call to websites.
It didn't do that, everything is still dark.

Does anyone have any clues about how to do this?

Offline

#2 2023-05-31 23:40:11

solstice
Member
Registered: 2006-10-27
Posts: 245
Website

Re: Chromium 114 and its Dark Mode default

chromium is respecting the color scheme of your desktop. if you set it to follow a dark mode, then chromium is using dark mode for all site that support it by default.

Offline

#3 2023-05-31 23:45:31

Eisenhans
Member
Registered: 2011-02-03
Posts: 9

Re: Chromium 114 and its Dark Mode default

The problem is: I don't have "a desktop". I do not set it to follow anything.

Offline

#4 2023-06-01 06:33:18

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,679

Online

#5 2023-06-01 11:33:31

Eisenhans
Member
Registered: 2011-02-03
Posts: 9

Re: Chromium 114 and its Dark Mode default

seth wrote:

and try "--disable-features=WebUIDarkMode"

Since making the posting, I too had discovered that bug report, but using the option on startup doesn't solve the problem for me. It does.. nothing.
UI is still dark, and the dark command is still being sent to websites.

Offline

#6 2023-06-01 16:09:57

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,679

Re: Chromium 114 and its Dark Mode default

Did you kill all chromium processes beforehand (otherwise it'll just IPC you a new window)?
Since chromium is supposed to use the xdg-desktop-portal setting, do you run a portal implementation? Which? What is the key set to?

qdbus org.freedesktop.portal.Desktop /org/freedesktop/portal/desktop org.freedesktop.portal.Settings.Read "org.freedesktop.appearance" "color-scheme"

Online

#7 2023-06-01 18:30:36

Eisenhans
Member
Registered: 2011-02-03
Posts: 9

Re: Chromium 114 and its Dark Mode default

Thanks for taking the time to do this.

seth wrote:

Did you kill all chromium processes beforehand (otherwise it'll just IPC you a new window)?

Yes, it was tested on a clean slate.

seth wrote:

do you run a portal implementation?

Nope, I do not. Also no freedesktop keys set anywhere.

Offline

#8 2023-06-01 19:23:18

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,679

Re: Chromium 114 and its Dark Mode default

https://chromium.googlesource.com/chrom … %5E%21/#F4

+  if (auto* linux_ui_theme = ui::GetDefaultLinuxUiTheme()) {
+    auto* native_theme = linux_ui_theme->GetNativeTheme();
+    native_theme_observer_.Observe(native_theme);
+    SetColorScheme(native_theme->ShouldUseDarkColors());
+  }

What's your gtk theme?

Online

#9 2023-06-01 19:33:06

karabaja4
Member
From: Croatia
Registered: 2008-09-14
Posts: 1,048
Website

Re: Chromium 114 and its Dark Mode default

If changing GTK theme doesn't work, try this:

~/.config/gtk-3.0/settings.ini

[Settings]
gtk-application-prefer-dark-theme=0

Last edited by karabaja4 (2023-06-01 19:33:14)

Offline

#10 2023-06-01 20:08:01

Eisenhans
Member
Registered: 2011-02-03
Posts: 9

Re: Chromium 114 and its Dark Mode default

That crucial bit was missing from my original posting: I'm not using GTK mode in chromium, I'm using "classic". If I switch to GTK mode, it just uses my regular GTK theme, which is cobbled together.

But I'm not using this for chromium, for a number of reasons. I always used its own "classic" mode.

Offline

#11 2023-06-01 20:35:04

karabaja4
Member
From: Croatia
Registered: 2008-09-14
Posts: 1,048
Website

Re: Chromium 114 and its Dark Mode default

I use "classic" too but Chromium still picks up on "gtk-application-prefer-dark-theme" and goes dark if the value is set to 1. Try setting it to 0 and see what happens.

Offline

#12 2023-06-02 14:04:51

Eisenhans
Member
Registered: 2011-02-03
Posts: 9

Re: Chromium 114 and its Dark Mode default

karabaja4 wrote:

Try setting it to 0 and see what happens.

Tried setting it to 0 (the entry didn't exist before, so I added it), made sure nothing old was still in effect (clean reboot), but alas - still dark.

There was a new chromium 114 package, updated it just to be sure, but nope.

Offline

#13 2023-06-02 15:46:33

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,679

Re: Chromium 114 and its Dark Mode default

Try to
a) set the GTK theme to adwaita
b) install xdg-desktop-portal and an implementation (eg. xdg-desktop-portal-gtk, NOT the gnome one)

Online

#14 2023-06-03 02:27:09

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 713

Re: Chromium 114 and its Dark Mode default

It was useful that previously chrome would display an incognito window in dark theme to easy distinguish from my regular light-themed windows but since 114 both are dark themed. Seems more sensible that incognito would be display in opposite theme, or at least have a setting for it.

Last edited by bulletmark (2023-06-03 22:15:40)

Offline

#15 2023-06-03 10:32:17

karabaja4
Member
From: Croatia
Registered: 2008-09-14
Posts: 1,048
Website

Re: Chromium 114 and its Dark Mode default

I'm pretty sure this has everything to do with GTK theme. Like the OP, I too avoid freedesktop bullsh*t (also no dbus). I use "classic" mode in Chromium.

My GTK theme is extra/arc-gtk-theme.

When I use "Arc" (light) theme, my Chromium is light and renders pages in light.
When I use "Arc-Dark" (dark), my Chromium is dark and renders pages in dark.
Chromium also goes dark when I use a "Arc" (light) theme and set gtk-application-prefer-dark-theme=1.

So try playing around with GTK settings and themes, I'm sure it will have some kind of an effect.

Last edited by karabaja4 (2023-06-03 10:33:21)

Offline

#16 2023-07-20 13:53:34

dripfeeder
Member
Registered: 2020-04-18
Posts: 2

Re: Chromium 114 and its Dark Mode default

I've tried everything. Unfortunately this innovation has become part of chrome

Offline

#17 2023-07-20 14:41:21

eujian
Member
Registered: 2023-07-20
Posts: 4
Website

Re: Chromium 114 and its Dark Mode default

Anyone testing brave ?


Layanan Aplikasi Sisko Terbaik | Aplikasi Ujian Online

Offline

#18 2023-07-20 14:53:58

dripfeeder
Member
Registered: 2020-04-18
Posts: 2

Re: Chromium 114 and its Dark Mode default

brave is fine

Offline

#19 2023-07-21 15:02:01

eujian
Member
Registered: 2023-07-20
Posts: 4
Website

Re: Chromium 114 and its Dark Mode default

dripfeeder wrote:

brave is fine

Thank You, will test. Brave is amazing!


Layanan Aplikasi Sisko Terbaik | Aplikasi Ujian Online

Offline

#20 2023-08-08 22:48:06

NumberSix
Member
Registered: 2017-10-10
Posts: 8

Re: Chromium 114 and its Dark Mode default

Make sure any other instances of your browser are closed, then try this right on the CLI:

env GTK_THEME=Arc-Lighter /usr/bin/google-chrome-stable

Of course, you have to have 'Arc-Lighter' installed, or you can just use any other light theme you have. Same goes for 'google-chrome-stable' -- substitute 'chromium' or 'vivaldi-stable' or whatever the executable bin is for your web browser.

Last edited by NumberSix (2023-08-08 22:50:26)

Offline

Board footer

Powered by FluxBB