mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-19 11:41:26 +00:00
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:
parent
9a7d51f841
commit
ad6186daf1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user