From bc1201e3aa04c8b1bdafcf9591d6d0836b5ceac6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Lima?= Date: Thu, 30 Apr 2026 03:42:06 +0100 Subject: [PATCH] nixos/tests/virtualbox: fix simple-gui test --- nixos/tests/virtualbox.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/tests/virtualbox.nix b/nixos/tests/virtualbox.nix index 8480693d63b2..cc0c7e7ff4c1 100644 --- a/nixos/tests/virtualbox.nix +++ b/nixos/tests/virtualbox.nix @@ -505,12 +505,12 @@ mapAttrs (mkVBoxTest { } vboxVMs) { simple-gui = '' # Home to select Tools, down to move to the VM, enter to start it. def send_vm_startup(): - machine.send_key("home") - machine.send_key("down") + machine.send_key("ctrl-m") machine.send_key("ret") create_vm_simple() + machine.succeed(ru("VBoxManage setextradata global \"GUI/Input/SelectorShortcuts\" \"ToolsGlobalMachineManager=Ctrl+M\"")) machine.succeed(ru("VirtualBox >&2 &")) machine.wait_until_succeeds(ru("xprop -name 'Oracle VirtualBox Manager'")) machine.sleep(5)