Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Plasma: Cant add keyboard layout
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
schorsch_76
Guru
Guru


Joined: 19 Jun 2012
Posts: 452

PostPosted: Wed Oct 02, 2024 4:15 pm    Post subject: [Solved] Plasma: Cant add keyboard layout Reply with quote

Hi,
after several years i installed a fresh gentoo on my box. The last time was about as gcc 5 was recent. Maybe 8 years ago.... Some of my knowledge about gentoo is outdated or forgotten ;)

My profile is default/linux/amd64/23.0/desktop/plasma. So with openrc.

I installed kde-plasma/plasma-meta with the use flags "colord sddm bluetooth crypt cups pulseaudio". When i start sddm and log into kde as my regular user i try to switch the keyboar din the KDE settings to "german". Then i try to preview it and it reports: "The keyboard geometry failed to load." There is also no german flag symbol on the selection list like in the gentoo live dvd that i used to install gentoo.

On the console /dev/tty1 the keyboard is ok. I set it in /etc/conf.d/keymaps.

The wiki page [1] didn't help me ....

Any help would be welcome :)

[1] https://wiki.gentoo.org/wiki/Keyboard_layout_switching#KDE_Plasma

EDIT: Ok ... i am on wayland and my displaymanager is sddm.
_________________
// valid again: I forgot about the git access. Now 1.2GB big. Start: 2015-06-25
git daily portage tree
Web: https://github.com/schorsch1976/portage
git clone https://github.com/schorsch1976/portage


Last edited by schorsch_76 on Wed Oct 02, 2024 5:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
hedmo
Veteran
Veteran


Joined: 29 Aug 2009
Posts: 1331
Location: sweden

PostPosted: Wed Oct 02, 2024 4:53 pm    Post subject: Reply with quote

schorsch_76

i have two layouts on all my systems . the layouts is en/us and swedish. i setup them via system settings > keyboard > layouts and add the layouts i want . i have my shortcuts on meta+space. on sddm i cannot help much because most of my systems have only a black screen with _ in the upper left corner. the only one that is working are running wayland with rotation and the option to switch between layouts . i have no configuration for that. it just worked.

regards hedmo
Back to top
View user's profile Send private message
Ralphred
l33t
l33t


Joined: 31 Dec 2013
Posts: 654

PostPosted: Wed Oct 02, 2024 4:55 pm    Post subject: Reply with quote

I did it with an xorg.conf stub
/etc/X11/xorg.conf.d/05-keyboard.conf:
Section "InputClass"
        Identifier      "keyboard"
        MatchIsKeyboard "yes"
        Option          "XkbLayout"     "gb"
EndSection

My rationale for that is the layout needs to be correct for password entry in your DM's greeter.
Back to top
View user's profile Send private message
schorsch_76
Guru
Guru


Joined: 19 Jun 2012
Posts: 452

PostPosted: Wed Oct 02, 2024 5:19 pm    Post subject: Reply with quote

Now it works :)

In make.conf i set L10N="de en-US" and LINGUAS="de en" and a deep newuse changed-use update and it worked :)

Classic: Problem existed between keyboard and chair :)
_________________
// valid again: I forgot about the git access. Now 1.2GB big. Start: 2015-06-25
git daily portage tree
Web: https://github.com/schorsch1976/portage
git clone https://github.com/schorsch1976/portage
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum