Page 1 of 3

Virtual keyboard in German under Plasma DE [Solved]

Posted: Tue Jun 19, 2018 20:43
by linuxfluesterer
Hallo guys.
Simple question: Is it possible to install / use a virtual keyboard within Plasma Desktop (not meant while login!) such like kvkbd but with a German keyboard layout (with Umlauts)?
I need for someone, who is handicapped to use a real keyboard.

Thank you in advance.

-Linuxfluesterer (I love KDE...)

Re: Virtual keyboard in German under Plasma DE

Posted: Wed Jun 20, 2018 4:45
by Stupot
dev-qt/qtvirtualkeyboard-5.9.6 ?

Re: Virtual keyboard in German under Plasma DE

Posted: Wed Jun 20, 2018 13:01
by albfneto
Is you talking about the virtual keyboard that appears prior the SDDM,prior the login screen?

If is this, this is called "qtvirtualkeyboard" and is controlled by the file /etc/sddm.conf, in the line "InputMethod=".

At the level of my knownledge, it have only English and the default languages, because in it, the language is compiled internal of the package.

Re: Virtual keyboard in German under Plasma DE

Posted: Wed Jun 20, 2018 21:31
by linuxfluesterer
albfneto wrote:
Wed Jun 20, 2018 13:01
Is you talking about the virtual keyboard that appears prior the SDDM,prior the login screen?

If is this, this is called "qtvirtualkeyboard" and is controlled by the file /etc/sddm.conf, in the line "InputMethod=".

At the level of my knownledge, it have only English and the default languages, because in it, the language is compiled internal of the package.
I mean a virtual keyboard with German layout which can be used when already logged into Plasma Desktop, after entering the password to using the apps like firefox, libreoffice and so on.
I already saw kvkbd when I tried with Q4 Os which is a Plasma also, a very tiny distribution for less disk space.
But here, I could not add another keyboard layout than US.

-Linuxfluesterer (I love KDE...)

btw. If it would not be possible to use such a virtual keyboard in native layout, it would be a big lack in Plasma and hard to explaining handicapped people, why they should no more Windows

Re: Virtual keyboard in German under Plasma DE

Posted: Wed Jun 20, 2018 21:40
by sabayonino
see localectl

Code: Select all

 localectl -h
localectl [OPTIONS...] COMMAND ...

Query or change system locale and keyboard settings.

  -h --help                Show this help
     --version             Show package version
     --no-pager            Do not pipe output into a pager
     --no-ask-password     Do not prompt for password
  -H --host=[[email protected]]HOST    Operate on remote host
  -M --machine=CONTAINER   Operate on local container
     --no-convert          Don't convert keyboard mappings

Commands:
  status                   Show current locale settings
  set-locale LOCALE...     Set system locale
  list-locales             Show known locales
  set-keymap MAP [MAP]     Set console and X11 keyboard mappings
  list-keymaps             Show known virtual console keyboard mappings
  set-x11-keymap LAYOUT [MODEL [VARIANT [OPTIONS]]]
                           Set X11 and console keyboard mappings
  list-x11-keymap-models   Show known X11 keyboard mapping models
  list-x11-keymap-layouts  Show known X11 keyboard mapping layouts
  list-x11-keymap-variants [LAYOUT]
                           Show known X11 keyboard mapping variants
  list-x11-keymap-options  Show known X11 keyboard mapping options

Code: Select all

 localectl
   System Locale: LANG=it_IT.UTF-8
       VC Keymap: it
      X11 Layout: it

Re: Virtual keyboard in German under Plasma DE

Posted: Wed Jun 20, 2018 22:14
by linuxfluesterer
This is my:

Code: Select all

localectl
   System Locale: LANG=de_DE.utf8
       VC Keymap: de-latin1-nodeadkeys
      X11 Layout: de
     X11 Variant: nodeadkeys
...and there is no kvkbd in the Sabayon Plasma repo nor built in my Plasma 5.12.5, so that I could test it out here.
At any rate, Sabayonino, thank you for very quick reply!

-Linuxfluesterer (I love KDE...)

Re: Virtual keyboard in German under Plasma DE

Posted: Thu Jun 21, 2018 12:45
by sabayonino
Does VirtualConsole (VC) support the "de-latin1-nodeadkeys" charset ? Try different charset (like a simple de charset )

Re: Virtual keyboard in German under Plasma DE

Posted: Thu Jun 21, 2018 14:09
by linuxfluesterer
Stupot wrote:
Wed Jun 20, 2018 4:45
dev-qt/qtvirtualkeyboard-5.9.6 ?
Is already installed.
How to open it within Plasma itself, when working with Kate, firefox, not while login procedure?

-Linuxfluesterer (I love KDE...)

Re: Virtual keyboard in German under Plasma DE

Posted: Fri Jun 22, 2018 4:20
by Stupot
I guess qtvirtualkeyboard really only works on Wayland, from what I've read. My bad.

Re: Virtual keyboard in German under Plasma DE

Posted: Fri Jun 22, 2018 11:40
by Fitzcarraldo
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