bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] trunk/support-files/Dyalog-Keyboard/apl.xmodmap alt+tab


From: Kacper Gutowski
Subject: Re: [Bug-apl] trunk/support-files/Dyalog-Keyboard/apl.xmodmap alt+tab
Date: Fri, 15 Jan 2016 12:16:36 +0100

On Fri, Jan 15, 2016 at 4:29 AM,  <address@hidden> wrote:
> I was wondering if anyone is familiar enough with xmodmap to know why it
> would disable the existing Alt-Tab functionality in xorg (switching between
> windows) when the key combination has no apparent use in the interpreter.
> I am using this file:
> trunk/support-files/Dyalog-Keyboard/apl.xmodmap

The relevant lines are:

  keycode  23 = Tab          ISO_Left_Tab
  keycode  64 = Mode_switch  Meta_L

The key usually used as Alt_L modifier is hijacked as Mode_switch to
make other keys send different keysyms depending on whether it is
depressed or not, instead of acting as modifier.  Therefore, pressing
Alt-Tab, gives just a Tab.  There is no way to use Alt at all with that
configuration.

Note though, that there are several other keys mapped as Mode_switch in
the above file.  You can change it back to the default
  keycode 64 = Alt_L Meta_L
and then just use Super (Win) key, or right Alt, or any other mentioned
as Mode_switch to type APL symbols.


On an unrelated note, many systems already ship with APL layout and you
can get very similar results using something like:

  $ setxkbmap 'us,apl(dyalog)' -option grp:lswitch

The grp:lswitch option says to hijack left Alt for group switch
switching between us and apl(dyalog) layouts (one can use grp:switch for
right Alt).

-k



reply via email to

[Prev in Thread] Current Thread [Next in Thread]