Virtual keyboard for X11?

I am trying to implement a desktop app in Python using GTK. I need to use a virtual keyboard and since the tdx-x11 image does not include one, I have included the onboard virtual keyboard in the Yocto build. However, when I give the onboard command in the terminal, I get the following errors:

16:12:26.906 WARNING ConfigUtils: gsettings schema for 'org.gnome.desktop.a11y.applications' is not installed
16:12:28.215 ERROR Config: gsettings schema for 'org.gnome.desktop.screensaver' is not installed

I would like to avoid using the Gnome desktop environment, because it requires too much space.

Does anybody know what how to resolve this? Or can someone recommend a proper virtual keyboard?

Greetings @CristianM!

You can try florence3. I recall this used to be shipped with our LXDE images on BSP 2.8.

Hi. I cannot find the recipe for florence3 the Dunfell brach on OpenEmbedded. I can find the recipe in meta-toradex-demos\recipes-support\florence, but when I build I get the following error:

bitbake florence3
Parsing recipes: 100% |##################################################################################| Time: 0:01:19
Parsing of 2687 .bb files complete (0 cached, 2687 parsed). 3843 targets, 254 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'libglade' (but /home/cristi/oe-core/build/../layers/meta-toradex-demos/recipes-support/florence/florence3_0.6.3.bb DEPENDS on or otherwise requires it). Close matches:
  glade
  libgudev
  vblade
ERROR: Required build target 'florence3' has no buildable providers.
Missing or unbuildable dependency chain was: ['florence3', 'libglade']

I get the same error for the florence keyboard.

I’ve tried the matchbox-keyboard and it shows up. However, I have the following problem: when displaying my application, it appears in the top left corner of the screen and when I call the matchbox-keyboard, it is displayed over my application window (in the top left corner) and its size is small (do I need a window manager?). I’ve tried the command matchbox-keyboard -s 50 to set its size, but it does not recognize it (maybe the recipe is for an old version of the keyboard).

What suggestions do you have?

UPDATE
After adding the xcfm4 window manager in the Linux image, it worked. However, the size of the buttons is too small.

Hello @CristianM ,

I see from your update that the virtual keyboard works. Do you still need support on this or is this thread closed?

Best Regards,
Janani

Hi. Currently the matchbox-keyboard is a solution. However, it has its drawbacks and is the only solution I found.

Hello @CristianM ,

Thank you for your feedback.

Best Regards,
Janani