diff --git a/lib/utils.pm b/lib/utils.pm index 63aec256..d8b25dfe 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -758,9 +758,16 @@ sub handle_welcome_screen { # handle the 'welcome' screen on GNOME and KDE since F38. shared # in a few places if (check_screen "getting_started", 45) { - send_key "alt-f4"; - # for GNOME 40, alt-f4 doesn't work - send_key "esc"; + if (get_var("DESKTOP") eq "kde") { + # just closing it seems to result in it running again on + # next boot, so let's click Skip + click_lastmatch; + } + else { + send_key "alt-f4"; + # for GNOME 40, alt-f4 doesn't work + send_key "esc"; + } wait_still_screen 5; } else { diff --git a/needles/kde/getting_started-kde-20230222.json b/needles/kde/getting_started-kde-20230222.json index 0e59ddaf..34730f89 100644 --- a/needles/kde/getting_started-kde-20230222.json +++ b/needles/kde/getting_started-kde-20230222.json @@ -1,16 +1,23 @@ -{ - "area": [ - { - "height": 32, - "ypos": 376, - "width": 25, - "type": "match", - "xpos": 493 - } - ], - "properties": [], - "tags": [ - "DESKTOP-kde", - "getting_started" - ] +{ + "area": [ + { + "height": 57, + "type": "match", + "width": 30, + "xpos": 493, + "ypos": 361 + }, + { + "height": 16, + "type": "match", + "width": 15, + "xpos": 211, + "ypos": 100 + } + ], + "properties": [], + "tags": [ + "DESKTOP-kde", + "getting_started" + ] } \ No newline at end of file