[GUIDE] Ubuntu 22.04/23.10: Allowing for disable-while-typing behavior for trackpad

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.

13 Likes

Moving this here from another forum.

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. :slight_smile:

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