Virtual keyboard in German under Plasma DE [Solved]

Compiz, KDE, Gnome, Fluxbox, etc...

Moderator: Moderators

User avatar
linuxfluesterer
Old Dear Hen
Posts: 867
Joined: Thu Sep 20, 2012 19:47
Location: Germany

Re: Virtual keyboard in German under Plasma DE

Post by linuxfluesterer » Fri Jun 22, 2018 16:13

Fitzcarraldo wrote:
Fri Jun 22, 2018 11:40
Try xkbd and xvkbd to see if they can be configured for German layout. Both are in the Entropy package repository.

http://t-sato.in.coocan.jp/xvkbd/xvkbd-german.gif
Thank you very much for good suggestions, Fitz. I tried both, xkbd is not an option, while xvkbd could be maybe usable.
I found out to set to German keyboard, but what I do need evidently, is a bigger font size on the (virtual) keys.
And I haven't found anything clear in the manual, how I could realize this.
I also would appreciate a bigger window size by default, best in combination with a bigger letter (font) size.
Any idea?

-Linuxfluesterer (I love KDE...)
Take away Facebook from me and let there be real people again...

User avatar
Fitzcarraldo
Sagely Hen
Posts: 8096
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom
Contact:

Re: Virtual keyboard in German under Plasma DE

Post by Fitzcarraldo » Fri Jun 22, 2018 18:34

The user guide tells you how to do both. See the Customization section:

http://t-sato.in.coocan.jp/xvkbd/

You could also use the normal KDE KWin method of setting a bigger default window size.

Install x11-apps/xlsfonts to see which X11 fonts are available.

One example of many:

Code: Select all

$ cat ~/XVkbd
xvkbd.windowGeometry: 1760x720
xvkbd.compact: false
xvkbd*Font: -misc-fixed-bold-r-normal--0-0-100-100-c-0-iso8859-1

User avatar
linuxfluesterer
Old Dear Hen
Posts: 867
Joined: Thu Sep 20, 2012 19:47
Location: Germany

Re: Virtual keyboard in German under Plasma DE

Post by linuxfluesterer » Fri Jun 22, 2018 21:18

And again thank you, Fitz.
I confess, it is very hard for me to understand several manuals and user guides.
I think beside personal language lacks of myself some guides and manuals are written unclearly and incomplete.
May be my unability, but since English is not my native language the more I need a clear direction,
best with examples, like you have written here..

My very best regards,

-Linuxfluesterer (I love KDE...)
Take away Facebook from me and let there be real people again...

Stupot
Sagely Hen
Posts: 1662
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Re: Virtual keyboard in German under Plasma DE

Post by Stupot » Fri Jun 22, 2018 22:09

While the behavior isn't exactly great, you can trigger the qt virtual keyboard under X.

https://www.reddit.com/r/linux/comments ... nt/e14djas

User avatar
linuxfluesterer
Old Dear Hen
Posts: 867
Joined: Thu Sep 20, 2012 19:47
Location: Germany

Re: Virtual keyboard in German under Plasma DE

Post by linuxfluesterer » Fri Jun 22, 2018 23:03

Stupot wrote:
Fri Jun 22, 2018 22:09
While the behavior isn't exactly great, you can trigger the qt virtual keyboard under X.

https://www.reddit.com/r/linux/comments ... nt/e14djas
That sounds great. As I understand, I will need Plasma 5.13 with Wayland, is this correct?
And here, on latest Sabayon Plasma, we have KWin-X11 running (as default).
btw, I would like to test Wayland...

-Linuxfluesterer (I love KDE...)
Take away Facebook from me and let there be real people again...

Stupot
Sagely Hen
Posts: 1662
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Re: Virtual keyboard in German under Plasma DE

Post by Stupot » Fri Jun 22, 2018 23:28

No, I tested it out on my desktop with plasma 5.12.x running X11 It just happens to be mentioned on a reddit page about 5.13

User avatar
linuxfluesterer
Old Dear Hen
Posts: 867
Joined: Thu Sep 20, 2012 19:47
Location: Germany

Re: Virtual keyboard in German under Plasma DE

Post by linuxfluesterer » Sat Jun 23, 2018 16:13

Stupot wrote:
Fri Jun 22, 2018 22:09
While the behavior isn't exactly great, you can trigger the qt virtual keyboard under X.

https://www.reddit.com/r/linux/comments ... nt/e14djas
I tried the command:

Code: Select all

env QT_IM_MODULE=qtvirtualkeyboard kate
it seems to work with a big keyboard and only connected with the executed program (here kate). I will tell my friend, if he can use this program. I'm not sure, but I assume, he needs key entries for urls in firefox and entries also in youtube, mabye in LibreOffice also.

