From 7c6188c08753adc8138f8c1c19a4544941cc7103 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 25 Feb 2021 10:53:33 -0800 Subject: [PATCH] Workaround KDE bug accessing desktop settings (#1933118) Signed-off-by: Adam Williamson --- lib/utils.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/utils.pm b/lib/utils.pm index 54ca57e9..bbfafa52 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -1367,6 +1367,12 @@ sub solidify_wallpaper { my $desktop = get_var("DESKTOP"); if ($desktop eq "kde") { # Run the Desktop settings + # FIXME workaround a weird bug where alt-d-s does something + # different until you right click on the desktop: + # https://bugzilla.redhat.com/show_bug.cgi?id=1933118 + mouse_set 512, 384; + mouse_click 'right'; + mouse_click 'left'; hold_key 'alt'; send_key 'd'; send_key 's';