Framework 16 by default doesn’t observe disable-while-typing
setting found in Ubuntu (and other distributions using libinput). This is due to Framework keyboard modules being detected as an USB keyboard and thus presumed external.
This can be corrected by adjusting /usr/share/libinput/50-framework.quirks
file (reboot required) to add the following definition
[Framework Laptop 16 Keyboard Module]
MatchName=Framework Laptop 16 Keyboard Module*
MatchUdevType=keyboard
MatchDMIModalias=dmi:*svnFramework:pnLaptop16*
AttrKeyboardIntegration=internal
Both issue and merge request have been raised toward libinput so hopefully it will work out of box in the future.
16 Likes
Moving this here from another forum.
Josip_Medved:
Framework 16 by default doesn’t observe disable-while-typing
setting found in Ubuntu (and other distributions using libinput). This is due to Framework keyboard modules being detected as an USB keyboard and thus presumed external.
This can be corrected by adjusting /usr/share/libinput/50-framework.quirks
file (reboot required) to add the following definition
[Framework Laptop 16 Keyboard Module]
MatchName=Framework Laptop 16 Keyboard Module*
MatchUdevType=keyboard
MatchDMIModalias=dmi:*svnFramework:pnLaptop16*
AttrKeyboardIntegration=internal
Both issue and merge request have been raised toward libinput so hopefully it will work out of box in the future.
I’m going to give this a test run now, looks really promising! If all works out well, I will be adding it to the official docs.
Really appreciate your work on this!
1 Like
It works! And it has been added to the Ubuntu 22.04/Fedora 39 Framework Laptop 16 guide - test with both, works with both.
Bottom of the page .
Code used:
sudo tee -a /usr/share/libinput/50-framework.quirks > /dev/null <<'EOF'
[Framework Laptop 16 Keyboard Module]
MatchName=Framework Laptop 16 Keyboard Module*
MatchUdevType=keyboard
MatchDMIModalias=dmi:*svnFramework:pnLaptop16*
AttrKeyboardIntegration=internal
EOF
Reboot
(Fixed the code, had a typo)
1 Like
Did you also test this with RGB keyboard?
I swapped mine for the normal one so I get F16 in my hands sooner so I couldn’t check.
Tested with RGB US English , works.
1 Like
This worked for me. I also have a numpad module, so I added this as well:
[Framework Laptop 16 Numpad Module]
MatchName=Framework Laptop 16 Numpad Module*
MatchUdevType=keyboard
MatchDMIModalias=dmi:*svnFramework:pnLaptop16*
AttrKeyboardIntegration=internal
1 Like
What’s it classified as without that?
1 Like
“external” I’m pretty sure that means it thinks it’s just any ol’ external USB keyboard, like you’d use with a desktop.
Oh yeah this definitely makes sense then. Raise it as a PR upstream!
1 Like