bug-apl
[Top][All Lists]
Advanced

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

Resetting the X window keyboard for apl


From: Bill Daly
Subject: Resetting the X window keyboard for apl
Date: Fri, 12 Jun 2020 11:46:35 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0

I've been working on apl code that will reset the X windows keyboard so that one may use the 'Windows' key as an additional shift key for the Functions an operators.

I've tested the attached workspace on Debian and Ubuntu with success. I'm hoping that some one will test other distributions. The code calls  setxkbmap so the first test is at the command line:

dalyw@andelot:~$ setxkbmap -query
rules:      evdev
model:      pc105
layout:     us

An example session:

      kbd_on
0
      '∘∘∘∆∆∆∇∇∇'        ⍝ To test the windows key
∘∘∘∆∆∆∇∇∇
      kbd_off
      'jjjhhhggg'        ⍝ To test the windows key
jjjhhhggg

This change survives the current session so )off has no effect nor does logging out.  Rebooting will reset X winodows and your keyboard mapping.

Please send me your results.

w

Attachment: apl_kbd.apl
Description: Text document


reply via email to

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