Try clicking Skip on the KDE welcome tour thing

It seems like just closing it results in it showing up again on
the next boot...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2023-02-21 19:57:19 -08:00
parent a99178732a
commit 4254906308
2 changed files with 32 additions and 18 deletions

View File

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

View File

@ -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"
]
}