mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-20 03:46:44 +08:00
Synchronize GNOME based Linux gsettings into a common script
Pick-to: 6.8
Task-number: QTQAINFRA-6967
Change-Id: Ib2f17a49931dc546af82f1e0384814f9f359a3f3
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
(cherry picked from commit 98e55af0f2)
Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
17
coin/provisioning/common/linux/configure-gnome-shell.sh
Executable file
17
coin/provisioning/common/linux/configure-gnome-shell.sh
Executable 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
|
||||
Reference in New Issue
Block a user