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

Bug#201737: map LWIN to Mode_switch

On Sat, May 29, 2004 at 03:13:27PM +0100, Mark Brown wrote:
> On Fri, May 28, 2004 at 04:38:27AM -0500, Branden Robinson wrote:
> > XkbRules	xfree86
> > XkbModel	macintosh
> > XkbLayout	gb
> > XkbOptions	group:lwin_switch
> > Mark, between this and the modification to /etc/X11/xkb/symbols/macintosh/gb I
> > sent you last July, are your problems resolved?
> Turning on that option I still can't seem to generate a number symbol
> (or, I notice the Euro symbol which is the third character on 2).  My
> keyboard configuration is:
> Section "InputDevice"
>         Identifier      "Generic Keyboard"
>         Driver          "keyboard"
>         Option          "CoreKeyboard"
>         Option          "XkbRules"      "xfree86"
>         Option          "XkbModel"      "macintosh"
>         Option          "XkbLayout"     "gb"
>         Option          "XkbOptions"    "ctrl:nocaps,group:lwin_switch"
> EndSection
> I've tried all the modifier keys I can think of but this could still be
> user error.

Sorry, I forgot about an annoying feature of the XKB client utilties.

An option name is ignored if it's not recongized.

See /etc/X11/xkb/rules/xfree86 for a list of legal option names.  They
use "grp" instead of "group".

You can see the recognized selections within the group file as well.

I myself did get success in seeing mode_switch key events with:

setxkbmap -rules xfree86 -model pc104 -layout gb -option ctrl:nocaps,grp:switch

...but could not produce any particular special symbols this way.

G. Branden Robinson                |      "To be is to do"   -- Plato
Debian GNU/Linux                   |      "To do is to be"   -- Aristotle
branden@debian.org                 |      "Do be do be do"   -- Sinatra
http://people.debian.org/~branden/ |

Attachment: signature.asc
Description: Digital signature

Reply to: