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

  1. Cree o perfíl user que contén as seguintes liñas:

    /etc/dconf/profile/user

    user-db:user
    system-db:local

    local é o nome dunha base de datos dconf.

  2. Create the directory /etc/dconf/db/local.d/ if it does not already exist.

  3. 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
  4. 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 300

    You must include the uint32 along with the integer key values as shown.

  5. 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-delay

    If you want to let the user change these settings, skip this step.

  6. Actualizar a base de datos do sistema:

    # dconf update
  7. Os usuarios deben pechar a sesión e iniciala de novo para que a configuración a nivel de sistema se aplique.