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

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

  <remark>Needs better intro</remark>
  <remark>This chapter needs work</remark>

  <highlights>
    <para>This chapter provides the information you need to log in to and shut down GNOME, and to start, manage, and end a desktop session.</para>
  </highlights>

  <sect1 id="gosgetstarted-69">
    <title>Starting a Session</title>
    <indexterm>
      <primary>Sitzungen</primary>
      <secondary>Starten</secondary>
    </indexterm>
    <para>A <firstterm>session</firstterm> is the period of time you spend using GNOME. During a session, you use your applications, print, browse the web, and so on.</para>
    <para>Logging in to GNOME begins your session. The login screen is your gateway to the GNOME Desktop: it is where you enter your username and password and select options such as the language you want GNOME to use for your session.</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="prefs-sessions"/>.</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>Logging in to GNOME</title>
      <indexterm>
        <primary>Sitzungen</primary>
        <secondary>logging in</secondary>
      </indexterm>
      <indexterm>
        <primary>logging in</primary>
        <secondary>to session</secondary>
      </indexterm>
      <indexterm>
        <primary>start session</primary>
      </indexterm>
      <para>To log in to a session, perform the following steps:</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.</para>
        </listitem>
        <listitem>
          <para>Enter your username in the <guilabel>Username</guilabel> field
on the login screen, then press <keycap>Return</keycap>.</para>
        </listitem>
        <listitem>
          <para>Enter your password in the <guilabel>Password</guilabel> field
on the login screen, then press <keycap>Return</keycap>.</para>
        </listitem>
      </orderedlist>
      <para>When you log in successfully, you will see a splash informing you of the steps GNOME is taking to start up. When GNOME is ready, you will see the Desktop and you can begin using your computer.</para>
      <para>The first time you log in, then the session manager starts a new
session. If you have logged in before, then the session manager restores your
previous session, if you saved the settings for the previous session when
you logged out.</para>
      <para>If you want to shut down or restart the system before you log in, click
on the <guilabel>System</guilabel> icon on the login screen. A dialog is displayed.
Select the option that you require, then click <guibutton>OK</guibutton>.</para>
<!--What about failsafe gnome?-->
    </sect2>
    <sect2 id="gosstartsession-86">
      <title>Using a Different Language</title>
      <indexterm>
        <primary>Sitzungen</primary>
        <secondary>different language, logging
in</secondary>
      </indexterm>
      <indexterm>
        <primary>language, logging in in different</primary>
      </indexterm>
      <indexterm>
        <primary>logging in</primary>
        <secondary>to session in different language</secondary>
      </indexterm>
      <para>To log in to
a session in a different language, perform the following actions.</para>
      <orderedlist>
        <listitem>
          <para>On the login screen, click on the <guilabel>Language</guilabel>
icon. Choose the language you require from the list of available languages.</para>
        </listitem>
        <listitem>
          <para>Enter your username in the <guilabel>Username</guilabel> field
on the login screen, then press <keycap>Return</keycap>.</para>
        </listitem>
        <listitem>
          <para>Enter your password in the <guilabel>Password</guilabel> field
on the login screen, then press <keycap>Return</keycap>.</para>
        </listitem>
      </orderedlist>
      <note>
        <para>When you log in to a session in a different language, you choose
