From 2fb9e7d57646242f2e4797ed7336e79d72a029e8 Mon Sep 17 00:00:00 2001 From: Heikki Halmet Date: Thu, 20 Oct 2022 15:02:22 +0000 Subject: [PATCH] Pre-provisioning RHEL9: Make needed changes for autotest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Disable all notifications * Disable Hot corner and windows key from showing the GNOME Shell Activities overlayfeature. * Switch to use GNOME Classic: Autotest start failing because terminal session remains in Activities Overview when using Standard (wayland display server) Task-number: QTQAINFRA-5111 Change-Id: Id0cd7e53cfad08313b9c0b622f2f9de8240448f3 Reviewed-by: Liang Qi Reviewed-by: Tony Sarajärvi --- .../01-disable-automounting.sh | 0 .../README_MANUAL_INSTALLATIONS | 9 +++++++++ .../qtci-linux-RHEL-9.0-x86_64/01-systemsetup.sh | 7 +++++-- 3 files changed, 14 insertions(+), 2 deletions(-) rename coin/{provisioning => pre-provisioning}/qtci-linux-RHEL-9.0-x86_64/01-disable-automounting.sh (100%) diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-disable-automounting.sh b/coin/pre-provisioning/qtci-linux-RHEL-9.0-x86_64/01-disable-automounting.sh similarity index 100% rename from coin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-disable-automounting.sh rename to coin/pre-provisioning/qtci-linux-RHEL-9.0-x86_64/01-disable-automounting.sh diff --git a/coin/pre-provisioning/qtci-linux-RHEL-9.0-x86_64/README_MANUAL_INSTALLATIONS b/coin/pre-provisioning/qtci-linux-RHEL-9.0-x86_64/README_MANUAL_INSTALLATIONS index d59d8b75..e69c11da 100644 --- a/coin/pre-provisioning/qtci-linux-RHEL-9.0-x86_64/README_MANUAL_INSTALLATIONS +++ b/coin/pre-provisioning/qtci-linux-RHEL-9.0-x86_64/README_MANUAL_INSTALLATIONS @@ -17,6 +17,9 @@ Reboot # Configure Settings Notifications: * Lock Screen Notifications: OFF + * Applications: Set notificantion off + Applications: + * Disable notifications from all applications Privacy: * Blank Screen Delay: Never * Screen Lock: OFF @@ -46,4 +49,10 @@ Download http://coin/coin/binary/linux_amd64/coin-setup # run as qt user run './coin-setup' +# Switch to use GNOME Classic user interface +# GNOME Classic was selected because there's an issue with Starndard (wayland display server). Autotest start failing because terminal session remains in Activities Overview. +# https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3854 +First execute script ./01-disable-automounting.sh (dconf update crash in GNOME Classic) +logout -> Select user (without it the drop down menu won't appear) -> switch to 'GNOME Classic' from drop down menu in login screen + Reboot diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-systemsetup.sh b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-systemsetup.sh index 369ff6e2..0e23bde8 100755 --- a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-systemsetup.sh +++ b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-systemsetup.sh @@ -2,7 +2,7 @@ ############################################################################# ## -## Copyright (C) 2021 The Qt Company Ltd. +## Copyright (C) 2022 The Qt Company Ltd. ## Contact: https://www.qt.io/licensing/ ## ## This file is part of the provisioning scripts of the Qt Toolkit. @@ -58,8 +58,11 @@ sudo timedatectl set-timezone Etc/UTC gsettings set org.gnome.desktop.screensaver lock-enabled false # disable blank screen power saving gsettings set org.gnome.desktop.session idle-delay 0 +# Disable hot corner feature +gsettings set org.gnome.desktop.interface enable-hot-corners false +# Disable windows key from showing the GNOME Shell Activities overlay +gsettings set org.gnome.mutter overlay-key "" # Set Wayland enable as false. echo "Setting Wayland enable as false" sudo sed -i 's/#WaylandEnable=false/WaylandEnable=false/g' /etc/gdm/custom.conf -