Re: Keybinding and modifiers

Christof (christof@ds2.uw.edu.pl)
Tue, 12 Mar 2002 21:38:27 +0100


On Mon, Mar 11, 2002 at 01:57:19PM +0100, Andre Canis wrote:
> I wrote:
> 
> > Is it possible to use other modifiers than Control, Shift or Meta for
> > key (or mouse) bindings? I'd like to use the "Windows" keys as
> > modifiers, e.g. as "Hyper" or "Super".
> 
> Poking through the source a bit, I managed to do what I wanted. If
> anyone else is interested:
> 
> In my .Xmodmap:
> 
> ,----
> | keycode  64 = Alt_L Meta_L
> | keycode 115 = Hyper_L
> | keycode 116 = Hyper_R
> | 
> | clear Mod1
> | clear Mod4
> | 
> | add    Mod1    = Alt_L
> | add    Mod4    = Hyper_L
> `----
> 
> The important bit is setting up Hyper_L (which I mapped to the left
> "Windows" Key) as Modifier 4. Then I can use the following in my feel
> file:

It works, but my winkeys arent Hyper_L or Hyper_R but Mode_switch - i
type polish letters with it. And your solution doesnt work with
Mode_switch :( 

Krzysiek
_______________________________________________
The AfterStep Window Manager for X User's Mailing List
http://mail.afterstep.org/mailman/listinfo/as-users