You are not logged in.

#1 2025-01-09 20:36:18

Fernando M. Muniz
Member
Registered: 2024-06-27
Posts: 31

br-latin1-abnt2 keyboard layout sett isn't installed on KDE Plasma DE

A KDE dev told me that this was an issue on Arch's side instead of Plasma's.
This issue can be reproduced with a virtual machine.

https://bugs.kde.org/show_bug.cgi?id=498377

Last edited by Fernando M. Muniz (2025-01-09 20:36:32)

Offline

#2 2025-01-10 14:46:01

seth
Member
Registered: 2012-09-03
Posts: 60,484

Re: br-latin1-abnt2 keyboard layout sett isn't installed on KDE Plasma DE

Ok, so you set the keyboard layout *during* archinstall, not before it.

This means it's an archinstall bug for not generating the necessary locales

I've no idea what your issue is, whether it's related to the archinstall script or whatever but I can tell you that the guy on the upstream bug is talking out of his ass.

1. The keyboard layout has aboslutely *nothing* to do with any locale settings.
2. apparently you can se the layout in archinstall fine?
3.

grep abnt2 /usr/share/X11/xkb/symbols/br

4.

localectl; setxkbmap -print -query

Offline

#3 2025-01-11 22:55:47

seth
Member
Registered: 2012-09-03
Posts: 60,484

Re: br-latin1-abnt2 keyboard layout sett isn't installed on KDE Plasma DE

I will give Nate that I'm also completely lost as to how your issue actually manifests.
=> https://deepl.com/

KDE Plasma doesn't add my keyboard layout

What does that even mean?
Where/how do you expect plasma to "add" a keyboard layout?
The specific variant not being listed in systemsettings or not selected as default for your session? Does the desired layout work before you login (probably SDDM)?

You can reproduce the issue with org.gnome.Boxes flatpak.

Or is the disfunctional input actually limited to some flatpak but works fine in the "normal" desktop environment?

Also post the outputs of localectl and setxkbmap - just because "not generating the necessary locales" as explanation for keyboard layout issues is complete nonsense, that doesn't mean that there's actually some KDE issue and not a mis-/underconfiguration by you… or just flatschpak SNAFU.

Offline

#4 2025-01-11 23:05:56

Fernando M. Muniz
Member
Registered: 2024-06-27
Posts: 31

Re: br-latin1-abnt2 keyboard layout sett isn't installed on KDE Plasma DE

On archinstall, you can set your keyboard layout to PT-BR with "Locales > Keyboard layout > br-latin1-abnt2", however the setting doesn't affect the keyboard layout KDE Plasma uses. If intentional, archinstall doesn't say that it's only for archinstall.
You can also reproduce the issue with virtual machines (or at least org.gnome.Boxes).

Offline

#5 2025-01-11 23:11:16

seth
Member
Registered: 2012-09-03
Posts: 60,484

Re: br-latin1-abnt2 keyboard layout sett isn't installed on KDE Plasma DE

I have read the KDE bug, but that doesn't answer any of the above questions.

seth wrote:
localectl; setxkbmap -print -query

and I guess you can configure the session layout in systemsettings (though I'd expect KDE to pick up the global layout - what that is and whether it's correctly set will be answered by the outputs of those commands)

And I don't understand what some gnome VM fontend - let alone a flatpak installation of such - has anything to do with this. You're concerning the behavior of KDE, not gnome. Or are you?

Offline

#6 2025-01-11 23:17:26

Fernando M. Muniz
Member
Registered: 2024-06-27
Posts: 31

Re: br-latin1-abnt2 keyboard layout sett isn't installed on KDE Plasma DE

This is where I expect plasma to add the "br-latin1-abnt2" keyboard layout. (the flag)

https://i.ibb.co/sRqNTvY/Captura-de-ima … 200636.png

The VM thing is that you don't need to format your system to reproduce the issue. It has nothing to do with Gnome nor flatpaks.

Offline

#7 2025-01-11 23:36:21

seth
Member
Registered: 2012-09-03
Posts: 60,484

