[gnome-user-docs] Add command-line-access.page, compose-key.page & ctrl-alt-backspace.page



commit dcf5b4375b3ad71a82559fcb1184a58f05138e93
Author: Petr Kovar <pkovar redhat com>
Date:   Thu Jan 30 14:47:25 2014 +0000

    Add command-line-access.page, compose-key.page & ctrl-alt-backspace.page

 system-admin-guide/C/command-line-access.page |   99 +++++++++++++++++++++++++
 system-admin-guide/C/compose-key.page         |   50 +++++++++++++
 system-admin-guide/C/ctrl-alt-backspace.page  |   50 +++++++++++++
 system-admin-guide/Makefile.am                |    5 +-
 4 files changed, 203 insertions(+), 1 deletions(-)
---
diff --git a/system-admin-guide/C/command-line-access.page b/system-admin-guide/C/command-line-access.page
new file mode 100644
index 0000000..c85bec9
--- /dev/null
+++ b/system-admin-guide/C/command-line-access.page
@@ -0,0 +1,99 @@
+<page xmlns="http://projectmallard.org/1.0/";
+      type="topic" style="task"
+      id="command-line-access">
+
+  <info>
+    <link type="guide" xref="index#user" />
+    <revision pkgversion="3.11" date="2014-01-29" status="draft"/>
+
+    <credit type="author copyright">
+      <name>Petr Kovar</name>
+      <email>pknbe volny cz</email>
+      <years>2014</years>
+    </credit>
+
+    <desc>Disable command line access for all users.</desc>
+  </info>
+
+  <title>Disable command line access</title>
+  <p>To completely disable command line access, you need to make configuration
+    changes in a number of different contexts:</p>
+  <list>
+    <item>
+      <p>Set the <sys>org.gnome.desktop.lockdown.disable-command-line</sys>
+        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>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>Remove <app>Terminal</app> and any other application that
+        provides access to the
+        terminal from the <gui>Applications</gui> menu and the
+        Activities overview in GNOME Shell.
+        This is done by removing menu items for those applications. <!--For detailed
+        information on how to remove a menu item, see.--></p>
+        <comment>
+          <cite>Petr Kovar</cite>
+          <p>We have yet to cover removing a menu item in this guide. We don't
+          want system admins having to modify .desktop files as those could be
+          overwritten on system update.</p>
+        </comment>
+    </item>
+  </list>
+  <section id="org.gnome.desktop.lockdown.disable-command-line">
+    <title>Set the org.gnome.desktop.lockdown.disable-command-line key</title>
+  <steps>
+    <item>
+      <p>Create a <sys>local</sys> database for machine-wide settings in
+      <file>/etc/dconf/db/local.d/00-lockdown</file>:</p>
+      <code>[org/gnome/desktop/lockdown]
+# Disable command line access
+disable-command-line=true</code>
+    </item>
+    <item>
+      <p>Override the user's setting and prevent the user from changing it in
+      <file>/etc/dconf/db/local.d/locks/lockdown</file>:</p>
+        <code># Lock the disabled command line access
+/org/gnome/desktop/lockdown
+</code>
+    </item>
+    <item>
+      <p>Update the system databases:</p>
+      <screen><output># </output><input>dconf update</input></screen>
+    </item>
+  </steps>
+  </section>
+  <section id="virtual-terminal-switching">
+    <title>Disable virtual terminal switching</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 and X server to a virtual terminal. You
+      can disable access to all virtual terminals by adding a
+      <code>DontVTSwitch</code> option to the <code>Serverflags</code>
+      section in the <file>/etc/X11/xorg.conf.d</file> file.</p>
+    <steps>
+      <title>Disable access to virtual terminals</title>
+      <item>
+        <p>Create or edit an X configuration file in
+          <file>/etc/X11/xorg.conf.d</file>:</p>
+        <code>Section "Serverflags"
+
+Option "DontVTSwitch" "yes"
+
+EndSection</code>
+      </item>
+      <item>
+        <p>Restart the X server for your changes to take effect.</p>
+      </item>
+    </steps>
+  </section>
+
+</page>
diff --git a/system-admin-guide/C/compose-key.page b/system-admin-guide/C/compose-key.page
new file mode 100644
index 0000000..d3f7985
--- /dev/null
+++ b/system-admin-guide/C/compose-key.page
@@ -0,0 +1,50 @@
+<page xmlns="http://projectmallard.org/1.0/";
+      type="topic" style="task"
+      id="compose-key">
+
+  <info>
+    <link type="guide" xref="index#user" />
+    <revision pkgversion="3.11" date="2014-01-29" status="draft"/>
+
+    <credit type="author copyright">
+      <name>Petr Kovar</name>
+      <email>pknbe volny cz</email>
+      <years>2014</years>
+    </credit>
+
+    <desc>Enable the Compose key by default for all users.</desc>
+  </info>
+
+  <title>Enable the Compose key</title>
+  <p>To enable the Compose key and configure a certain key on
+    your keyboard as the Compose key, set the
+    <sys>org.gnome.desktop.input-sources.xkb-options</sys>
+    GSettings key. That way, the setting will be enabled by default
+    for all users on your system.</p>
+  <steps>
+    <title>Set the Right Alt key as the Compose key</title>
+    <item>
+      <p>Create a <sys>local</sys> database for machine-wide settings in
+      <file>/etc/dconf/db/local.d/00-input-sources</file>:</p>
+        <code>[org/gnome/desktop/input-sources]
+# Set the Right Alt key as the Compose key and enable it
+xkb-options=['compose:<var>ralt</var>']</code>
+    <p>If you want to set a different key than Right <key>Alt</key>, replace
+      <var>ralt</var> with the name of that key as specified in
+      the <cmd>xkeyboard-config</cmd>(7) man page, section
+      <em>Compose key position</em>.</p>
+    </item>
+    <item>
+      <p>Override the user's setting and prevent the user from changing it in
+      <file>/etc/dconf/db/local.d/locks/input-sources</file>:</p>
+        <code># Lock the list of enabled XKB options
+/org/gnome/desktop/input-sources/xkb-options
+</code>
+    </item>
+    <item>
+      <p>Update the system databases for the changes to take effect:</p>
+      <screen><output># </output><input>dconf update</input></screen>
+    </item>
+  </steps>
+
+</page>
diff --git a/system-admin-guide/C/ctrl-alt-backspace.page b/system-admin-guide/C/ctrl-alt-backspace.page
new file mode 100644
index 0000000..b5d7b61
--- /dev/null
+++ b/system-admin-guide/C/ctrl-alt-backspace.page
@@ -0,0 +1,50 @@
+<page xmlns="http://projectmallard.org/1.0/";
+      type="topic" style="task"
+      id="ctrl-alt-backspace">
+
+  <info>
+    <link type="guide" xref="index#user" />
+    <revision pkgversion="3.11" date="2014-01-29" status="draft"/>
+
+    <credit type="author copyright">
+      <name>Petr Kovar</name>
+      <email>pknbe volny cz</email>
+      <years>2014</years>
+    </credit>
+
+    <desc>Enable <keyseq><key>Ctrl</key>
+    <key>Alt</key><key>Backspace</key></keyseq>.</desc>
+  </info>
+
+  <title>Enable <keyseq><key>Ctrl</key>
+  <key>Alt</key><key>Backspace</key></keyseq></title>
+
+  <p>To enable the <keyseq><key>Ctrl</key><key>Alt</key>
+  <key>Backspace</key></keyseq>
+   shortcut to kill the X server by default for all users,
+   you need to set the <code>org.gnome.desktop.input-sources.xkb-options</code>
+   GSettings key.</p>
+  <steps>
+    <title>Set the org.gnome.desktop.input-sources.xkb-options key</title>
+    <item>
+      <p>Create a <sys>local</sys> database for machine-wide settings in
+      <file>/etc/dconf/db/local.d/00-input-sources</file>:</p>
+        <code>[org/gnome/desktop/input-sources]
+# Enable Ctrl-Alt-Backspace for all users
+xkb-options=['terminate:ctrl_alt_bksp']
+</code>
+    </item>
+    <item>
+      <p>Override the user's setting and prevent the user from changing it in
+      <file>/etc/dconf/db/local.d/locks/input-sources</file>:</p>
+        <code># Lock the list of enabled XKB options
+/org/gnome/desktop/input-sources/xkb-options
+</code>
+    </item>
+    <item>
+      <p>Update the system databases for the changes to take effect:</p>
+      <screen><output># </output><input>dconf update</input></screen>
+    </item>
+  </steps>
+
+</page>
diff --git a/system-admin-guide/Makefile.am b/system-admin-guide/Makefile.am
index 8410758..cf609a5 100644
--- a/system-admin-guide/Makefile.am
+++ b/system-admin-guide/Makefile.am
@@ -9,6 +9,9 @@ HELP_MEDIA =
 HELP_FILES = \
        background.page                 \
        backgrounds-extra.page          \
+       command-line-access.page                \
+       compose-key.page                \
+       ctrl-alt-backspace.page         \
        dconf-custom-defaults.page      \
        dconf-keyfiles.page             \
        dconf-lockdown.page             \
@@ -20,7 +23,7 @@ HELP_FILES = \
        extensions-lockdown.page        \
        extensions-mandatory.page       \
        extensions.page                 \
-       fonts-user.page         \
+       fonts-user.page                 \
        fonts.page                      \
        index.page                      \
        keyboard-layout.page            \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]