Estabelecer un fondo de pantalla personalizado

You can change the default desktop background to one that you want to use. For example, you may want to use a background with your company or university logo instead of the default GNOME background.

Estabelecer o fondo de escritorio por omisión

  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. Crear o ficheiro de chaves /etc/dconf/db/local.d/00-background para fornecer a información para a base de datos local.

    /etc/dconf/db/local.d/00-background

    # Specify the dconf path
    [org/gnome/desktop/background]
    
    # Specify the path to the desktop background image file
    picture-uri='file:///usr/local/share/backgrounds/wallpaper.jpg'
    
    # Specify one of the rendering options for the background image:
    picture-options='scaled'
    
    # Specify the left or top color when drawing gradients, or the solid color
    primary-color='000000'
    
    # Specify the right or bottom color when drawing gradients
    secondary-color='FFFFFF'
  4. To prevent the user from overriding these settings, create the file /etc/dconf/db/local.d/locks/background with the following content:

    /etc/dconf/db/local.d/locks/background

    # Bloquear as preferencias do fondo de escritorio
    /org/gnome/desktop/background/picture-uri
    /org/gnome/desktop/background/picture-options
    /org/gnome/desktop/background/primary-color
    /org/gnome/desktop/background/secondary-color
  5. Actualizar a base de datos do sistema:

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