guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: tests: lightdm: Use set-xorg-configuration to set


From: guix-commits
Subject: branch master updated: tests: lightdm: Use set-xorg-configuration to set keyboard layout.
Date: Thu, 17 Nov 2022 20:24:08 -0500

This is an automated email from the git hooks/post-receive script.

apteryx pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 1bea5d38a2 tests: lightdm: Use set-xorg-configuration to set keyboard 
layout.
1bea5d38a2 is described below

commit 1bea5d38a26755b84437623c0f48915a77899b57
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Nov 17 17:14:13 2022 -0500

    tests: lightdm: Use set-xorg-configuration to set keyboard layout.
    
    This is to validate that it works, when the login manager service type is
    properly specified.
    
    * gnu/tests/lightdm.scm (%lightdm-os): Use set-xorg-configuration.
---
 gnu/tests/lightdm.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/tests/lightdm.scm b/gnu/tests/lightdm.scm
index 431b388e7e..57d029a75a 100644
--- a/gnu/tests/lightdm.scm
+++ b/gnu/tests/lightdm.scm
@@ -34,6 +34,7 @@
   #:use-module (gnu services xorg)
   #:use-module (gnu system)
   #:use-module (gnu system file-systems)
+  #:use-module (gnu system keyboard)
   #:use-module (gnu system shadow)
   #:use-module (gnu system vm)
   #:use-module (gnu tests)
@@ -56,7 +57,11 @@
     (inherit %simple-os)
     (packages (cons* ocrad ratpoison xterm %base-packages))
     (services
-     (cons* (service lightdm-service-type
+     (cons* (set-xorg-configuration (xorg-configuration
+                                     (keyboard-layout (keyboard-layout "us")))
+                                    lightdm-service-type)
+
+            (service lightdm-service-type
                      (lightdm-configuration
                       (allow-empty-passwords? #t)
                       (debug? #t)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]