Aruna Sankaranarayanan
aruna.evam@gmail.com
Petr Kovar
pknbe@volny.cz 2019

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

Personalice os favoritos predeterminados na vista previa de Actividades.
Fran Diéguez
frandieguez@gnome.org 2010-2025

# Aplicacións favoritas por omisión

Favorite applications are those visible on the GNOME Shell dash. You can use dconf to set favorite applications for one user, or to set the same favorite applications for all users. For both cases, you must first edit the dconf profile found in /etc/dconf/profile/user.

# Seleccione aplicacións favoritas diferentes para os distintos usuarios

You can set the default favorite applications for each user by modifying their user database via gsettings. The following example command sets Text Editor, Terminal and Files (nautilus) as default favorites for a user.

## Contidos de /etc/dconf/profile/user:

# Esta liña permítelle ao usuario cambiar os favoritos por omisión máis tarde. user-db:user

Set Text Editor, Terminal and Files as default favorites:

    #gsettings set org.gnome.shell favorite-apps "['org.gnome.TextEditor.desktop', 'org.gnome.Terminal.desktop', 'org.gnome.Nautilus.desktop']"

Tamén pode bloquear as preferencias de embaixo para evitar que os usuarios as cambien

# Estabelecer as mesmas aplicacións favoritas para todos os usuarios

In order to have the same favorites for all users, you must modify system database files using dconf keyfiles. The following steps edit the dconf profile and then create a keyfile to set default favorite applications for all users in the `local` configuration database.

## Aplicacións favoritas por omisión

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.

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

Create the key file /etc/dconf/db/local.d/00-favorite-apps to provide information for the local database.

## Contidos de /etc/dconf/db/local.d/00-favorite-apps:

# Snippet sets gedit, terminal and nautilus as default favorites for all users [org/gnome/shell] favorite-apps = ['gedit.desktop', 'gnome-terminal.desktop', 'nautilus.desktop']

To prevent the user from overriding these settings, create the file /etc/dconf/db/local.d/locks/favorite-apps with the following content:

## /etc/dconf/db/local.d/locks/favorite-apps

# Bloquear as aplicacións favoritas predeterminadas /org/gnome/shell/favorite-apps

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.