Alt key not sent from Mac to Linux
Log In
T
Tamas Herman
I fired up a Pop session between macOS Sequoia 15.2 and Debian 12 Bookworm and I'm seeing the following warnings in the terminal, where I've started Pop from, when I press and release
Opt-x
:RobotHandler error on keyboardToggle(≈, down, ["alt"]): Error: Invalid key code specified.
at Object.keyboardToggle (/usr/lib/pop/resources/app.asar/main.js:2:1277017)
at Object.handleKeyboardEvent (/usr/lib/pop/resources/app.asar/main.js:2:1274587)
at Object.handleInputEvent (/usr/lib/pop/resources/app.asar/main.js:2:1274198)
at Object.next (/usr/lib/pop/resources/app.asar/main.js:2:1307178)
at n.next (/usr/lib/pop/resources/app.asar/main.js:2:543752)
at e.l._next (/usr/lib/pop/resources/app.asar/main.js:2:543327)
at e.l.next (/usr/lib/pop/resources/app.asar/main.js:2:542915)
at /usr/lib/pop/resources/app.asar/main.js:2:539703
at Object.e.errorContext (/usr/lib/pop/resources/app.asar/main.js:2:650304)
at e.next (/usr/lib/pop/resources/app.asar/main.js:2:539495)
RobotHandler error on keyboardToggle(≈, up, ["alt"]): Error: Invalid key code specified.
at Object.keyboardToggle (/usr/lib/pop/resources/app.asar/main.js:2:1277017)
... (same stack trace as above) ...
In Karabiner (Elements) EventViewer, I see
Opt-x
as the attached screenshot shows; left_option
down, x
down, x
up, left_option
up.I've experienced this with the
Use host keyboard settings
option being either ON or OFF within the macOS Pop.Opt-Tab
is working though, for switching between Gnome windows.xev
shows the following:KeyPress event, serial 37, synthetic NO, window 0x9600001,
root 0x6b9, subw 0x0, time 12097293, (304,519), root:(1296,794),
state 0x10, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
RobotHandler error on keyboardToggle(≈, down, ["alt"]): Error: Invalid key code specified.
...
RobotHandler error on keyboardToggle(≈, up, ["alt"]): Error: Invalid key code specified.
...
KeyRelease event, serial 37, synthetic NO, window 0x9600001,
root 0x6b9, subw 0x0, time 12097722, (304,519), root:(1296,794),
state 0x18, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
T
Tamas Herman
The
Opt
key doesn't seem be sent.Neither the left or the right
Opt
is working.We tried it in the Linux version of IntelliJ CE and Emacs.
They are not receiving the
Opt
, when I press it on my macOS machine.I'm on the native macOS Pop
v8.0.82 | v8.0.21
.The Linux side is presumably also the latest, as of 2025-01-21, running on Fedora Linux, if I'm not mistaken.