1 import ./make-test-python.nix (
12 ./common/user-account.nix
15 test-support.displayManager.auto.user = "alice";
20 naturalScrolling = true;
22 middleEmulation = false;
23 horizontalScrolling = false;
29 def expect_xserver_option(option, value):
30 machine.succeed(f"""cat /var/log/X.0.log | grep -F 'Option "{option}" "{value}"'""")
34 machine.succeed("""cat /var/log/X.0.log | grep -F "Using input driver 'libinput'" """)
35 expect_xserver_option("NaturalScrolling", "on")
36 expect_xserver_option("LeftHanded", "on")
37 expect_xserver_option("MiddleEmulation", "off")
38 expect_xserver_option("HorizontalScrolling", "off")