Reply to topic

Virtual keyboard for Plasma 5.10

nkukard
Registered Member
Posts
3
Karma
0

Virtual keyboard for Plasma 5.10

Wed May 31, 2017 5:12 pm
I'm running Neon User with the latest Plasma 5.10, but for the life of me cannot see the virtual keyboard button described here:
https://blog.martin-graesslin.com/blog/ ... ck-screen/

I tried enabling the input method in sddm.conf (detailed in --example-config)
Code: Select all
[General]
InputMethod=qtvirtualkeyboard


I also tried exporting the env before starting sddm, to no avail...
Code: Select all
QT_IM_MODULE=qtvirtualkeyboard
nkukard
Registered Member
Posts
3
Karma
0
This looks odd though...

Code: Select all
ii  qml-module-qtquick-virtualkeyboard              5.7.1-0neon+16.04+build14                    amd64        Qt virtual keyboard


Code: Select all
# dpkg -L qml-module-qtquick-virtualkeyboard
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/qml-module-qtquick-virtualkeyboard
/usr/share/doc/qml-module-qtquick-virtualkeyboard/copyright
/usr/share/doc/qml-module-qtquick-virtualkeyboard/changelog.Debian.gz
User avatar Rog131
Registered Member
Posts
828
Karma
10
Do you have the Qt5 virtual keyboard installed ?

With the Arch Linux package name is qt5-virtualkeyboard.

Plasma lock screen

After the installation of the qt5-virtualkeyboard the Plasma lock screen has the virtual keyboard button at the lower left corner.

Image
Full image: http://imgur.com/uBdknRl

Image


SDDM Greeter with the virtual keyboard

As told: https://phabricator.kde.org/D5061 and https://github.com/sddm/sddm/pull/803
QT_IM_MODULE is set from a config value, however it currently is only
set in testing mode...


The testing is working with the
Code: Select all
$ export QT_IM_MODULE=qtvirtualkeyboard
$ sddm-greeter --theme /usr/share/sddm/themes/breeze


Image
Full image: http://imgur.com/UCUpKN8

Image

The real deal will need the line:
Code: Select all
env.insert(QStringLiteral("QT_IM_MODULE"), mainConfig.InputMethod.get());

as told at the https://github.com/sddm/sddm/pull/803/c ... 29c8ac18de

Adding line -> rebuilding the sddm -> testing -> working at here.
User avatar francescoa
Registered Member
Posts
8
Karma
0
OS
Hi...
I have a 'HP spectre X2 ...
I would like to ask when the user has logged in ... how can I activate | deactivate
qtvirtualkeyboard without restarting SDDM?
if I put it in / etc / environment

Code: Select all
QT_IM_MODULE = qtvirtualkeyboard


the keyboard starts automatically but I would like to make a script
to enable the keyboard when a condition occurs ..
for example:
If
Code: Select all
cat /proc/bus/input/devices | grep 'H: Handlers=event1 mouse0' > /dev/null; echo $?

return "1" the keyboard isn't present
while if return "0" , the keyboard is connected..

I need able the qtvirtualkeyboard only when the keyboard isn't present...
I try
Code: Select all
export QT_IM_MODULE=qtvirtualkeyboard && kwin_x11 --replace

but the keyboard not start....

How to enable / disable
qt-virtual-keyboard without restart SDDM ???


Thank you
Francesco

 
Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], BigaAl, Bing [Bot], dcihon, Google [Bot], Sogou [Bot]