Chapter 17. Customizing default favorite applications

You can customize frequently used applications as your favorite applications. You can see these favorite applications on the GNOME Shell dash in the Activities overview. You can use dconf to set the favorite applications for an individual user or for all users.

17.1. Setting different favorite applications for individual users

You can set the default favorite applications for individual users.

Procedure

  1. Open the Activities overview by clicking Activities at the top left of the screen.
  2. Add applications into your favorite list using any of the following methods:

    • Click the grid button to find the application you want, right-click the application icon, and select Add to Favorites.
    • Click-and-drag the icon into the dash.
  3. View all the applications that exists in the favorite list:

    $ dconf read /org/gnome/shell/favorite-apps
Note

If you want to lock down the above settings to prevent users from changing them, see Chapter 19, Locking down selected tasks.

17.2. Setting the same favorite applications for all users

You can modify system database files using dconf keyfiles to set the same favorites for all users. 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.

Procedure

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

    # Snippet sets gedit, terminal and nautilus as default favorites for all users
    [org/gnome/shell]
    favorite-apps = ['gedit.desktop', 'gnome-terminal.desktop', 'nautilus.desktop']
  2. To prevent users from overriding these settings, create the file /etc/dconf/db/local.d/locks/favorite-apps with the following content:

    # Lock default favorite applications
    /org/gnome/shell/favorite-apps
  3. Run the dconf update command to incorporate your changes into the system databases.
  4. Logout and login again for system-wide changes to take effect.