I’m running 42.1 with KDE, upgraded recently from 13.2. I use 2 keyboard layouts, UK and latam. I have both setup and none are recognized in KDE.
I set them again in systemsettings, on the keyboard layouts tab, and still it defaults to US. Also, no keyboard layout indicator is shown.
Changing the layout in yast does work, but that only affects the tty terminals.
Be sure to run systemsettings5 !
KDE4’s systemsettings are not respected by Plasma5.
And KDE4’s systemsettings is not renamed to “Configure KDE4 Applications” in Leap by mistake (I prepared an update for that already), so it might even hide systemsettings5 in the application menu.
I rechecked, and I was using systemsettings5 when setting the layout, so it’s not that problem.
I tried setting it to latam only, assigning a shortcut and using the shortcut, nothing worked. All this, using systemsettings5
There might be a problem with shortcuts (I’m not sure), but the layout indicator should definitely work.
By default it’s only displayed when you configured more than 1 layout though.
Do you have an input method system like ibus or fcitx installed/running?
That might interfere.
Hm, I just tried it here (13.2, Plasma 5.4.3), and it worked fine, including shortcuts.
So check in YaST->Software Management whether ibus is installed (might be pulled in by LibreOffice I think), and try to uninstall it if it is.
For the record, plasma5-addons-kimpanel pulls ibus as a dependency.
I removed it all now, and so far it’s the same. I’ll log back in and check if that helps as soon as I can, and reply here
Hm. I have that installed here, but not ibus. And I don’t see any dependency on ibus on a package level either…
But you don’t need that to use Plasma’s builtin keyboard layout switcher.
Alternatively you could also try to add the “Input Method Panel” plasmoid (contained in plasma5-addons-kimpanel) to your panel/systemtray or desktop and use that to configure your keyboard layouts.
Logging off and back in didn’t help.
Also, I created a new user, and it has the same issue. The layout is always US, and no layout indicator even after setting up multiple layouts.
Is the layout indicator enabled in systemsettings5?
Also, try to explicitly enter systemsettings5 in Konsole or the Alt+F2 dialog to make sure you run the correct version.
How exactly are you setting up multiple layouts?
As I wrote, it works fine here.
PS: Also make sure that the switching method is set to “Global”.
I run systemsettings5 from yakuake or konsole.
- Checked the switching policy is set to Global.
- Enabled Configure layouts
- Added latam and gb layouts
- In the layout indicator, enable Show layout indicator, and Show for single layout (just in case)
- Hit Apply
- Exit systemsettings5
In konsole, the layout is still US.
Also, these are my kxkbrc settings in /.config
[Layout]
DisplayNames=lat,
LayoutList=latam,gb
LayoutLoopCount=-1
Model=logitech_base
Options=terminate:ctrl_alt_bksp
ResetOldOptions=true
ShowFlag=false
ShowLabel=true
ShowLayoutIndicator=true
ShowSingle=true
SwitchMode=Global
Use=true
Hm.
And you did uninstall ibus now?
Does the keyboard layout indicator appear when you go into the “System Tray Settings” (right-click on the system tray) and disable the “Miscellaneous” category (press Apply) and enable it again afterwards?
PS: is the “Keyboard Daemon” actually enabled and running? Check in systemsettings5->Startup and Shutdown->Background Services.
If not, it would explain why the layout switching doesn’t work.
And if kded5 is not running at all for some reason, it might also explain your other problem…
That’s it. How can I start them manually and get more debug to figure out what’s wrong?
Right now, I only get an error Unable to start server Keyboard.
Error messages should go to ~/.xsession-errors-:0.
So maybe run “tail ~/.xsession-errors-:0” right after trying to start the service…
kf5.kded: Could not load kded module "keyboard":"The shared library was not found." (library path was:"keyboard")
I’m kind of lost in what package that library should be in
The library is /usr/lib64/qt5/plugins/kded_keyboard.so and is part of plasma5-desktop.
Does that file exist?
What does “rpm -V plasma5-desktop” say?
It looks ok
asoliver@zeon:~> l /usr/lib64/qt5/plugins/kded_keyboard.so
-rwxr-xr-x 1 root root 283496 oct 27 02:24 /usr/lib64/qt5/plugins/kded_keyboard.so*
asoliver@zeon:~> rpm -V plasma5-desktop
asoliver@zeon:~>
Hm.
Does this output something?
ldd /usr/lib64/qt5/plugins/kded_keyboard.so|grep "not found"
no, nothing
Maybe the KDE4 version interferes?
Do you have kdebase4-workspace-addons installed? Try to uninstall it as a test.