Skip to content

KDE/plasma-keyboard

Repository files navigation

Plasma Keyboard

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.

Build and install

mkdir build && cd build
cmake ..
make && make install

Install using the flatpak nightly repository

https://cdn.kde.org/flatpak/plasma-keyboard-nightly/org.kde.plasma.keyboard.flatpakref

See also: https://userbase.kde.org/Tutorials/Flatpak#Nightly_KDE_apps

Layouts

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).

Troubleshooting

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.

About

Virtual Keyboard for Qt based desktops

Resources

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Languages