Hi, I'm currently fiddling with CentOS 7 and KDE 4.14, and I must say, I'm pleasantly surprised. This is one of the cleanest implementations of KDE I've ever seen, and with some tweaking (a lot, in fact) this can be turned into a highly functional desktop with all the bling and bells and whistles. But right now, I have some minor problems to solve. First things first. My system is installed in French, with a swiss french keyboard (fr_CH-latin1) as default. This works OK in console mode, but when KDE launches the first time, the default keyboard is US, and there's a french (fr-latin1) alternative configured. In my humble opinion, this looks like a minor bug, because the default keyboard should be the same as the one defined in the installer. Now I know this can be changed easily, but I'm planning to use this in a few production environments like our local school. Which would mean I have to log into every single account to switch the keyboard layout manually. Now I wonder if this can't be done by the way of a profile in /etc/skel. I've already created a custom user profile for my users, to be put in /etc/skel. I have a little script that puts all these in the right place: https://github.com/kikinovak/centos/tree/master/el7/kde If I create a few custom keyboard layouts in KDE (say french, swiss french and german), are these stored somewhere locally in ~/.kde/share? I searched around a bit, but couldn't find the place. Any suggestions? Niki -- Microlinux - Solutions informatiques durables 7, place de l'?glise - 30730 Montpezat Web : http://www.microlinux.fr Mail : info at microlinux.fr T?l. : 04 66 63 10 32
On 10.11.2016 08:30, Nicolas Kovacs wrote:> My system is installed in French, with a swiss french keyboard > (fr_CH-latin1) as default. This works OK in console mode, but when KDE > launches the first time, the default keyboard is US, and there's a > french (fr-latin1) alternative configured.XFCE user here, so I'm not sure if KDE tries to enforce its own settings with regard to the keyboard layout, but have you tried (as root): localectl set-x11-keymap <whatever name the Swiss-French layout might have> pc105 nodeadkey This changes the X11 keyboard settings permanently for all users on the system and works fine with (at least) XFCE. Patrick -- If you'd like to send me a private message, make sure to remove the "_lists" part from my address.
Le 14/11/2016 ? 12:49, Patrick Hess a ?crit :> XFCE user here, so I'm not sure if KDE tries to enforce its own settings > with > regard to the keyboard layout, but have you tried (as root): > > localectl set-x11-keymap <whatever name the Swiss-French layout > might have> pc105 nodeadkey > > This changes the X11 keyboard settings permanently for all users on the > system > and works fine with (at least) XFCE. > > PatrickThanks for your response. (Native german speaker here also.) I tried what you suggested: # localectl set-x11-keymap fr_CH-latin1 pc105 nodeadkey As is to be expected, this modifies /etc/X11/xorg.conf.d/00-keyboard.conf: # Read and parsed by systemd-localed. It's probably wise not to edit this file # manually too freely. Section "InputClass" Identifier "system-keyboard" MatchIsKeyboard "on" Option "XkbLayout" "fr_CH-latin1" Option "XkbModel" "pc105" Option "XkbVariant" "nodeadkey" EndSection Unfortunately, to no avail. When I create a new user from here, KDE's keyboard still defaults to US. This looks like a CentOS bug to me: unable to define a non-US system-wide keyboard when using KDE. Cheers, Niki -- Microlinux - Solutions informatiques durables 7, place de l'?glise - 30730 Montpezat Web : http://www.microlinux.fr Mail : info at microlinux.fr T?l. : 04 66 63 10 32