the language for the user interface. You do not specify a keyboard layout
for the session. To choose a keyboard layout, use the <ulink type="help" url="ghelp:gswitchit"><application>Keyboard Indicator</application></ulink> applet.</para>
      </note>
    </sect2>
  </sect1>
  <sect1 id="lock-screen">
    <title>Sperren des Bildschirms</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>Lock screen icon.</phrase>
        </textobject>
      </mediaobject>
    </screenshot>
    <indexterm>
      <primary>Sitzungen</primary>
      <secondary>Sperren des Bildschirms</secondary>
    </indexterm>
    <indexterm>
      <primary>Sperren des Bildschirms</primary>
    </indexterm>
    <indexterm>
      <primary>Sperren, Schaltfläche</primary>
    </indexterm>
    <para>Locking your screen allows you to leave your computer unattended and prevent access to your applications and information. While your screen is locked, the <link linkend="prefs-screensaver">screensaver</link> runs.</para>
    
    <para>Zum Sperren des Bildschirms führen Sie eine der folgenden Aktionen aus:</para>
    <itemizedlist>
      <listitem>
        <para>Choose <menuchoice><guimenu>System</guimenu><guimenuitem>Lock Screen</guimenuitem></menuchoice>.</para>
      </listitem>
      <listitem>
        <para>If the <guibutton>Lock Screen</guibutton> button is present on a
panel, click on the <guibutton>Lock Screen</guibutton> button.</para>
        <note><para>The <guibutton>Lock Screen</guibutton> is not present on the panels by default. To add it, see <xref linkend="panels-addobject"/>.</para></note>
      </listitem>
    </itemizedlist>
    <para>To unlock the screen, move your mouse or press any key, enter your password in the locked screen dialog, then press <keycap>Return</keycap>.</para>

    <!--
    <para>If you share your computer with others, the one can switch the user and start a new session; when finish and end his session, you can unlock your screen as above.</para> -->
  
  </sect1>
  <sect1 id="gosstartsession-2">
    <title>Verwalten der Sitzung</title>
    <indexterm>
      <primary>Einstellungstools</primary>
      <secondary>Sitzungen</secondary>
    </indexterm>
    <indexterm>
      <primary>Sitzungen</primary>
      <secondary>Verwalten</secondary>
    </indexterm>
    <para>To configure the session management of the GNOME Desktop,
use the <application>Sessions</application> preference tool. The <application>Sessions</application> preference tool recognizes the following types of application: </para>
    <itemizedlist>
      <listitem>
        <indexterm>
          <primary>Startanwendungen</primary>
          <secondary>Sitzungsverwaltete</secondary>
        </indexterm>
        <para>Von der Sitzung verwaltete Anwendungen. Wenn Sie die Einstellungen für Ihre Sitzung speichern, sichert der Sitzungsmanager alle von der Sitzung verwalteten Anwendungen. Wenn Sie sich ab- und später wieder anmelden, startet der Sitzungsmanager die von der Sitzung verwalteten Anwendungen automatisch.</para>
      </listitem>
      <listitem>
        <para>Nicht von der Sitzung verwaltete Anwendungen. Wenn Sie die Einstellungen für Ihre Sitzung speichern, sichert der Sitzungsmanager Anwendungen, die nicht von der Sitzung verwaltet werden, nicht. Wenn Sie sich ab- und später wieder anmelden, startet der Sitzungsmanager Anwendungen, die nicht von der Sitzung verwaltet werden, nicht. Sie müssen die Anwendung manuell starten. Alternativ können Sie im Einstellungstool <application>Sitzungen</application> die nicht von der Sitzung verwalteten Anwendungen angeben, die automatisch gestartet werden sollen.</para>
      </listitem>
    </itemizedlist>
    <sect2 id="gosstartsession-9">
      <title>Definieren des Sitzungsverhaltens beim An- und Abmelden</title>
      <indexterm>
        <primary>Sitzungen</primary>
        <secondary>Anmeldeverhalten</secondary>
      </indexterm>
      <indexterm>
        <primary>Sitzungen</primary>
        <secondary>Abmeldeverhalten</secondary>
      </indexterm>
      <para>To set how a session behaves when you log in
and log out, use <application>Sessions</application> preference tool. Make
the changes you require in the <guilabel>Session Options</guilabel> tabbed
section. For example, you can select to display a splash screen when you log
in. </para>
    </sect2>
    <sect2 id="gosstartsession-6">
      <title>So verwenden Sie Startanwendungen</title>
      <indexterm>
        <primary>Startprogramme</primary>
        <see>Startanwendungen</see>
      </indexterm>
      <indexterm>
        <primary>Sitzungen</primary>
        <secondary>Verwenden von Startanwendungen</secondary>
      </indexterm>
      <indexterm>
        <primary>Startanwendungen</primary>
        <secondary>Nicht sitzungsverwaltete</secondary>
      </indexterm>
      <para>You
