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 <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2023-02-22 13:57:33 -08:00
parent b1dfcfdd3d
commit 822af3d025
1 changed files with 5 additions and 1 deletions

View File

@ -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;