<?xml version="1.0" encoding="utf-8"?>
<chapter id="sessions">
  <title>Mahaigaineko saioak</title>

  <!-- Maintained for 2.8 compatibility -->
  <anchor id="gosgetstarted-1"/>

  <remark>Sarrera hobea behar du</remark>
  <remark>Kapitulu hau gehiago landu behar da</remark>

  <highlights>
    <para>Kapitulu honek GNOMEn sartzeko eta bertatik irteteko beharrezko informazioa ematen du, eta mahaigaineko saioa hasteko, kudeatzeko eta amaitzeko.</para>
  </highlights>

  <sect1 id="gosgetstarted-69">
    <title>Saio bat hastea</title>
    <indexterm>
      <primary>saioak</primary>
      <secondary>hasten</secondary>
    </indexterm>
    <para>A <firstterm>session</firstterm> is the period of time you spend using GNOME, between logging in and logging out. During a session, you use your applications, print, browse the web, and so on.</para>
    <para>GNOMEn saioa hastean hasten da zure saioa. Saioa hasteko pantaila GNOME mahaigainerako atebidea da zuretzat: bertan sartuko dituzu erabiltzaile-izena eta pasahitza, eta hainbat aukera egingo dituzu (GNOMEk zure saioetan erabiliko duen hizkuntza, esate baterako).</para>
    <tip><para>
    Normally, logging out ends the session, but you can choose to save the state of your session and restore it next time you use GNOME: see <xref linkend="gosstartsession-2"/>.</para></tip>
    
    <!--
    2.14 has moved all this out of the standard dialogs.
    
    The session manager saves and restores the following: 
    <itemizedlist>
      <listitem>
        <para>The appearance and behavior settings, for example fonts, colors,
and mouse settings. </para>
      </listitem>
      <listitem>
        <para>The applications that you were running, for example file manager
and text editor windows. You cannot save and restore applications that the
session manager does not manage. For example, if you start the <application>vi</application> editor from the command line in a terminal window, session
manager cannot restore your editing session. </para>
      </listitem>
    </itemizedlist>
    -->
    
    
    <sect2 id="gosstartsession-85">
      <title>GNOMEren saioa hastea</title>
      <indexterm>
        <primary>saioak</primary>
        <secondary>sartzen</secondary>
      </indexterm>
      <indexterm>
        <primary>sartzen</primary>
        <secondary>saioan</secondary>
      </indexterm>
      <indexterm>
        <primary>hasi saioa</primary>
      </indexterm>
      <para>Saio bat hasteko, jarraitu urrats hauei:</para>
      <orderedlist>
        <listitem>
          <para>On the login screen, click on the <guilabel>Session</guilabel>
icon. Choose the GNOME Desktop from the list of available desktop environments. 
Most users will not need to perform this step, as GNOME is usually the default 
desktop environment already.</para>
        </listitem>
        <listitem>
          <para>Sartu erabiltzaile-izena saio-hasieraren pantailako <guilabel>Erabiltzaile-izena</guilabel> eremuan, eta sakatu <keycap>Sartu</keycap>.</para>
        </listitem>
        <listitem>
          <para>Sartu pasahitza saio-hasieraren pantailako <guilabel>Pasahitza</guilabel> eremuan, eta sakatu <keycap>Sartu</keycap>.</para>
        </listitem>
      </orderedlist>
      <para>When you log in successfully, GNOME will take a short amount of time to start up. When it is ready, you will see the Desktop and you can begin using your computer.</para>
      <para>The first time you log in, the session manager starts a new
session. If you have logged in before and saved the settings for the previous 
session when you logged out, then the session manager restores your
previous session.</para>
      <para>Saioa hasi aurretik sistema itzali edo berrabiarazi nahi baduzu, egin klik saio-hasieraren pantailako <guilabel>Sistema</guilabel> ikonoan. Elkarrizketa-koadro bat bistaratuko da. Hautatu behar duzun aukera, eta egin klik <guibutton>Ados</guibutton> botoian.</para>
      <para>Your system distributor or vendor may have altered the login screen 
      so that it no longer has a <guilabel>System</guilabel> icon. In this case, 
      the option to shut down the computer may be found by clicking the 
      <guilabel>Other</guilabel> icon, or by clicking a separate 
      <guibutton>Shut Down</guibutton> button.</para>
