I upgraded to Kubuntu 18.04 recently but do not see the Slovak keyboard layout (in "Keyboard - System Settings Module" ). Is there any way how to add it?
This layout was normally available for older Kubuntu versions.
I upgraded to Kubuntu 18.04 recently but do not see the Slovak keyboard layout (in "Keyboard - System Settings Module" ). Is there any way how to add it?
This layout was normally available for older Kubuntu versions.
I don't have access to a Kubuntu desktop at the moment, but you can try to add it system wide.
Open the /etc/default/keyboard
file for editing. If you for instance have the English (US) layout set by default, you probably find these two lines:
XKBLAYOUT="us"
XKBVARIANT=""
You can add Slovak by changing those lines so they look like this:
XKBLAYOUT="us,sk"
XKBVARIANT=","
Hopefully Slovak will then be available after next reboot.
Edit:
/etc/default/keyboard
corresponding to setxkbmap()
command in comment:
XKBLAYOUT="us,sk"
BACKSPACE="guess"
XKBVARIANT=",qwerty"
XKBMODEL="pc105"
XKBOPTIONS="grp:alt_shift_toggle"
setxkbmap -model pc105 -layout "us,sk" -variant ",qwerty" -option "grp:alt_shift_toggle"
at https://www.x.org/releases/X11R7.6/doc/xorg-docs/input/XKB-Config.html
But that does not work after reboot.
Using
– Martin Flaska Aug 18 '18 at 17:22strace
for that app I found${HOME}/.config/kxkbrc
which is the config file that app use, so I putLayoutList=us,sk(qwerty)
.setxkbmap()
command survive a reboot, then edit the config file accordingly (see edited answer). – Gunnar Hjalmarsson Aug 18 '18 at 17:42kcmshell5 --args=--tab=layouts kcm_keyboard
) shows in settings layout tab. So I was curious why. Anyway, thank you for you help, it pointed my right direction. Still I have no idea why it do not offer Slovak layout out of the box. – Martin Flaska Aug 18 '18 at 17:51