Keyboard doesn't work in text fields of plasma applications, for example: - When I use Alt+F2 to run an application, I can't enter any text in the text field. - When I click on the main menu on bottom panel and try to search something in the text field "Type to search". - When the updater notifies about a new updates and wants me to enter password. I am using a system where Ubuntu packages were installed first, and then I additionally installed kubuntu-desktop and all the other corresponding packages. The problem disappears after I run the following script to restart plasmashell, krunner, and polkit-kde-authentication-agent-1 : ############################################# killall plasmashell #to stop plasmashell kstart plasmashell #to restart plasmashell killall krunner #to stop krunner krunner #to start krunner killall polkit-kde-authentication-agent-1 #############################################
The same problem was reported here: https://askubuntu.com/questions/838613/keyboard-not-working-properly-in-kde-after-upgrade-to-kubuntu-16-10 I used their script.
Finally, I used the other solution from https://askubuntu.com/questions/838613/keyboard-not-working-properly-in-kde-after-upgrade-to-kubuntu-16-10 : ################################### sudo apt purge ibus sudo apt install fcitx sudo dpkg-reconfigure fcitx sudo reboot ################################### This solution seems to work.
*** This bug has been marked as a duplicate of bug 376866 ***