Subject: [PATCH] services: gdm: Add packages for accessibility settings.

From: Dariqq <[email-masked]>
Date: Tue, 16 Jan 2024 20:49:06 +0000

gdm needs the "/share" subdirectory of these packages present in XDG_DATA_DIRS
such that the accessibility settings work:
- gnome-control-center: For the icon.
- dconf: To be able to change settings.
- at-spi2-core: contains accessibiltiy dbus-service.

* gnu/services/xorg.scm (<gdm-configuration>)[gnome-shell-assets]: Add
at-spi2-core, dconf, gnome-control-center.

Change-Id: I71138ef52af6d440fadc43425b0fc48b186dcc40
---
 gnu/services/xorg.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm
index 1ee15ea90c..27c8aa40c3 100644
--- a/gnu/services/xorg.scm
+++ b/gnu/services/xorg.scm
@@ -51,6 +51,7 @@ (define-module (gnu services xorg)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gnustep)
   #:use-module (gnu packages gnome)
+  #:use-module (gnu packages gtk)
   #:use-module (gnu packages admin)
   #:use-module (gnu packages bash)
   #:use-module (gnu system shadow)
@@ -1039,7 +1040,10 @@ (define-record-type* <gdm-configuration>
   (debug? gdm-configuration-debug? (default #f))
   (default-user gdm-configuration-default-user (default #f))
   (gnome-shell-assets gdm-configuration-gnome-shell-assets
-                      (default (list adwaita-icon-theme font-abattis-cantarell)))
+                      (default (list at-spi2-core
+                                     dconf
+                                     gnome-control-center
+                                     adwaita-icon-theme font-abattis-cantarell)))
   (xorg-configuration gdm-configuration-xorg
                       (default (xorg-configuration)))
   (x-session gdm-configuration-x-session

base-commit: 20606ca9af1ac019073f4ed872a9ad9960ff0725
-- 
2.41.0