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).
This commit is contained in:
Adam Williamson 2017-07-10 15:05:36 -07:00
parent 9a7d51f841
commit ad6186daf1
1 changed files with 3 additions and 3 deletions

View File

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