mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-22 02:38:31 +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);
|
return if (check_screen "graphical_desktop_clean", 1);
|
||||||
# now do the special GNOME case
|
# now do the special GNOME case
|
||||||
if (get_var("DESKTOP") eq "gnome") {
|
if (get_var("DESKTOP") eq "gnome") {
|
||||||
send_key "alt-f1";
|
send_key "super";
|
||||||
if (check_screen "overview_app_grid", 2) {
|
if (check_screen "overview_app_grid", 2) {
|
||||||
send_key "alt-f1";
|
send_key "super";
|
||||||
wait_still_screen 3;
|
wait_still_screen 3;
|
||||||
# go back to the desktop, if we're still at the app
|
# go back to the desktop, if we're still at the app
|
||||||
# grid (can be a bit fuzzy depending on response lag)
|
# grid (can be a bit fuzzy depending on response lag)
|
||||||
while (check_screen "overview_app_grid", 1) {
|
while (check_screen "overview_app_grid", 1) {
|
||||||
send_key "alt-f1";
|
send_key "super";
|
||||||
wait_still_screen 3;
|
wait_still_screen 3;
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user