aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Fonvieille <blackend@FreeBSD.org>2009-08-26 09:00:26 +0000
committerMarc Fonvieille <blackend@FreeBSD.org>2009-08-26 09:00:26 +0000
commitca440f81100cbdbcae65b8b64e38df5b929cd298 (patch)
treee4f54cfad7610dd63f3b7e64febc0ec44bc9dd66
parentbd3bc4c7946b4af589fe8a13103c5c86c2f3e59b (diff)
downloaddoc-ca440f81100cbdbcae65b8b64e38df5b929cd298.tar.gz
doc-ca440f81100cbdbcae65b8b64e38df5b929cd298.zip
Add informations on how, for real, re-enable Ctrl+Alt+Backspace:
- with setxkbmap(1); - with a hald's x11-input.fdi file (encourage people to reboot the box to force hald to correctly reload its configuration since I noted that /usr/local/etc/rc.d/hald restart etc. often ended in a non-detected mouse...).
Notes
Notes: svn path=/head/; revision=34652
-rw-r--r--en_US.ISO8859-1/books/handbook/x11/chapter.sgml29
1 files changed, 24 insertions, 5 deletions
diff --git a/en_US.ISO8859-1/books/handbook/x11/chapter.sgml b/en_US.ISO8859-1/books/handbook/x11/chapter.sgml
index 4ea9b8c1c4..6062ebadd6 100644
--- a/en_US.ISO8859-1/books/handbook/x11/chapter.sgml
+++ b/en_US.ISO8859-1/books/handbook/x11/chapter.sgml
@@ -487,11 +487,30 @@ dbus_enable="YES"</programlisting>
<note>
<para>This key combination was enabled by default up to
<application>&xorg;</application> version 7.3. To enable it in
- version 7.4 and later, add the following line to the
- <literal>ServerLayout</literal> or <literal>ServerFlags</literal>
- section of the configuration file:</para>
-
- <programlisting>Option "DontZap" "Off"</programlisting>
+ version 7.4 and later, you can either type the following
+ command from any X terminal emulator:</para>
+
+ <screen>&prompt.user; <userinput>setxkbmap -option terminate:ctrl_alt_bksp</userinput></screen>
+
+ <para>or create a keyboard configuration file for
+ <application>hald</application> called
+ <filename>x11-input.fdi</filename> and saved in the
+ <filename
+ class="directory">/usr/local/etc/hal/fdi/policy</filename>
+ directory. This file should contain the following
+ lines:</para>
+
+ <programlisting>&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
+&lt;deviceinfo version="0.2"&gt;
+ &lt;device&gt;
+ &lt;match key="info.capabilities" contains="input.keyboard"&gt;
+ &lt;merge key="input.xkb.options" type="string"&gt;terminate:ctrl_alt_bksp&lt;/merge&gt;
+ &lt;/match&gt;
+ &lt;/device&gt;
+&lt;/deviceinfo&gt;</programlisting>
+
+ <para>You will have to reboot your machine to force
+ <application>hald</application> to read this file.</para>
</note>
<para>If the mouse does not work, you will need to first