Every time I start KDE 5 in FreeBSD 14, the keyboard layout is loaded as US, although I've set FI (=Finnish) as the only keyboard layout to be loaded in System Settings / Input Devices / Keyboard / Layouts.
I can only change the layout in Terminal with
In Gnome the keyboard layout loads correctly every time, but in XCFE the layout is US, as well, and I have to manually change it.
The keyboard layout loaded OK when I first installed KDE, but stopped working when I made the mistake of running
So far I've tried reinstalling KDE 5. I've also tried installing KDE 6 from ports, but the KDE 6 installation failed because some packages would not compile without errors and I could not start KDE at all. After that I reinstalled KDE 5 from pkg again,
and now KDE works again, but the keyboard problem remains.
I have also added the line
In System Settings / Startup and Shutdown / Autostart I have
I have also created a new user account in case there's something wrong with my profile, but the same problem applies to that one as well.
In /etc/rc.conf I have:
If I login to non-graphical mode, the keyboard layout is FI, as it should.
I'm all out of ideas, so, if anyone has any ideas what I could try next, I'd apprectiate any suggestions.
I can only change the layout in Terminal with
setxkbmap fi, or making changes to the layout in system settings and applying the changes.In Gnome the keyboard layout loads correctly every time, but in XCFE the layout is US, as well, and I have to manually change it.
The keyboard layout loaded OK when I first installed KDE, but stopped working when I made the mistake of running
portmaster -a, which updated some packages related to KDE 5 and GTK 5 (?).So far I've tried reinstalling KDE 5. I've also tried installing KDE 6 from ports, but the KDE 6 installation failed because some packages would not compile without errors and I could not start KDE at all. After that I reinstalled KDE 5 from pkg again,
and now KDE works again, but the keyboard problem remains.
I have also added the line
exec setxkbmap fi & to both ~/.xsession and ~/.xinitrc.In System Settings / Startup and Shutdown / Autostart I have
setxkbmap starting with fi as argument and I also have a startup script loaded with the following code.
Code:
#!/bin/sh
setxkbmap fi
I have also created a new user account in case there's something wrong with my profile, but the same problem applies to that one as well.
In /etc/rc.conf I have:
Code:
keymap="fi.kbd"
I'm all out of ideas, so, if anyone has any ideas what I could try next, I'd apprectiate any suggestions.