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>
This commit is contained in:
Tero Heikkinen
2025-01-24 13:40:24 +02:00
parent a4110ed94f
commit 98e55af0f2
23 changed files with 86 additions and 131 deletions

View File

@@ -0,0 +1,17 @@
#!/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