Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to type parentheses with parens:swap_brackets setxkbmap option #1976

Open
phoe opened this issue Jan 19, 2025 · 7 comments
Open

Unable to type parentheses with parens:swap_brackets setxkbmap option #1976

phoe opened this issue Jan 19, 2025 · 7 comments

Comments

@phoe
Copy link

phoe commented Jan 19, 2025

Describe the bug
I am unable to type parentheses on https://online.interlisp.org/ which makes using Lisp somewhat troublesome.

To Reproduce
Steps to reproduce the behavior:

  1. In the Linux shell, alias kb='setxkbmap -option parens:swap_brackets,ctrl:nocaps'
  2. Go to https://online.interlisp.org/ and login as guest
  3. Try to type parentheses (now mapped to brackets)

Expected behavior
I should be able to type parens.

Screenshots
If applicable, add screenshots to help explain your problem.

Context (please complete the following information):

  • Are you using online.interlisp.org? yes
  • OS: debian
  • OS Version: sid
  • Display/window system: x11
  • Host arch: amd64
  • Maiko version: no idea!
  • IL:MAKESYSDATE: 15-Jan-2025 01:24:01

Additional context
Weirdly, I can type brackets just fine.

@pamoroso
Copy link
Contributor

After creating the alias on my Linux Mint 22 Cinnamon pc with Italian keyboard, typing { and } produces the same characters. Typing ( produces ( and typing ) produces [.

@phoe
Copy link
Author

phoe commented Jan 19, 2025

Weird, I have a Polish keymap. Are you testing this in online Medley?

@pamoroso
Copy link
Contributor

Yes, I'm testing in Medley Online.

@pamoroso
Copy link
Contributor

It's worth nothing that my italian keyboard is missing the { and } symbols. To get { I need to type AltGr+7 and AltGr+0 to get }.

@nbriggs
Copy link
Contributor

nbriggs commented Jan 19, 2025

Using setxkbmap is unlikely to ever get you the result you expect since Medley uses the X key codes (not encoded key syms), and maintains its own mapping table from the codes to the Medley physical keys. Additionally, the X keyboard mapping tools do not work as expected under macOS/XQuartz.

@nbriggs
Copy link
Contributor

nbriggs commented Jan 19, 2025

(and when using Medley online, you're going through your browser and NoVNC, which adds yet another layer of mapping and/or misinterpretation)

@masinter
Copy link
Member

masinter commented Feb 2, 2025

would Gingko help with a mapped keyboard?

https://github.com/rochus-keller/Gingko/releases/tag/2024-10-13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants