<?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="lockdown-command-line" lang="eu">

  <info>
    <link type="guide" xref="software#management"/>
    <link type="guide" xref="user-settings#lockdown"/>
    <revision pkgversion="3.30" date="2019-02-08" status="review"/>

    <credit type="author copyright">
      <name>Petr Kovar</name>
      <email>pknbe@volny.cz</email>
      <years>2014</years>
    </credit>
    <credit type="author copyright">
      <name>Ekaterina Gerasimova</name>
      <email>kittykat3756@gmail.com</email>
      <years>2014</years>
    </credit>
    <credit type="author copyright">
      <name>Jana Svarova</name>
      <email>jana.svarova@gmail.com</email>
      <years>2015</years>
    </credit>

    <license xmlns="http://projectmallard.org/1.0/" href="https://creativecommons.org/licenses/by-sa/3.0/">
  <p>This work is licensed under a <link href="https://creativecommons.org/licenses/by-sa/3.0/">Creative
  Commons Attribution-ShareAlike 3.0 Unported License</link>.</p>
</license>

    <desc>Eragotzi erabiltzaileek komando-lerroa erabili dezaten.</desc>
  </info>

  <title>Desgaitu komando-lerroaren bidezko sarbidea</title>

  <p>Zure mahaigaineko erabiltzailea komando-lerrora sartzea desgaitzeko, konfigurazio-aldaketak leku desberdinetan egin behar dira. Kontuan izan hurrengo urratsek ez dituztela mahaiganeko erabiltzaileak komando-lerrora sartzeko dituen baimenak kentzen, baizik eta komando-lerrora sartzeko dituen *bideak* kentzen dituela.</p>

  <list>
    <item>
      <p>Set the <code>org.gnome.desktop.lockdown.disable-command-line</code>
      GSettings key, which prevents the user from accessing the terminal or
      specifying a command line to be executed (the <keyseq><key>Alt</key>
      <key>F2</key></keyseq> command prompt).</p>
    </item>
    <item>
      <p>Eragotzi erabiltzaileek <keyseq><key>Alt</key><key>F2</key> </keyseq> komando-gonbita atzitu dezaten.</p>
    </item>
    <item>
      <p>Disable switching to virtual terminals (VTs) with the <keyseq>
      <key>Ctrl</key><key>Alt</key><key><var>function key</var></key></keyseq>
      shortcuts by modifying the X server configuration.</p>
    </item>
    <item>
      <p>Kendu <app>Terminala</app> eta beste antzeko aplikazioak GNOME Shell.-en <gui>Jarduerak</gui> ikuspegitik. Erabiltzaileak terminaleko aplikazio gehiago instalatu ditzan ere eragotzi beharko duzu.</p>
    </item>
  </list>

<section id="command-prompt">
  <title>Desgaitu komando-gonbita</title>

  <steps>
    <item xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" xml:id="dconf-profile-user">
    <p>Sortu <file its:translate="no">user</file> profila honako lerroekin:</p>
    <listing its:translate="no">
      <title><file>/etc/dconf/profile/user</file></title>
      <code>user-db:user
system-db:local</code>
    </listing>
    <p><input its:translate="no">local</input> izena <sys its:translate="no" xref="dconf">dconf</sys> datu-basearen izena da.</p>
  </item>
    <item>
      <p>Sortu makina osorako diren ezarpenak gordetzeko <sys>local</sys> datu-base bat <file>/etc/dconf/db/local.d/00-lockdown</file> fitxategian:</p>
      <code># Zehaztu dconf bide-izena
[org/gnome/desktop/lockdown]

# Desgaitu komando-gonbita
disable-command-line=true</code>
    </item>
    <item>
      <p>Indargabetu erabiltzaile-ezarpena eta eragotzi erabiltzaileak <file>/etc/dconf/db/local.d/locks/lockdown</file> gunean aldatu dezan:</p>
      <code># Zerrendatu blokeoa konfiguratzeko erabilitako gakoak
/org/gnome/desktop/lockdown/disable-command-line</code>
    </item>
    <item xmlns="http://projectmallard.org/1.0/" xml:id="dconf-update">
    <p>Eguneratu sistemaren datu-baseak:</p>
    <screen><output style="prompt"># </output><input>dconf update</input></screen>
  </item>
    <item xmlns="http://projectmallard.org/1.0/" xml:id="dconf-logoutin">
    <p>Erabiltzaileek saioa amaitu eta berriro hasi behar dute sistema-ezarpenak indarrean sartzeko.</p>
  </item>
  </steps>
</section>

<section id="virtual-terminal">
  <title>Desgaitu terminal birtual batera joatea</title>

  <p>Users can normally use the
  <keyseq><key>Ctrl</key><key>Alt</key><key><var>function
  key</var></key></keyseq> shortcuts (for example,
  <keyseq><key>Ctrl</key><key>Alt</key><key>F2</key></keyseq>) to switch from
  the GNOME desktop to a virtual terminal.</p>

  <p>If the computer is running the <em>X Window System</em>, you can disable
  access to all virtual terminals by adding a <code>DontVTSwitch</code> option
  to the <code>Serverflags</code> section in an X configuration file in the
  <file>/etc/X11/xorg.conf.d/</file> directory.</p>

  <steps>
    <item>
      <p>Sortu edo editatu <file>/etc/X11/xorg.conf.d/</file> direktorioko X konfigurazio-fitxategi bat. Adibidez, <file>/etc/X11/xorg.conf.d/10-xorg.conf</file>:</p>
    <listing>
    <title><file>/etc/X11/xorg.conf.d/10-xorg.conf</file></title>
<code>Section "Serverflags"

Option "DontVTSwitch" "yes"

EndSection
</code>
    </listing>
    </item>
    <item>
      <p>Berrabiarazi X zerbitzaria aldaketak indarrean sartu daitezen.</p>
    </item>
  </steps>

</section>

<!-- TODO: add section for removing applications from the Activities overview. -->
</page>
