From 822af3d02599fdb94ba456c64d64e518c69ef66f Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 22 Feb 2023 13:57:33 -0800 Subject: [PATCH] graphical_input: try typing 'hotkey' OK, neither 'input' nor 'keyboard' actually gives us the Keyboard pane, they both give results for uninstalled apps from Software :(. 'hotkey' (which is one of the keywords in the .desktop file) does seem to work, for now at least, let's try that. Signed-off-by: Adam Williamson --- tests/_graphical_input.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/_graphical_input.pm b/tests/_graphical_input.pm index febe4ad7..a6b8d006 100644 --- a/tests/_graphical_input.pm +++ b/tests/_graphical_input.pm @@ -12,7 +12,11 @@ sub run { # doesn't do input method selection, and anaconda never has, # we have to set up the input method manually: # https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3749 - menu_launch_type "keyboard"; + # 'hotkey' seems to be the only thing we can type for which + # the 'keyboard' pane is the top result; searching for + # 'keyboard' or 'input' gives us results for uninstalled apps + # from Software + menu_launch_type "hotkey"; unless (check_screen "desktop_add_input_source", 30) { # first attempt to run this often fails for some reason check_desktop;