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.master
parent
83c9e00ffb
commit
1bea5d38a2
|
@ -34,6 +34,7 @@
|
||||||
#:use-module (gnu services xorg)
|
#:use-module (gnu services xorg)
|
||||||
#:use-module (gnu system)
|
#:use-module (gnu system)
|
||||||
#:use-module (gnu system file-systems)
|
#:use-module (gnu system file-systems)
|
||||||
|
#:use-module (gnu system keyboard)
|
||||||
#:use-module (gnu system shadow)
|
#:use-module (gnu system shadow)
|
||||||
#:use-module (gnu system vm)
|
#:use-module (gnu system vm)
|
||||||
#:use-module (gnu tests)
|
#:use-module (gnu tests)
|
||||||
|
@ -56,7 +57,11 @@
|
||||||
(inherit %simple-os)
|
(inherit %simple-os)
|
||||||
(packages (cons* ocrad ratpoison xterm %base-packages))
|
(packages (cons* ocrad ratpoison xterm %base-packages))
|
||||||
(services
|
(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
|
(lightdm-configuration
|
||||||
(allow-empty-passwords? #t)
|
(allow-empty-passwords? #t)
|
||||||
(debug? #t)
|
(debug? #t)
|
||||||
|
|
Reference in New Issue