<!--What about failsafe gnome?-->
    </sect2>
    <sect2 id="gosstartsession-86">
      <title>Beste hizkuntza bat erabiltzea</title>
      <indexterm>
        <primary>saioak</primary>
        <secondary>beste hizkuntza batean saioa hastea</secondary>
      </indexterm>
      <indexterm>
        <primary>hizkuntza, beste batean saioa hastea</primary>
      </indexterm>
      <indexterm>
        <primary>sartzen</primary>
        <secondary>saioa hastea beste hizkuntza batean</secondary>
      </indexterm>
      <para>Saioa beste hizkuntza batean hasteko, jarraitu urrats hauei.</para>
      <orderedlist>
        <listitem>
          <para>Saioa hasteko pantailan, egin klik <guilabel>Hizkuntza</guilabel> ikonoan. Aukeratu nahi duzun hizkuntza, hizkuntza erabilgarrien zerrendan.</para>
        </listitem>
        <listitem>
          <para>Sartu erabiltzaile-izena saio-hasieraren pantailako <guilabel>Erabiltzaile-izena</guilabel> eremuan, eta sakatu <keycap>Sartu</keycap>.</para>
        </listitem>
        <listitem>
          <para>Sartu pasahitza saio-hasieraren pantailako <guilabel>Pasahitza</guilabel> eremuan, eta sakatu <keycap>Sartu</keycap>.</para>
        </listitem>
      </orderedlist>
      <note>
        <para>When you log in to a session in a different language, you are changing 
