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

Bug#95268: marked as done (xlibs: [xkb] pc104 symbols don't have Alt generate Meta)



Your message dated Fri, 18 Oct 2002 14:30:55 -0500
with message-id <20021018193055.GF30774@deadbeast.net>
and subject line Alt modifier and Meta keysym now the same on pc101/pc102/pc104/pc105 XKB models
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 25 Apr 2001 23:06:28 +0000
>From zooko@imp.mad-scientist.com Wed Apr 25 18:06:28 2001
Return-path: <zooko@imp.mad-scientist.com>
Received: from nat210.96.mpoweredpc.net (imp) [142.177.210.96] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 14sYMe-0006tg-00; Wed, 25 Apr 2001 18:06:28 -0500
Received: from zooko by imp with local (Exim 3.22 #1 (Debian))
	id 14sYLV-0000Us-00; Wed, 25 Apr 2001 16:05:17 -0700
From: Zooko Ozoko <zooko@imp.mad-scientist.com>
Subject: xserver-xfree86: keyboard got set to wrong kind
To: submit@bugs.debian.org
X-Mailer: bug 3.3.9
Message-Id: <E14sYLV-0000Us-00@imp>
Date: Wed, 25 Apr 2001 16:05:17 -0700
Delivered-To: submit@bugs.debian.org

Package: xserver-xfree86
Version: 4.0.2-13
Severity: important

I upgraded to X 4 and both my "alt" keys stopped working.  It took me a very
long time to figure it out, since I don't know anything about keyboard config,
but I finally found an old XF86Config of mine in which the keyboard was set to
be "pc101", but the new X install had set it to be "pc104".  Changing it back to
pc104 in the XF86Config-4 fixed the problem.

Thank you for debian!!

Regards,

Zooko

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux imp 2.2.18 #2 Sat Jan 27 16:20:46 PST 2001 i686 unknown

Versions of the packages xserver-xfree86 depends on:
hi  libc6          2.2.2-4        GNU C Library: Shared libraries and Timezone
ii  debconf        0.9.37         Debian configuration management system
ii  xserver-common 4.0.2-13       files and utilities common to all X servers
ii  zlib1g         1.1.3-14       compression library - runtime

---------------------------------------
Received: (at 77039-done) by bugs.debian.org; 18 Oct 2002 19:30:56 +0000
>From branden@deadbeast.net Fri Oct 18 14:30:55 2002
Return-path: <branden@deadbeast.net>
Received: from pcp942041pcs.cstltn01.in.comcast.net (apocalypse.deadbeast.net) [68.57.244.226] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 182cpj-0006e6-00; Fri, 18 Oct 2002 14:30:55 -0500
Received: by apocalypse.deadbeast.net (Postfix, from userid 1000)
	id 405AF3DE1; Fri, 18 Oct 2002 14:30:55 -0500 (EST)
Date: Fri, 18 Oct 2002 14:30:55 -0500
From: Branden Robinson <branden@debian.org>
To: 77039-done@bugs.debian.org
Subject: Alt modifier and Meta keysym now the same on pc101/pc102/pc104/pc105 XKB models
Message-ID: <20021018193055.GF30774@deadbeast.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="xkXJwpr35CY/Lc3I"
Content-Disposition: inline
User-Agent: Mutt/1.4i
Mail-Copies-To: nobody
X-No-CC: I subscribe to this list; do not CC me on replies.
Delivered-To: 77039-done@bugs.debian.org
X-Spam-Status: No, hits=-6.9 required=5.0
	tests=PGP_SIGNATURE_2,SPAM_PHRASE_03_05,USER_AGENT,
	      USER_AGENT_MUTT
	version=2.41
X-Spam-Level: 


--xkXJwpr35CY/Lc3I
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

This was changed upstream in XFree86 4.2.0.

See /etc/X11/xkb/symbols/us:

// definition for the PC-AT type 101 key keyboard
default
xkb_symbols "pc101" {
    include "us(generic101)"
    key <LALT> {        [       Alt_L,  Meta_L          ]       };
    key <RALT> {        [       Alt_R,  Meta_R          ]       };

    // begin modifier mappings
    modifier_map Mod1   { Alt_L, Alt_R, Meta_L, Meta_R };
};

// definition for the extra key on 102-key keyboards
xkb_symbols "pc102" {
    include "us(pc101)"
    key <LSGT> {        [      less,    greater         ]       };
};

// definition for the extra keys on 104-key "Windows95" keyboards
xkb_symbols "pc104" {
    include "us(generic101)"
    key <LALT> {        [       Alt_L,  Meta_L          ]       };
    key <RALT> {        [       Alt_R,  Meta_R          ]       };
    key <LWIN> {        [       Super_L                 ]       };
    key <RWIN> {        [       Super_R                 ]       };
    key <MENU> {        [       Menu                    ]       };

    // modifier mappings
    modifier_map Mod1   { Alt_L, Alt_R, Meta_L, Meta_R };
    modifier_map Mod4   { Super_L, Super_R };
};

// defintion which includes both the Windows95 keyboards _and_
// the extra key on most European keyboards.
xkb_symbols "pc105" {
    include "us(pc104)"
    key <LSGT> {        [      less,    greater         ]       };
};

If you'd like the Windows keys to be Meta keys, you may be interested in the
new /etc/X11/xkb/symbols/altwin file.

For instance,

partial modifier_keys
xkb_symbols "meta_win" {
    key <LALT> {        [       Alt_L,  Alt_L           ]       };
    key <RALT> {        [       Alt_R,  Alt_R           ]       };
    key <LWIN> {        [       Meta_L                  ]       };
    key <RWIN> {        [       Meta_R                  ]       };
    modifier_map Mod1   { Alt_L, Alt_R };
    modifier_map Mod4   { Meta_L, Meta_R };
};

You could use the above with the following XKB settings, for instance:

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xfree86"
        Option          "XkbModel"      "pc104"
        Option          "XkbLayout"     "us"
        Option          "XkbOptions"    "altwin:meta_win"
EndSection

--=20
G. Branden Robinson                |     It just seems to me that you are
Debian GNU/Linux                   |     willfully entering an arse-kicking
branden@debian.org                 |     contest with a monstrous entity
http://people.debian.org/~branden/ |     that has sixteen legs and no arse.

--xkXJwpr35CY/Lc3I
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iEYEARECAAYFAj2wYW8ACgkQ6kxmHytGonyLIACfQRI2Pc8GQDFZ8IdiuFjbFM0t
FVEAnAoEELHj857ei3mEVN6/+3Hc9Ut/
=c/kg
-----END PGP SIGNATURE-----

--xkXJwpr35CY/Lc3I--



Reply to: