#1104032 maliit-keyboard: Can't change maliit keyboard theme

Package:
maliit-keyboard
Source:
maliit-keyboard
Description:
virtual on-screen keyboard based on the Maliit Framework
Submitter:
mando
Date:
2025-04-24 14:18:01 UTC
Severity:
normal
#1104032#5
Date:
2025-04-24 14:14:51 UTC
From:
To:
Dear Maintainer,

   * What led up to the situation?

I installed maliit-keyboard through APT.
I tried to change the theme using:

  gsettings set org.maliit.keyboard.maliit theme BreezeDark

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

As evoked in [1] and [2] a solution consists in runnning:

  echo QT_QUICK_CONTROLS_STYLE="org.kde.desktop" | sudo tee -a /etc/environment

... and then restart Plasma.

[1] https://github.com/maliit/keyboard/issues/174#issuecomment-1307825321
[2] https://samleatherdale.com/blog/maliit-keyboard/

   * What was the outcome of this action?

The keyboard is now correctly displayed in dark, but updating environment
variables is not straightforward.

   * What outcome did you expect instead?

QT_QUICK_CONTROLS_STYLE should be correctly initialized without intervention of
the end-user.

Best regards