<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" style="task" id="desktop-favorite-applications" xml:lang="gl">

  <info>
    <link type="guide" xref="appearance"/>
    <revision pkgversion="3.8" date="2013-04-28" status="draft"/>

    <credit type="author">
      <name>Aruna Sankaranarayanan</name>
      <email>aruna.evam@gmail.com</email>
    </credit>

    <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>

    <desc>Personalice os favoritos predeterminados na vista previa de Actividades.</desc>

  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Fran Diéguez</mal:name>
      <mal:email>frandieguez@gnome.org</mal:email>
      <mal:years>2010-2018</mal:years>
    </mal:credit>
  </info>

  <title>Aplicativos favoritos por omisión</title>

  <p>Favorite applications are those visible on the
  <link href="help:gnome-help/shell-terminology">dash</link>. You can use
  <sys its:translate="no">dconf</sys> 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
  <sys its:translate="no">dconf</sys> profile found in
  <file its:translate="no">/etc/dconf/profile</file>.</p>

<section id="per-user">
  <title>Seleccion aplicativos favoritos diferentes para os distintos usuarios</title>

  <p>You can set the default favorite applications for each user by modifying
  their user database file found in
  <file its:translate="no">~/.config/dconf/user</file>. The following example
  snippet uses <sys its:translate="no">dconf</sys> to set <app>gedit</app>,
  <app>Terminal</app> and <app>Nautilus</app> as default favorites for a user.
  The example code allows users to modify the list later, if they wish to do
  so.</p>

  <!--The code itself need not be translated but the comments withing the
  code have to be translated.-Aruna-->

  <listing>
    <title>Contidos de <file its:translate="no">/etc/dconf/profile</file></title>
      <code>
      #Esta liña permítelle ao usuario cambiar os favoritos por omisión máis tarde.
      user-db:user
      </code>
  </listing>

  <listing>
    <title>Contidos de <file its:translate="no">~/.config/dconf/user</file></title>
      <code>
      #Estabelecer gedit, terminal e nautilus como favoritos por omisión
      [org/gnome/shell]
      favorite-apps = [<input>'gedit.desktop'</input>, <input>'gnome-terminal.desktop'</input>, <input>'nautilus.desktop'</input>]
      </code>
  </listing>

  <note style="tip">
    <p>Tamén pode <link xref="dconf-lockdown">bloquear</link> as preferencias de embaixo para evitar que os usuarios as cambien</p>
  </note>

</section>

<section id="all-users">
  <title>Estabelecer os mesmos aplicativos favoritos para todos os usuarios</title>

  <p>In order to have the same favorites for all users, you must modify system
  database files using <link xref="dconf-keyfiles">dconf keyfiles</link>. The
  following code snippets edit the <sys its:translate="no">dconf</sys> profile
  and then create a keyfile to set default favorite applications for all
  employees in the first floor of an organization.</p>

  <!--The code itself need not be translated but the comments within the
  code have to be translated.-Aruna-->

  <listing>
    <title>Contidos de <file its:translate="no">/etc/dconf/profile</file></title>
      <code>
      user-db:user

      #Esta liña define o ficheiro de base de datos do sistema chamado first_floor
      system-db:first_floor
      </code>
  </listing>

  <note style="info">
    <p>Settings from the <code>user</code> database file
    will take precedence over the settings in the
    <code>first_floor</code> database file, but
    <link xref="dconf-lockdown">locks</link> introduced in the
    <code>first_floor</code> database file will take priority over
    those present in <code>user</code>.</p>
  </note>

  <listing>
    <title>Contidos de <file its:translate="no">/etc/dconf/db/first_floor.d/00_floor1_settings</file></title>
      <code>
      # Snippet sets gedit, terminal and nautilus as default favorites
      # for all users in the first floor

      [org/gnome/shell]
      favorite-apps = [<input>'gedit.desktop'</input>, <input>'gnome-terminal.desktop'</input>, <input>'nautilus.desktop'</input>]
      </code>
  </listing>

    <p>Incorporar os teus cambios nas bases de datos do sistema executando <cmd>dconf update</cmd>.</p>

</section>

</page>
