GNU bug report logs - #70111
Gnome 44: Dark Theme not Working

Previous Next

Package: guix;

Reported by: Dariqq <dariqq <at> posteo.net>

Date: Sun, 31 Mar 2024 18:06:02 UTC

Severity: normal

Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 70111 in the body.
You can then email your comments to 70111 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#70111; Package guix. (Sun, 31 Mar 2024 18:06:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dariqq <dariqq <at> posteo.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 31 Mar 2024 18:06:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dariqq <dariqq <at> posteo.net>
To: bug-guix <at> gnu.org
Subject: Gnome 44: Dark Theme not Working
Date: Sun, 31 Mar 2024 18:05:12 +0000
Hi Guix,

Updated my system to Gnome 44 f5558ee0cc1a11a8b61d3f4d43f05dd79d53ac77 
and the dark style setting in Gnome no longer works (compared to Gnome 
42), i.e. apps like gnome-control-center and nautilus still have the 
light theme even though the setting is set to Dark.

The setting from the control-center is applied correctly:

 guix shell glib:bin -- gsettings get org.gnome.desktop.interface 
color-scheme
'prefer-dark'

"GTK_THEME" is unset, no extra config in ~/.config/gtk-*.0/settings.ini 
and also Application>Appeareance in Gnome Tweaks is set to Adwaita-Dark.

Some results from searching online suggest to install xdg-desktop-portal 
and adding that to the system profile and rebooting indeed makes the 
dark setting work as expected.

Should this be handled by the gnome-desktop-service-type, i.e. added by 
one of the gnome-meta-packages (probably gnome-essential-extras)?

Thanks.




Information forwarded to bug-guix <at> gnu.org:
bug#70111; Package guix. (Wed, 03 Apr 2024 03:55:01 GMT) Full text and rfc822 format available.

Message #8 received at 70111 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Dariqq <dariqq <at> posteo.net>
Cc: 70111 <at> debbugs.gnu.org
Subject: Re: bug#70111: Gnome 44: Dark Theme not Working
Date: Tue, 02 Apr 2024 23:46:43 -0400
Hi,

Dariqq <dariqq <at> posteo.net> writes:

[...]

> Some results from searching online suggest to install
> xdg-desktop-portal and adding that to the system profile and rebooting
> indeed makes the dark setting work as expected.
>
> Should this be handled by the gnome-desktop-service-type, i.e. added
> by one of the gnome-meta-packages (probably gnome-essential-extras)?

A solution along these lines sound reasonable to me.  I think switching
to the dark theme should work out of the box if it's exposed in the UI.

-- 
Thanks,
Maxim




Information forwarded to liliana.prikler <at> gmail.com, maxim.cournoyer <at> gmail.com, rg <at> raghavgururajan.name, vivien <at> planete-kraus.eu, bug-guix <at> gnu.org:
bug#70111; Package guix. (Wed, 03 Apr 2024 09:28:03 GMT) Full text and rfc822 format available.

Message #11 received at 70111 <at> debbugs.gnu.org (full text, mbox):

From: Dariqq <dariqq <at> posteo.net>
To: 70111 <at> debbugs.gnu.org
Cc: Dariqq <dariqq <at> posteo.net>
Subject: [PATCH] gnu: gnome-essential-extras: Propagate xdg-desktop-portal.
Date: Wed,  3 Apr 2024 09:25:52 +0000
xdg-desktop-portal (and xdg-desktop-portal-gnome) is needed for the dark theme
in Gnome 44 to work properly.

* gnu/packages/gnome.scm (gnome-essential-extras)[propagated-inputs]: Add xdg-desktop-portal.

Change-Id: Id84626e6bc404e9607ee7f8f299ac90f24323081
---
 gnu/packages/gnome.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index c8305b0dd8..7209a14e67 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -10306,6 +10306,7 @@ (define-public gnome-essential-extras
                             pulseaudio
                             shared-mime-info
                             system-config-printer
+                            xdg-desktop-portal
                             xdg-user-dirs
                             yelp
                             zenity))

base-commit: f26b42f6c07a00dd2cecb006846e672b88748b84
-- 
2.41.0





Information forwarded to bug-guix <at> gnu.org:
bug#70111; Package guix. (Wed, 03 Apr 2024 18:12:02 GMT) Full text and rfc822 format available.

Message #14 received at 70111 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Dariqq <dariqq <at> posteo.net>
Cc: Raghav Gururajan <rg <at> raghavgururajan.name>,
 Vivien Kraus <vivien <at> planete-kraus.eu>,
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>, 70111 <at> debbugs.gnu.org
Subject: Re: bug#70111: [PATCH] gnu: gnome-essential-extras: Propagate
 xdg-desktop-portal.
Date: Wed, 03 Apr 2024 14:11:12 -0400
Hello,

Dariqq <dariqq <at> posteo.net> writes:

> xdg-desktop-portal (and xdg-desktop-portal-gnome) is needed for the dark theme
> in Gnome 44 to work properly.
>
> * gnu/packages/gnome.scm (gnome-essential-extras)[propagated-inputs]: Add xdg-desktop-portal.
>
> Change-Id: Id84626e6bc404e9607ee7f8f299ac90f24323081

Reviewed-by: Maxim Cournoyer <maxim.cournoyer <at> gmail>

Haven't tested it myself, but I trust the findings of Dariqq.

-- 
Thanks,
Maxim




Reply sent to Liliana Marie Prikler <liliana.prikler <at> gmail.com>:
You have taken responsibility. (Sat, 06 Apr 2024 04:51:02 GMT) Full text and rfc822 format available.

Notification sent to Dariqq <dariqq <at> posteo.net>:
bug acknowledged by developer. (Sat, 06 Apr 2024 04:51:02 GMT) Full text and rfc822 format available.

Message #19 received at 70111-done <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>, Dariqq <dariqq <at> posteo.net>
Cc: 70111-done <at> debbugs.gnu.org, Vivien Kraus <vivien <at> planete-kraus.eu>,
 Raghav Gururajan <rg <at> raghavgururajan.name>
Subject: Re: bug#70111: [PATCH] gnu: gnome-essential-extras: Propagate
 xdg-desktop-portal.
Date: Sat, 06 Apr 2024 06:50:36 +0200
Am Mittwoch, dem 03.04.2024 um 14:11 -0400 schrieb Maxim Cournoyer:
> Hello,
> 
> Dariqq <dariqq <at> posteo.net> writes:
> 
> > xdg-desktop-portal (and xdg-desktop-portal-gnome) is needed for the
> > dark theme in Gnome 44 to work properly.
> > 
> > * gnu/packages/gnome.scm (gnome-essential-extras)[propagated-
> > inputs]: Add xdg-desktop-portal.
> > 
> > Change-Id: Id84626e6bc404e9607ee7f8f299ac90f24323081
> 
> Reviewed-by: Maxim Cournoyer <maxim.cournoyer <at> gmail>
> 
> Haven't tested it myself, but I trust the findings of Dariqq.
The desktop portal seems like a harmless propagation, so I trust your
trust.

Pushed.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 04 May 2024 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified today.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.