升级至24.04后屏幕键盘按键无响应问题求助
Hey Claudio, sorry to hear you're stuck with this unresponsive on-screen keyboard after upgrading to Ubuntu 24.04! It’s frustrating when touch works everywhere else but the keyboard fails—let’s go through some practical fixes that often resolve this kind of issue:
Restart the input framework
A quick restart of the IBus (Ubuntu’s default input framework) can fix glitches caused by incomplete upgrade processes. Open a terminal and run:ibus restart
After running this, close and reopen the on-screen keyboard to test if keys work.Toggle and reconfigure the on-screen keyboard
Sometimes the keyboard’s configuration gets messed up during an upgrade. Head to Settings > Accessibility > On-Screen Keyboard, toggle the switch off, wait 10 seconds, then toggle it back on. You can also try adjusting its position or size temporarily to trigger a refresh.Reset Gnome desktop settings (if using Gnome)
Corrupted Gnome configuration files are a common culprit post-upgrade. First, back up your current settings just in case:dconf dump /org/gnome/ > gnome-settings-backup.txt
Then reset the settings with:dconf reset -f /org/gnome/
Restart your system, re-enable the on-screen keyboard, and check if it works.Update your system to patch bugs
The 24.04 release might have known bugs that have been fixed in subsequent updates. Run these commands in terminal to get the latest patches:sudo apt update && sudo apt full-upgrade
Reboot once the update finishes, then test the keyboard again.Reinstall the on-screen keyboard component
If the keyboard’s core files got damaged during upgrade, reinstalling them can help. For the default Gnome on-screen keyboard, run:sudo apt install --reinstall gnome-shell-extension-on-screen-keyboard
If you’re using the Onboard keyboard, use:sudo apt install --reinstall onboard
Reboot after reinstalling to apply changes.
Hope one of these steps gets your on-screen keyboard working smoothly again! Feel free to share if you hit any snags with any of these fixes.
备注:内容来源于stack exchange,提问作者claudiosala80