At any rate, thank you, Supot.

-Linuxfluesterer (I love KDE...)
Take away Facebook from me and let there be real people again...

User avatar
Fitzcarraldo
Sagely Hen
Posts: 8096
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom
Contact:

Re: Virtual keyboard in German under Plasma DE

Post by Fitzcarraldo » Mon Jun 25, 2018 10:45

Another virtual keyboard that works in SL is the Ubuntu virtual keyboard Onboard. It also supports all the language layouts (including German). I like it because it can also behave like an Android keypad: a longer press on a virtual key pops up all the possible variants of that letter with diacritics. You can install it in SL if you know how to use a Gentoo local overlay in SL (I have just done it successfully in the SL KDE spin, and it works in Plasma 5). Otherwise, file a request in the SL Bugzilla for the package to be added to the Entropy repository (an ebuild for the latest version can be found here), which would be safer if you don't know what you are doing.

Code: Select all

# equo update
# equo upgrade
# equo conf update
# equo deptest
# equo libtest
# emerge --sync
# equo install git
# layman -a sabayon-distro
# layman -S
# mkdir -p /usr/local/portage/{metadata,profiles}
# chown -R portage:portage /usr/local/portage
# echo 'localrepo' > /usr/local/portage/profiles/repo_name
# nano /usr/local/portage/metadata/layout.conf
# cat /usr/local/portage/metadata/layout.conf
masters = gentoo
auto-sync = false
# nano /etc/portage/repos.conf/localrepo.conf
# cat /etc/portage/repos.conf/localrepo.conf
[localrepo]
location = /usr/local/portage
# mkdir -p /usr/local/portage/app-accessibility/onboard/files
# cd /usr/local/portage/app-accessibility/onboard
# wget https://raw.githubusercontent.com/sakaki-/rpi3-overlay/master/app-accessibility/onboard/onboard-1.4.1.ebuild
# cd files/
# wget https://raw.githubusercontent.com/sakaki-/rpi3-overlay/master/app-accessibility/onboard/files/onboard-1.4.1-remove-duplicated-docs.patch
# cd ..
# ebuild onboard-1.4.1.ebuild manifest
# emerge onboard
# nano /etc/portage/make.conf
# grep FEATURES /etc/portage/make.conf
FEATURES="parallel-fetch -collision-detect -protect-owned compressdebug splitdebug"
# emerge onboard
EDIT: Actually, the ebuild here is slightly better, as it also includes python3_6 and is the original ebuild copied by the first third-party overlay I linked to.

User avatar
linuxfluesterer
Old Dear Hen
Posts: 867
Joined: Thu Sep 20, 2012 19:47
Location: Germany

Re: Virtual keyboard in German under Plasma DE

Post by linuxfluesterer » Mon Jun 25, 2018 13:41

Hallo Fitz.
Thank you (again) for suggestion. Due to this and the other suggestions before, I will mark this thread as closed.
With latest upgrade of my Sabayon system (Plasma 5.12.5, KDE-Frameworks 5.47.0, QT-Version 5.9.6 and Kernel 4.16.16),
I have got some changes, which seem to be buggy. Maybe I will open another thread for this.
But first those changes / bugs must be fixed before I will try onboard to install.

Regards.

-Linuxfluesterer (I love KDE...)
Take away Facebook from me and let there be real people again...

User avatar
Fitzcarraldo
Sagely Hen
Posts: 8096
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom
Contact:

Re: Virtual keyboard in German under Plasma DE

Post by Fitzcarraldo » Mon Jun 25, 2018 14:46

linuxfluesterer wrote:
Mon Jun 25, 2018 13:41
With latest upgrade of my Sabayon system (Plasma 5.12.5, KDE-Frameworks 5.47.0, QT-Version 5.9.6 and Kernel 4.16.16), I have got some changes, which seem to be buggy. Maybe I will open another thread for this.
But first those changes / bugs must be fixed before I will try onboard to install.
It would be better if you submit a request via the SL Bugzilla for the package to be built for the Entropy repository. In your request reference the ebuild in the third-party overlay: https://bitbucket.org/wjn/wjn-overlay/s ... ?at=master

That way the SL repository maintainer responsible for building the package will make sure it fits with the other Entropy packages (the preferred Python interpreter in SL, and so on).

I'm also using Onboard 1.4.1 in the Gentoo installation on my main laptop, and it is working nicely with Python 3.6.5. It's more sophisticated and polished than any of the other virtual keyboards I have seen to date (including the KDE virtual keyboard).

Post Reply