Files
qt5/coin/provisioning/common/linux/configure-gnome-shell.sh
Tero Heikkinen 98e55af0f2 Synchronize GNOME based Linux gsettings into a common script
Pick-to: 6.9 6.8
Task-number: QTQAINFRA-6967
Change-Id: Ib2f17a49931dc546af82f1e0384814f9f359a3f3
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
2025-02-27 14:34:43 +02:00

18 lines
682 B
Bash
Executable File

#!/usr/bin/env bash
# Copyright (C) 2024 The Qt Company Ltd
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script modifies GNOME based Linux configurations
set -ex
# Desktop
echo "Disable blank screen power saving (timeout 0 = never)"
gsettings set org.gnome.desktop.session idle-delay 0
echo "Disable Automatic screen lock when screensaver goes active"
gsettings set org.gnome.desktop.screensaver lock-enabled false
echo "Disable window animations."
gsettings set org.gnome.desktop.interface enable-animations false
echo "Disable hot corner feature"
gsettings set org.gnome.desktop.interface enable-hot-corners false