the language for the user interface but are not changing the keyboard layout. 
To choose a different keyboard layout, use the 
<ulink type="help" url="ghelp:gswitchit"><application>Keyboard Indicator</application></ulink> applet.</para>
      </note>
      <tip>
        <para>Your system distributor or vendor may have altered the login 
        screen so that it no longer has a <guilabel>Language</guilabel> icon. 
        In this case, the option to change the session's language may be found by clicking the <guilabel>Other</guilabel> icon.</para>
      </tip>
    </sect2>
  </sect1>
  <sect1 id="lock-screen">
    <title>Pantaila blokeatzea</title>
    <!-- preserve id for backwards compatibility: 2.12 -->
    <anchor id="gosstartsession-1"/>        
    <screenshot>
      <mediaobject>
        <imageobject>
          <imagedata fileref="figures/lockscreen_icon.png" format="PNG"/>
        </imageobject>
        <textobject>
          <phrase>Pantaila blokeatzeko ikonoa.</phrase>
        </textobject>
      </mediaobject>
    </screenshot>
    <indexterm>
      <primary>saioak</primary>
      <secondary>blokeatu pantaila</secondary>
    </indexterm>
    <indexterm>
      <primary>blokeatu pantaila</primary>
    </indexterm>
    <indexterm>
      <primary>Blokeatzeko botoia</primary>
    </indexterm>
    <para>Locking your screen prevents access to your applications and information, allowing you to leave your computer unattended. While your screen is locked, the <link linkend="prefs-screensaver">screensaver</link> runs.</para>
    
    <para>Pantaila blokeatzeko, jarraitu urrats hauei:</para>
    <itemizedlist>
      <listitem>
        <para>Hautatu <menuchoice><guimenu>Sistema</guimenu><guimenuitem>Blokeatu pantaila</guimenuitem></menuchoice>.</para>
      </listitem>
      <listitem>
        <para><guibutton>Blokeatu pantaila</guibutton> botoia panel batean azaltzen bada, egin klik <guibutton>Blokeatu pantaila</guibutton> botoian.</para>
        <note><para>The <guibutton>Lock Screen</guibutton> button is not present on the panels by default. To add it, see <xref linkend="panels-addobject"/>.</para></note>
      </listitem>
    </itemizedlist>
    <para>Pantaila desblokeatzeko, mugitu sagua edo sakatu teklaren bat, sartu pasahitza blokeatutako pantailaren elkarrizketan, eta sakatu <keycap>Sartu</keycap>.</para>
    <para>If another user wants to use the computer while it is locked, they can move the mouse or press a key and then click <guibutton>Switch User</guibutton>. The login screen will be displayed and they can log in using their user account. They will not be able to access any of your applications or information. When they log out, the screen will be locked again and you can access your session by unlocking the screen.</para>
  <para>You can leave a message for a user who has locked their screen. Move the mouse or press any key and then click <guibutton>Leave Message</guibutton>. Type your message into the box and press <guibutton>Save</guibutton>. Your message will be displayed when the user unlocks their screen.</para>
  </sect1>

  <sect1 id="gosstartsession-2">
    <title>Setting Programs to Start Automatically When You Log In</title>
    <indexterm>
      <primary>hobespen-tresnak</primary>
      <secondary>Saioak</secondary>
    </indexterm>
    <indexterm>
      <primary>saioak</primary>
      <secondary>startup</secondary>
    </indexterm>
  <para>You can choose for certain programs to be started automatically when 
  you log in to a session. For example, you might want a web browser to be started 
  as soon as you log in. Programs which start automatically when you log in are 
  called <firstterm>startup programs</firstterm>. Startup programs are 
  automatically saved and safely closed by the session manager when you log 
  out, and are restarted when you log in.</para>
  <para>The <application>Sessions</application> preference tool allows you to 
  define which programs are started automatically when you log in. It has two 
  tabs, the <guilabel>Startup Programs</guilabel> tab and the 
  <guilabel>Options</guilabel> tab.</para>

    <sect2 id="gosstartsession-21">
      <title>Startup Programs Tab</title>
        <!-- Preserve IDs for backwards compatibility -->
        <anchor id="gosstartsession-6"/>
        <anchor id="gosstartsession-10"/>
      <para>You can use the Startup Programs tab to add, modify, and 
      remove startup programs.</para>
      <para>A list of startup programs is displayed on this tab. The list shows 
      a short description of each program, along with a checkbox which denotes 
      whether the startup program is enabled or not. Programs which are not 
      enabled will not be started automatically when you log in.</para>

      <sect3 id="gosstartsession-211">
       <title>Enabling/Disabling Startup Programs</title>
       <para>To enable a program to start up automatically, check the checkbox 
       corresponding to that program.</para>
       <para>To disable a program from starting automatically, uncheck the 
       checkbox.</para>
      </sect3>
      <sect3 id="gosstartsession-212">
       <title>Adding A New Startup Program</title>
       <para>To add a new startup program, perform the following steps:</para>
       <procedure>
        <step>
         <para>Click <guibutton>Add</guibutton>. This will open the 
         <application>Add Startup Program</application> dialog box.</para>
        </step>
        <step>
         <para>Use the <guilabel>Name</guilabel> text box to specify a name for 
         the new startup program.</para>
        </step>
        <step>
         <para>Use the <guilabel>Command</guilabel> text box to specify the 
         command which will invoke the application. For example, the command 
         <userinput>gedit</userinput> will start the <application>Gedit Text 
         Editor</application>. If you do not know the exact command, click 
         <guibutton>Browse</guibutton> to choose the path of the command.</para>
        </step>
        <step>
         <para>Enter a description of the application in the 
         <guilabel>Comments</guilabel> text box. You will see this as the 
         description of the program in the list of startup programs.</para>
        </step>
        <step>
         <para>Click <guibutton>Add</guibutton>. The application will be added 
         to the list of startup programs with its checkbox in the checked 
         (enabled) state.</para>
        </step>
       </procedure>
      </sect3>
      <sect3 id="gosstartsession-213">
       <title>Removing A Startup Program</title>
       <para>To remove a startup program, select it from the list of startup 
       programs and click <guibutton>Remove</guibutton>.</para>
      </sect3>
      <sect3 id="gosstartsession-214">
       <title>Editing A Startup Program</title>
       <para>To edit an existing startup program, select it from the list of 
       startup programs and click <guibutton>Edit</guibutton>. A dialog will 
       appear which allows you to edit the properties of the program. See 
       <xref linkend="gosstartsession-212"/> for more information on the 
       options available in this dialog.</para>
      </sect3>
    </sect2>
    
    <sect2 id="gosstartsession-22">
      <title>Session Options Tab</title>
        <!-- Preserve IDs for backwards compatibility -->
        <anchor id="gosstartsession-9"/>
        <anchor id="gosgetstarted-74"/>
      <para>The session manager can remember which applications you have 
      running when you log out and can automatically restart them when you log 
      in again. If you would like this to happen every time you log out, check 
      <guilabel>Automatically remember running applications when 
      logging out</guilabel>. If you would like this to happen only once, click 
      <guibutton>Remember Currently Running Application</guibutton> before 
      logging out.</para>
    </sect2>
  </sect1>
  
  <sect1 id="shutdown">
    <title>Saioa amaitzea</title>
    <!-- preserve id for backwards compatibility: 2.12 -->
    <anchor id="gosgetstarted-73"/>        
    <indexterm>
      <primary>saioak</primary>
      <secondary>amaitzea</secondary>
    </indexterm>
    <indexterm>
      <primary>saioak</primary>
      <secondary>saioa amaitzea</secondary>
    </indexterm>
    <indexterm>
      <primary>saioa amaitzea</primary>
    </indexterm>
    <indexterm>
      <primary>irten</primary>
    </indexterm>
    <indexterm>
      <primary>itzaltzea</primary>
    </indexterm>  
    <!--  
    commenting this out for now. A shot of the shutdown button would be good too.
    <screenshot>
      <mediaobject>
        <imageobject>
          <imagedata fileref="figures/logout_icon.png" format="PNG"/>
        </imageobject>
        <textobject>
          <phrase>Log Out icon.</phrase>
        </textobject>
      </mediaobject>
    </screenshot>
    -->
    <para>Behin ordenagailua erabiltzen amaituta, ondokoetako bat egitea aukera dezakezu:</para>
    <itemizedlist>
      <listitem>
        <para>Log out, leaving the computer ready for another user to begin working with it. To log out of GNOME, choose <menuchoice><guimenu>System</guimenu><guimenuitem>Log Out <replaceable>username</replaceable></guimenuitem></menuchoice> .</para>
      </listitem>
      <listitem>
        <para>Shut down your computer and switch off the power. To shut down, choose <menuchoice><guimenu>System</guimenu><guimenuitem>Shut Down</guimenuitem></menuchoice> and click <guibutton>Shut Down</guibutton> on the dialog that appears.</para>
      </listitem>
      <listitem>
        <para>Depending on your computer's configuration, you can also <firstterm>Hibernate</firstterm> your computer. During hibernation, less power is used, but all of the applications and documents that you have open are preserved and will still be open when you resume from hibernation. You can resume from hibernation by moving your mouse or pressing a key.</para>
      </listitem>
    </itemizedlist>
    
    <note>
        <para>Some vendors and distributors allow you to hibernate your computer in two ways, often called Hibernate and <firstterm>Suspend</firstterm>. Both of these will preserve your open files and applications, but one will switch off the power to your computer while the other will leave the computer running in a state that uses less power.</para>
    </note>
       
    <para>Saio bat amaitzean, gorde gabeko lana duten aplikazioek abisatuko dizute. Aukeratu ahal izango duzu lana gordetzea, saioa amaitzeko komandoa uztea edo itzaltzea.</para>

    <para>Saioa amaitu aurretik, uneko ezarpenak gorde nahiko dituzu agian, geroago saioa leheneratzeko asmoz. <link linkend="prefs-sessions"><application>Saioak</application></link> hobespen-tresnan, uneko ezarpenak automatikoki gordetzeko aukera hauta dezakezu.</para>
  </sect1>
</chapter>
