OSK not working in "Anki" X-App

Asked by snapdeb on 2017-03-03

Is there any way to get the OSK to show up in this App? I didn't do anything besides installing Libertine and Anki yet.

Additional Info i found on the web:
https://wiki.archlinux.org/index.php/Anki states:
-Anki relies on QtWebKit for Qt 4

and

https://anki.tenderapp.com/kb/problems/anki-not-picking-up-gtk-theme-on-gnomelinux
 Anki not picking up GTK theme on Gnome/Linux
You can work around this issue by explicitly telling Anki what the GTK theme is. Run the following commands in a terminal:
theme=$(gsettings get org.gnome.desktop.interface gtk-theme)
echo "gtk-theme-name=$theme" >> ~/.gtkrc-2.0
echo "export GTK2_RC_FILES=$HOME/.gtkrc-2.0" >> ~/.profile

Kind regards,

snapdeb

Question information

Language:
English Edit question
Status:
Solved
For:
Libertine Edit question
Assignee:
Christopher Townsend Edit question
Solved by:
Christopher Townsend
Solved:
2017-03-04
Last query:
2017-03-04
Last reply:
2017-03-03

Hello,

Thanks for asking a question about Libertine and X apps.

Unity 8 uses Maliit as the OSK framework and support for Qt4 applications in Maliit has been deprecated and removed. You can see in https://github.com/maliit down near the end of the page that this is the case.

In order for Anki to use the Unity 8 OSK, it will need to be ported to Qt5.

Sorry I don't have a better answer for this:(

snapdeb (snapdeb) said : #2

Thanks Christopher Townsend, that solved my question.

snapdeb (snapdeb) said : #3

I found this shortly after marking the question as solved:

The goal of Anki 2.1.x is to bring Anki up to date with Python 3 and Qt 5,
while changing as little else as possible.

So once again, thank you for the fast and informative answer :)