[Lunar-commits] <moonbase> xkeyboard-config: fix RALT warning for Polish keyboard The XKEYBOARD keymap compiler (xkbcomp) reports: > Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols > Ignoring extra symbols Errors from xkbcomp are not fatal to the X server

Zbigniew Luszpinski zbiggy at lunar-linux.org
Sat Dec 17 18:39:09 CET 2011


commit 5f9f0695ecaa11728c9b24a87e56e8dad90b14b4
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Sat Dec 17 18:39:09 2011 +0100

    xkeyboard-config: fix RALT warning for Polish keyboard
    The XKEYBOARD keymap compiler (xkbcomp) reports:
    > Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
    >                   Ignoring extra symbols
    Errors from xkbcomp are not fatal to the X server
    
    This patch fixes this error for Polish keyboard.
---
 xorg7/data/xkeyboard-config/BUILD |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/xorg7/data/xkeyboard-config/BUILD b/xorg7/data/xkeyboard-config/BUILD
index b22c1df..85c92a8 100644
--- a/xorg7/data/xkeyboard-config/BUILD
+++ b/xorg7/data/xkeyboard-config/BUILD
@@ -1,5 +1,8 @@
 (
 
+  # Fixes warning for Polish keyboard layout
+  sedit 's/ralt_switch)/ralt_switch_multikey)/' symbols/pl &&
+
   . /etc/profile.d/x11r7.rc &&
 
   OPTS+=" --with-xkb-base=/usr/share/X11/xkb --enable-compat-rules \


More information about the Lunar-commits mailing list