<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:if="http://projectmallard.org/if/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" style="task" version="1.0 if/1.0" id="shell-exit" xml:lang="zh-CN">

  <info>
    <link type="guide" xref="shell-overview"/>
    <link type="guide" xref="power"/>
    <link type="guide" xref="index" group="#first"/>

    <revision version="gnome:44" date="2023-12-30" status="review"/>

    <credit type="author">
      <name>Shaun McCance</name>
      <email>shaunm@gnome.org</email>
    </credit>
    <credit type="author">
      <name>Andre Klapper</name>
      <email>ak-47@gmx.net</email>
    </credit>
    <credit type="author">
      <name>Alexandre Franke</name>
      <email>afranke@gnome.org</email>
    </credit>
    <credit type="editor">
      <name>Ekaterina Gerasimova</name>
      <email>kittykat3756@gmail.com</email>
    </credit>
    <credit type="editor">
      <name>David Faour</name>
      <email>dfaour.gnome@gmail.com</email>
    </credit>
    <credit type="editor">
      <name>Michael Hill</name>
      <email>mdhillca@gmail.com</email>
    </credit>

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

    <desc>了解如何退出您的账号，像注销、切换用户等等。</desc>
    <!-- Should this be a guide which links to other topics? -->
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>TeliuTe</mal:name>
      <mal:email>teliute@163.com</mal:email>
      <mal:years>2011, 2012</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>tuberry</mal:name>
      <mal:email>orzun@foxmail.com</mal:email>
      <mal:years>2021</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Victor_Trista</mal:name>
      <mal:email>ljlzjzm@hotmail.com</mal:email>
      <mal:years>2023</mal:years>
    </mal:credit>
  </info>

  <title>注销、关机或切换用户</title>

  <p>当使用完计算机后，您可以将其关闭，挂起（以省电）或保持开机并注销。</p>

<section id="logout">
  <info>
    <link type="seealso" xref="user-add"/>
  </info>

  <title>注销或切换用户</title>

  <if:choose>
    <if:when test="!platform:gnome-classic">
      <media type="image" src="figures/shell-exit-expanded.png" width="250" style="floatend floatright" if:test="!target:mobile">
        <p>用户菜单</p>
      </media>
    </if:when>
    <if:when test="platform:gnome-classic">
      <media type="image" src="figures/shell-exit-classic-expanded.png" width="250" style="floatend floatright" if:test="!target:mobile">
        <p>用户菜单</p>
      </media>
    </if:when>
  </if:choose>

  <p>要使其他用户使用您的计算机，您可以注销或保持自身的登录，仅切换用户即可。如果您仅切换用户，则所有应用程序将继续运行，您再次登录时，一切将保留原样。</p>

  <p>要<gui>注销</gui>或<gui>切换用户</gui>，点击顶栏右侧的<link xref="shell-introduction#systemmenu">系统菜单</link>，点击 <media type="image" its:translate="no" src="figures/system-shutdown-symbolic.svg">
      Shutdown
    </media>，并选择正确的选项。</p>

  <note>
    <p>菜单中的<gui>切换用户</gui>条目只有在您的系统上有多个用户账号时才会显示。</p>
  </note>

</section>

<section id="lock-screen">
  <info>
    <link type="seealso" xref="session-screenlocks"/>
  </info>

  <title>锁定屏幕</title>

  <p>如果要离开电脑一会儿，您应该锁定屏幕，以防止其他人访问您的文件或运行您的应用程序。当返回时，您会看到<link xref="shell-lockscreen">锁屏界面</link>。输入密码即可重新登录。如果您不锁定屏幕，在一定时间后它会自动锁定。</p>

  <p>要锁定屏幕，请点击顶栏右侧的系统菜单，并从菜单中选择 <media type="image" its:translate="no" src="figures/system-lock-screen-symbolic.svg">
      Lock
    </media> 。</p>

  <p>当您的屏幕被锁定时，其他用户可以通过点击登录界面右下方的<gui>以另一个用户身份登录</gui>来登录自己的账号。当他们完成登录后，您可以切换回您的桌面。</p>

</section>

<section id="suspend">
  <info>
    <link type="seealso" xref="power-suspend"/>
  </info>

  <title>挂起</title>

  <p>为了省电，请在不使用电脑时将其挂起。如果您使用的是笔记本电脑，默认情况下，系统会在您合上盖子时自动挂起电脑。这会将当前系统状态保存到电脑的内存中，并关闭电脑的大部分功能。在挂起期间，仍然会使用极少的电量。</p>

  <p>要手动挂起计算机，请点击顶栏右侧的系统菜单，点击 <media type="image" its:translate="no" src="figures/system-shutdown-symbolic.svg">
      Shutdown
    </media>，然后选择<gui>挂起</gui>。</p>

</section>

<section id="shutdown">
<!--<info>
  <link type="seealso" xref="power-off"/>
</info>-->

  <title>关机或重启</title>

  <p>如果您想完全关闭或重启计算机，请点击顶栏右侧的系统菜单，点击 <media type="image" its:translate="no" src="figures/system-shutdown-symbolic.svg">
      Shutdown
    </media>，然后选择<gui>重启…</gui>或<gui>关机…</gui>。</p>

  <p>如果有其他用户登录，您可能不被允许关闭或重启计算机，因为这将结束他们的会话。如果您是管理员用户，可能会被要求提供您的密码才能关机。</p>

  <note style="tip">
    <p>如果您希望移动计算机并且没有电池，如果电池电量不足或不能很好地保持电量，则可能需要关闭计算机电源。关闭电源的计算机也比挂起的计算机<link xref="power-batterylife">更节能</link>。</p>
  </note>

</section>

</page>
