The plasma-keyboard is a virtual keyboard based on Qt Virtual Keyboard designed to integrate in Plasma.
It wraps Qt Virtual Keyboard in a window, and uses the input-method-v1 Wayland protocol to communicate with the compositor to function as an input method.
mkdir build && cd build
cmake ..
make && make installhttps://cdn.kde.org/flatpak/plasma-keyboard-nightly/org.kde.plasma.keyboard.flatpakref
See also: https://userbase.kde.org/Tutorials/Flatpak#Nightly_KDE_apps
The keyboard layouts are located in the src/layouts folder.
They are forked from Qt's layouts, with modifications that we want for Plasma. Please view the official Qt documentation for a guide on how to create and modify keyboard layouts.
To use Qt's built-in keyboard layouts rather than the ones we supply in plasma-keyboard, set PLASMA_KEYBOARD_USE_QT_LAYOUTS=1 when starting KWin (or the login session).
KWin by default only shows the keyboard when a text field is interacted with by touch. Set KWIN_IM_SHOW_ALWAYS=1 when starting KWin (or the login session) in order to force the keyboard to always pop up.