Re: br-latin1-abnt2 keyboard layout sett isn't installed on KDE Plasma DE

One can install KDE entirely without formatting anything.

So
1. why do you configure multiple layouts anyway??
2. Is /is/ set to some Portuguese/Brazillian layout? The Nehum/None button probably refers to the variant and you could set abnt2 there?
3. we're still missing the outputs that would actually illustrate the status quo…

Offline

#8 2025-01-12 01:20:39

Fernando M. Muniz
Member
Registered: 2024-06-27
Posts: 31

Re: br-latin1-abnt2 keyboard layout sett isn't installed on KDE Plasma DE

I only have one layout there that I had to add after the installation, unless you're talking about KDE's default when there's nothing there, which I assume to be EN-US, given the fact that when I press the ç key it comes out as ;
There's these other settings, and I always pick the first one:
https://i.ibb.co/GCswkK4/Captura-de-ima … 204450.jpg
I've never interacted with that "Nenhum" button.

Offline

#9 2025-01-12 01:28:36

Fernando M. Muniz
Member
Registered: 2024-06-27
Posts: 31

Re: br-latin1-abnt2 keyboard layout sett isn't installed on KDE Plasma DE

Can you do the following:
1. Set your archinstall settings like you would do
2. Then set keyboard layout to "br-latin1-abnt2" and install.
3. Notice that your keyboard works normally on Plasma (assuming you use an EN-US keyboard).

Offline

#10 2025-01-12 07:55:18

seth
Member
Registered: 2012-09-03
Posts: 60,484

Re: br-latin1-abnt2 keyboard layout sett isn't installed on KDE Plasma DE

No I can't, because I'm not silly enough to abuse that script to install archlinux.

But if you cannot brng yourself to finally posting some details about the situation, notably
* the outputs of the commands I've asked for in my very first reply and
* whether the situation is the same ahead of the session (ie. in your DM)
I can handily declare that this thread won't got anywhere and accurately blame everything on a layer 8 problem.

ABNT2 looks like https://en.wikipedia.org/wiki/QWERTY#Brazil so yeah, "ç" is on the US QWERTY ";"
When yo configure the layout in that dialog the keyboard works as expected?

Edit: also, is this plasma on wayland or X11?

Last edited by seth (2025-01-12 07:55:39)

Offline

#11 2025-01-12 08:09:41

Fernando M. Muniz
Member
Registered: 2024-06-27
Posts: 31

Re: br-latin1-abnt2 keyboard layout sett isn't installed on KDE Plasma DE

Yes, after I configure the layout on Plasma by adding the Brazilian flag, the keyboard works as intended.
I'm using wayland.

Offline

#12 2025-01-12 08:20:46

seth
Member
Registered: 2012-09-03
Posts: 60,484

Re: br-latin1-abnt2 keyboard layout sett isn't installed on KDE Plasma DE

Ok, you're deliberaty not answering the most important questions then.
Good bye.

Offline

#13 2025-01-13 16:58:13

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,646

Re: br-latin1-abnt2 keyboard layout sett isn't installed on KDE Plasma DE

Pretty sure the archinstall setting just runs localectl set-keymap and from a cursory check that layout does not actually exist in xcb parlance so chances are this can't be trivially configured by default anyway unless archinstall starts to guess what you actually want.

FWIW since archinstall just uses localectl set-keymap, what are the contents of /etc/X11/xorg.conf.d/00-keyboard.conf ?

But it's generally very possible that most wayland compositor implementations are not going to read from that file, and it's somewhat bothersome to have this config for every environment I could see this being out of scope for archinstall.

Offline

#14 2025-01-15 21:19:23

seth
Member
Registered: 2012-09-03
Posts: 60,484

Re: br-latin1-abnt2 keyboard layout sett isn't installed on KDE Plasma DE

Might also be running into https://bbs.archlinux.org/viewtopic.php … 5#p2220595 but w/o the  actual data on the present system configuration that's impossible to guess.

Offline

Board footer

Powered by FluxBB