aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning
diff options
context:
space:
mode:
authorHeikki Halmet <heikki.halmet@qt.io>2022-10-20 15:02:22 +0000
committerHeikki Halmet <heikki.halmet@qt.io>2022-11-01 08:32:56 +0000
commit2fb9e7d57646242f2e4797ed7336e79d72a029e8 (patch)
tree846fe7769e929164b1224fa4fe85d88533921d6b /coin/provisioning
parenta4db1a62b859ee194eda6e6c7956bcf795004715 (diff)
Pre-provisioning RHEL9: Make needed changes for autotest
* 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 <liang.qi@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
Diffstat (limited to 'coin/provisioning')
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-disable-automounting.sh51
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-systemsetup.sh7
2 files changed, 5 insertions, 53 deletions
diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-disable-automounting.sh b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-disable-automounting.sh
deleted file mode 100755
index 496aec53..00000000
--- a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-disable-automounting.sh
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-set -ex
-
-sudo tee -a /etc/dconf/db/local.d/00-media-automount <<"EOF"
-[org/gnome/desktop/media-handling]
-automount=false
-automount-open=false
-EOF
-
-sudo dconf update
-
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
-