Atenuar a pantalla cando o usuario está inactivo
You can make the computer screen dim after the computer has been idle (not used) for some period of time.
Escurecer pantalla cando o ordenador está inactivo
-
Cree o perfíl user que contén as seguintes liñas:
/etc/dconf/profile/user
user-db:user system-db:locallocal é o nome dunha base de datos dconf.
Create the directory /etc/dconf/db/local.d/ if it does not already exist.
-
Create the key file /etc/dconf/db/local.d/00-power to provide information for the local database.
/etc/dconf/db/local.d/00-power
# Specify the dconf path [org/gnome/settings-daemon/plugins/power] # Enable screen dimming idle-dim=true # Set brightness after dimming idle-brightness=30 -
Create the key file /etc/dconf/db/local.d/00-session to provide information for the local database.
/etc/dconf/db/local.d/00-session
# Specify the dconf path [org/gnome/desktop/session] # The number of seconds of inactivity before the session is considered idle idle-delay=uint32 300You must include the uint32 along with the integer key values as shown.
-
To prevent the user from overriding these settings, create the file /etc/dconf/db/local.d/locks/power-saving with the following content:
/etc/dconf/db/local.d/locks/power-saving
# Lock screen dimming and idle timeout /org/gnome/settings-daemon/plugins/power/idle-dim /org/gnome/settings-daemon/plugins/power/idle-brightness /org/gnome/desktop/session/idle-delayIf you want to let the user change these settings, skip this step.
-
Actualizar a base de datos do sistema:
# dconf update Os usuarios deben pechar a sesión e iniciala de novo para que a configuración a nivel de sistema se aplique.