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

Bug#164767: xlibs: altgr doesn't work on german keyboards with "altwin:meta_win"



Package: xlibs
Version: 4.2.1-2
Severity: wishlist
Tags: patch

Configuring the old meta-win behavour confuses the german keyboard layout
(alt_r doesn't act as Mode_switch and Multi_key anymore).
The following patch adds a partial modifier_keys block to 
/etc/X11/xkb/symbols/altwin which provides a german keyboard-layout
with the old meta_win behavour. I don't know if this is the best
way to solve the problem but it works for me.

--Begin--

--- /etc/X11/xkb/symbols/altwin 2002-10-15 01:44:22.000000000 +0200
+++ /etc/X11/xkb/symbols/altwin.new     2002-10-15 01:45:55.000000000 +0200
@@ -19,6 +19,17 @@
 };
 
 partial modifier_keys 
+xkb_symbols "meta_win_de" {
+    key <LALT> {        [       Alt_L,  Alt_L           ]       };
+    key <RALT> {        [       Mode_switch, Multi_key, Alt_R,  Alt_R           ]       };
+    key <LWIN> {        [       Meta_L                  ]       };
+    key <RWIN> {        [       Meta_R                  ]       };
+    modifier_map Mod1   { Alt_L };
+    modifier_map Mod5   { Alt_R };
+    modifier_map Mod4   { Meta_L, Meta_R };
+};
+
+partial modifier_keys 
 xkb_symbols "left_meta_win" {
     key <LALT> {       [       Alt_L,  Alt_L           ]       };
     key <LWIN> {       [       Meta_L                  ]       };

--End--


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux eris 2.4.18 #1 Son Sep 29 23:38:51 CEST 2002 i686
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (ignored: LC_ALL set)

Versions of packages xlibs depends on:
ii  libc6                         2.2.5-15   GNU C Library: Shared libraries an
ii  libfreetype6                  2.1.2-7    FreeType 2 font engine, shared lib
ii  xfree86-common                4.2.1-2    X Window System (XFree86) infrastr

-- no debconf information

-- 
 /--------------------------------------------------------------------\
              Debian GNU/Linux  - _The_ free oprating system           
  David Spreen  -  netzwurm@debian.org - C8B6823A (keyring.debian.org) 
 \--------------------------------------------------------------------/





Reply to: