Commit 32decbc0 authored by Heather Ellsworth's avatar Heather Ellsworth

Added a section on how to setup the OSK in Plasma Mobile

parent 5f3841c2
......@@ -33,6 +33,7 @@ Build plasma-phone-components::
purism@pureos:~/plasma-phone-components$ tar czvf plasma-phone-components_0.7+git20180223.orig.tar.gz .*
purism@pureos:~/plasma-phone-components$ mv plasma-phone-components_0.7+git20180223.orig.tar.gz ..
purism@pureos:~/plasma-phone-components$ cp -r ../plasma-phone-components-packaging/debian .
purism@pureos:~/plasma-phone-components$ dpkg-buildpackage -sa -us -uc
The build results in ~/plasma-phone-components_0.7+git20180223-1_armhf.deb but before we can install it, we need to build and install a few dependencies::
......@@ -128,3 +129,37 @@ Note that there is a known issue where the mouse functions but is invisible.
:width: 400px
:height: 550px
:align: center
*****************
Onscreen Keyboard
*****************
To run the onscreen keyboard in Plasma Mobile, you'll first need to install qtvirtualkeyboard-plugin. This application `is in Debian <https://packages.debian.org/sid/qtvirtualkeyboard-plugin>`_ but not available for armhf so get the package soure from Debian, build and install it::
purism@pureos:~$ wget http://http.debian.net/debian/pool/main/q/qtvirtualkeyboard-opensource-src/qtvirtualkeyboard-opensource-src_5.9.2+dfsg.orig.tar.xz
purism@pureos:~$ wget http://http.debian.net/debian/pool/main/q/qtvirtualkeyboard-opensource-src/qtvirtualkeyboard-opensource-src_5.9.2+dfsg-1.debian.tar.xz
purism@pureos:~$ tar xf qtvirtualkeyboard-opensource-src_5.9.2+dfsg.orig.tar.xz
purism@pureos:~$ tar xf qtvirtualkeyboard-opensource-src_5.9.2+dfsg-1.debian.tar.xz'
purism@pureos:~$ cd qtvirtualkeyboard-opensource-src-5.9.2 && sudo mv ../debian .
purism@pureos:~/qtvirtualkeyboard-opensource-src-5.9.2$ dpkg-buildpackage -sa -us -uc
This will build qtvirtualkeyboard-plugin and it's dependent qml-module-qtquick-virtualkeyboard and install them and start Plasma Mobile::
purism@pureos:~$ sudo dpkg -i qml-module-qtquick-virtualkeyboard_5.9.2+dfsg-1_armhf.deb qtvirtualkeyboard-plugin_5.9.2+dfsg-1_armhf.deb
Once you have a Plasma Mobile desktop, check the keyboard status and enable it::
purism@pureos:~$ qdbus org.kde.KWin /VirtualKeyboard org.kde.kwin.VirtualKeyboard.isEnabled
false
purism@pureos:~$ qdbus org.kde.KWin /VirtualKeyboard org.kde.kwin.VirtualKeyboard.isenable
purism@pureos:~$ qdbus org.kde.KWin /VirtualKeyboard org.kde.kwin.VirtualKeyboard.isEnabled
true
Now, your onskreen keyboard should work. To test this, open kwrite and click in the text field. You should see that the keyboard is initialized and functioning!
.. image:: images/osk.jpg
:width: 400px
:height: 550px
:align: center
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment