From ad6186daf1b8a80697984e2978bc8032cb5cc9d6 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 10 Jul 2017 15:05:36 -0700 Subject: [PATCH] Use super not alt-f1 for the 'clean desktop' workaround Using alt-f1 might cause problems if we do it while we're at a TTY (it'll switch to TTY1, which may not be what we want). --- lib/utils.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/utils.pm b/lib/utils.pm index 76a1f9b9..e5d82fe4 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -500,14 +500,14 @@ sub check_desktop_clean { return if (check_screen "graphical_desktop_clean", 1); # now do the special GNOME case if (get_var("DESKTOP") eq "gnome") { - send_key "alt-f1"; + send_key "super"; if (check_screen "overview_app_grid", 2) { - send_key "alt-f1"; + send_key "super"; wait_still_screen 3; # go back to the desktop, if we're still at the app # grid (can be a bit fuzzy depending on response lag) while (check_screen "overview_app_grid", 1) { - send_key "alt-f1"; + send_key "super"; wait_still_screen 3; } return;