Workaround KDE bug accessing desktop settings (#1933118)

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2021-02-25 10:53:33 -08:00
parent 6658740b2a
commit 7c6188c087

View File

@ -1367,6 +1367,12 @@ sub solidify_wallpaper {
my $desktop = get_var("DESKTOP"); my $desktop = get_var("DESKTOP");
if ($desktop eq "kde") { if ($desktop eq "kde") {
# Run the Desktop settings # 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'; hold_key 'alt';
send_key 'd'; send_key 'd';
send_key 's'; send_key 's';