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

Re: Getting Alt key to work in X with Win keyboard



-----BEGIN PGP SIGNED MESSAGE-----

On Sun, 26 Sep 1999 debuser@platinum.globe-mart.com wrote:

> I have a cheap keyboard which has a Windows key next to the Alt key.  On
> the console, the Alt key works as expected, but in X, the Alt key doesn't
> work.  Instead, the functionality of the Windows key and the Alt key seems
> to have been swapped (Windows key functions as the Meta key and Alt
> doesn't seem to do anything).  I've tried different keyboard models in the
> XF86Config file, but I can't seem to get the Alt key to work as would be
> expected in X.  What's the best way to get my Alt key to work in X with
> this keyboard?

I also have a keyboard with "windows" keys, as well as that menu
key. Here's the keyboard section from my XF86Config:
  Section "Keyboard"
     Protocol        "Standard"
     XkbRules        "xfree86"
     XkbModel        "pc104"
     XkbLayout       "us"
  EndSection

According to the symbol mappings (combining the xfree86, pc104, and us i
end up looking in the pc104 section of /usr/X11R6/lib/X11/xkb/symbols/us),
my alt keys are bound to alt (aka Mod1), and the windoze keys are bound to
meta (aka Mod4).

xkbprint (from the xbase-clients package) can generate a postscript file
showing what the XKB extention things your keyboard looks like.


- -- 
  finger for PGP public key.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQCVAwUBN+6bor7M/9WKZLW5AQHqqQQAhZfSJDBnB6G7HCq9pJOfegVoCwKpFKrd
jLgI9AfvPt77M+FaBtB1YNXFhg+vZMasvpUV5ZQqfVloi8AyisvfQpMvtPBC8D1u
djK3gqZZ52MyxfNBVH8tVHL2uRUxxcr9LAmhAWJ3z4Pk9nKaZ64u5X55pAt164zS
ds1KsR1eIbM=
=XaGq
-----END PGP SIGNATURE-----


Reply to: