diff --git a/lib/utils.pm b/lib/utils.pm index c2491112..5f93d699 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -1289,10 +1289,13 @@ sub solidify_wallpaper { my $desktop = get_var("DESKTOP"); if ($desktop eq "kde") { # Run the Desktop settings - hold_key 'alt'; - send_key 'd'; - send_key 's'; - release_key 'alt'; + # Set the mouse cursor somewhere in the middle of the screen. + mouse_set(512,384); + # Right click to get the desktop menu + mouse_click('right'); + # Select the Desktop configuration + assert_and_click "kde_configure_desktop"; + wait_still_screen 2; # Select type of background assert_and_click "deskset_select_type"; wait_still_screen 2; diff --git a/needles/kde/kde_configure_desktop.json b/needles/kde/kde_configure_desktop.json new file mode 100644 index 00000000..390a2ea3 --- /dev/null +++ b/needles/kde/kde_configure_desktop.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "kde_configure_desktop" + ], + "area": [ + { + "xpos": 485, + "ypos": 397, + "width": 137, + "height": 18, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/kde/kde_configure_desktop.png b/needles/kde/kde_configure_desktop.png new file mode 100644 index 00000000..243172be Binary files /dev/null and b/needles/kde/kde_configure_desktop.png differ