From owner-p4-projects@FreeBSD.ORG Thu Aug 27 12:33:06 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 3DF0B106568E; Thu, 27 Aug 2009 12:33:06 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 028B8106564A for ; Thu, 27 Aug 2009 12:33:06 +0000 (UTC) (envelope-from rene@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E54CD8FC43 for ; Thu, 27 Aug 2009 12:33:05 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n7RCX57c027351 for ; Thu, 27 Aug 2009 12:33:05 GMT (envelope-from rene@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n7RCX5EV027349 for perforce@freebsd.org; Thu, 27 Aug 2009 12:33:05 GMT (envelope-from rene@FreeBSD.org) Date: Thu, 27 Aug 2009 12:33:05 GMT Message-Id: <200908271233.n7RCX5EV027349@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to rene@FreeBSD.org using -f From: Rene Ladan To: Perforce Change Reviews Cc: Subject: PERFORCE change 167880 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 12:33:06 -0000 http://perforce.freebsd.org/chv.cgi?CH=167880 Change 167880 by rene@rene_self on 2009/08/27 12:32:10 IFC Affected files ... .. //depot/projects/docproj_nl/en_US.ISO8859-1/books/handbook/x11/chapter.sgml#8 integrate .. //depot/projects/docproj_nl/nl_NL.ISO8859-1/books/handbook/x11/chapter.sgml#14 integrate .. //depot/projects/docproj_nl/share/sgml/man-refs.ent#21 integrate .. //depot/projects/docproj_nl/www/en/vendors.html#3 integrate Differences ... ==== //depot/projects/docproj_nl/en_US.ISO8859-1/books/handbook/x11/chapter.sgml#8 (text+ko) ==== @@ -1,7 +1,7 @@ @@ -504,7 +504,7 @@ <deviceinfo version="0.2"> <device> <match key="info.capabilities" contains="input.keyboard"> - <merge key="input.xkb.options" type="string">terminate:ctrl_alt_bksp</merge> + <merge key="input.x11_options.XkbOptions" type="string">terminate:ctrl_alt_bksp</merge> </match> </device> </deviceinfo> @@ -528,6 +528,55 @@ along with any other options needed (e.g. keyboard layout switching). + + As previously explained since version 7.4, by default, + the hald daemon will + automatically detect your keyboard. There are chances that + your keyboard layout or model will not be correct, desktop + environments like GNOME, + KDE or + Xfce provide tools to configure + the keyboard. However, it is possible to set the keyboard + properties directly either with the help of the + &man.setxkbmap.1; utility or with a + hald's configuration rule. + + For example if one wants to use a PC 102 keys keyboard + coming with a french layout, we have to create a keyboard + configuration file for hald + called x11-input.fdi and saved in the + /usr/local/etc/hal/fdi/policy + directory. This file should contain the following + lines: + + <?xml version="1.0" encoding="ISO-8859-1"?> +<deviceinfo version="0.2"> + <device> + <match key="info.capabilities" contains="input.keyboard"> + <merge key="input.x11_options.XkbModel" type="string">pc102</merge> + <merge key="input.x11_options.XkbLayout" type="string">fr</merge> + </match> + </device> +</deviceinfo> + + If this file already exists, just copy and add to your + file the lines regarding the keyboard configuration. + + You will have to reboot your machine to force + hald to read this file. + + It is possible to do the same configuration from an X + terminal or a script with this command line: + + &prompt.user; setxkbmap -model pc102 -layout fr + + The + /usr/local/share/X11/xkb/rules/base.lst + file lists the various keyboard, layouts and options + available. + + X11 tuning Next, tune the xorg.conf.new ==== //depot/projects/docproj_nl/nl_NL.ISO8859-1/books/handbook/x11/chapter.sgml#14 (text+ko) ==== @@ -1,7 +1,7 @@ ==== //depot/projects/docproj_nl/share/sgml/man-refs.ent#21 (text+ko) ==== @@ -20,7 +20,7 @@ lexicographical order by the entity (i.e., the dots used in place of special characters should not be expanded when comparing). - $FreeBSD: doc/share/sgml/man-refs.ent,v 1.489 2009/07/26 11:48:34 blackend Exp $ + $FreeBSD: doc/share/sgml/man-refs.ent,v 1.490 2009/08/26 20:54:04 blackend Exp $ --> @@ -568,6 +568,7 @@ + ==== //depot/projects/docproj_nl/www/en/vendors.html#3 (text+ko) ==== @@ -1,6 +1,6 @@ - +