debian/README.Debian | 24 ++++++++++++++++++++++++ debian/changelog | 5 ++++- debian/conffiles | 1 + 3 files changed, 29 insertions(+), 1 deletion(-)
New commits: commit ad50b0b8a9d71dc765e2fe972f38ca7f6b942568 Author: Mohammed Adnene Trojette <[EMAIL PROTECTED]> Date: Sun Sep 23 01:59:17 2007 +0200 Document the creation of a custom layout in README.Debian and make /usr/share/X11/xkb/rules/base.xml a configuration file. (Closes: #410628, #410903, #438940) diff --git a/debian/README.Debian b/debian/README.Debian index d0a469e..e84d8a7 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -46,3 +46,27 @@ in /etc/X11/xorg.conf can be replaced by Option "XkbOptions" "lv3:enter_switch,apple:badmap,numpad:mac" Denis Barbier <[EMAIL PROTECTED]> Thu, 5 Oct 2006 22:51:12 +0200 + +Create a new layout +------------------- + +Since 0.8-1, layouts are read from /usr/share/X11/xkb/ and no more +/etc/X11/xkb. Thus, layouts are no more conffiles. The best way to +have a custom layout is to create one's own layout that includes other +layouts and customises some keys you want to modify. + +To create a French layout modifying the 'a' key, create a +/usr/share/X11/xkb/symbols/my_fr file containing the following lines +(without the pipes): + + | partial alphanumeric_keys + | xkb_symbols "my_fr" { + | include "fr" + | key <AD01> { [ a, A, oe, OE ] }; + | }; + +To have it appear in your desktop environment layout manager, don't +forget to add "my_fr" in /usr/share/X11/xkb/rules/base.xml as a new +layout. + +Mohammed Adnène Trojette <[EMAIL PROTECTED]> Sun, 23 Sep 2007 00:05:50 +0200 diff --git a/debian/changelog b/debian/changelog index cb25022..5ee229a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,11 @@ xkeyboard-config (1.0~cvs.20070916-2) UNRELEASED; urgency=low * Refresh resync_rules_base.diff. (Closes: #442942) + * Document the creation of a custom layout in README.Debian and + make /usr/share/X11/xkb/rules/base.xml a configuration file. + (Closes: #410628, #410903, #438940) - -- Mohammed Adnène Trojette <[EMAIL PROTECTED]> Tue, 18 Sep 2007 16:54:39 +0200 + -- Mohammed Adnène Trojette <[EMAIL PROTECTED]> Fri, 21 Sep 2007 17:58:59 +0200 xkeyboard-config (1.0~cvs.20070916-1) unstable; urgency=low diff --git a/debian/conffiles b/debian/conffiles new file mode 100644 index 0000000..e24f45f --- /dev/null +++ b/debian/conffiles @@ -0,0 +1 @@ +/usr/share/X11/xkb/rules/base.xml -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]