can configure your sessions to start with applications that are not session-managed.
To configure non-session-managed startup applications, use the <application>Sessions</application> preference tool. Use the <guilabel>Startup Programs</guilabel> tabbed section to add, edit, and delete applications. If you save
your settings and log out, the next time that you log in, the startup applications
start automatically. </para>
    </sect2>
    <sect2 id="gosstartsession-10">
      <title>So listen Sie die in der aktuellen Sitzung geöffneten Anwendungen auf</title>
      <indexterm>
        <primary>Sitzungen</primary>
        <secondary>Auflisten der geöffneten Anwendungen</secondary>
      </indexterm>
      <para>To browse the applications in the current session, use the <application>Sessions</application> preference tool. The <guilabel>Current Session</guilabel>
tabbed section lists the following:</para>
      <itemizedlist>
        <listitem>
          <para>Alle momentan ausgeführten GNOME-Anwendungen, die sich mit dem Sitzungsmanager verbinden lassen und ihren Anwendungsstatus speichern können.</para>
        </listitem>
        <listitem>
          <para>All preference tools that can connect to the session manager,
and that can save the state of the tool.</para>
        </listitem>
      </itemizedlist>
      <para>You can use the <guilabel>Current Session</guilabel> tabbed section
to perform a limited number of actions on the session properties of an application
or preference tool. For example, you can edit the startup order, and restart
style of any GNOME application or preference tool that is in the list. </para>
    </sect2>
    <sect2 id="gosgetstarted-74">
      <title>So speichern Sie Sitzungseinstellungen</title>
      <indexterm>
        <primary>Sitzungen</primary>
        <secondary>Speichern von Einstellungen</secondary>
      </indexterm>
      <para>Zum Speichern der Sitzungseinstellungen führen Sie die folgenden Schritte aus:</para>
      <orderedlist>
        <listitem>
          <para>Configure your session to automatically save settings when
you end the session. To configure your session, use the <application>Sessions</application> preference tool. The <application>Sessions</application> preference
tool starts. Select the <guilabel>Automatically save changes to session</guilabel>
option on the <guilabel>Session Options</guilabel> tabbed section.</para>
        </listitem>
        <listitem>
          <para>Beenden Sie die Sitzung.</para>
        </listitem>
      </orderedlist>
    </sect2>
  </sect1>
  <sect1 id="shutdown">
    <title>Beenden einer Sitzung</title>
    <!-- preserve id for backwards compatibility: 2.12 -->
    <anchor id="gosgetstarted-73"/>        
    <indexterm>
      <primary>Sitzungen</primary>
      <secondary>Beenden</secondary>
    </indexterm>
    <indexterm>
      <primary>Sitzungen</primary>
      <secondary>Abmelden</secondary>
    </indexterm>
    <indexterm>
      <primary>Abmelden</primary>
    </indexterm>
    <indexterm>
      <primary>quit</primary>
    </indexterm>
    <indexterm>
      <primary>shutdown</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>When you have finished using your computer, you can choose to do one of the following:</para>
    <itemizedlist>
      <listitem>
        <para>Log out 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>.</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 the state of your computer is preserved: all the applications you have running and open documents.</para>
      </listitem>
    </itemizedlist>    
       
    <para>When you end a session, applications with unsaved work will warn you. You can choose to save your work, or cancel the command to log out or shut down.</para>

    <para>Before you end a session, you might want to save your current
settings so that you can restore the session later. In the <link linkend="prefs-sessions"><application>Sessions</application></link> preference tool, you can select an option to automatically
save your current settings.</para>
  </sect1>
</chapter>
