Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard layout setting ignored in Plasma 6.2 #254

Open
stupidus89 opened this issue Oct 11, 2024 · 0 comments
Open

Keyboard layout setting ignored in Plasma 6.2 #254

stupidus89 opened this issue Oct 11, 2024 · 0 comments

Comments

@stupidus89
Copy link

stupidus89 commented Oct 11, 2024

I am using ArchLinux with ydotool-git (but the issue is the same with the version from the repos).
ydotool-1:1.0.4.r33.gb0c5da3-1

I am using de nodeadkeys as a keyboard layout.

In Plasma 6.2 running ydotool type a@b-c results in a"bßc.

In sway on the same system it types the correct string.

This is what I have in my ~/.config/kxkbrc:

[Layout]
LayoutList=de
Model=pc105
Options=caps:escape,compose:rctrl
ResetOldOptions=true
Use=true
VariantList=nodeadkeys

And this in my sway config:

input 1:1:AT_Translated_Set_2_keyboard {
    xkb_layout "de"
    xkb_variant "nodeadkeys"
    xkb_options "kpdl:dot,compose:rctrl,caps:escape"
}

This might of course also be a problem with plasma, as I think that it used to work correctly with Plasma 6.1.

EDIT: I did some more investigation and I found that if I set the following environment variables, then it also gives the wrong output in sway:

export XKB_DEFAULT_LAYOUT=de
export XKB_DEFAULT_VARIANT=nodeadkeys

If I remove those variables and relog then I get the correct output in sway again. I also tried a strace on both plasma and sway, but there was no difference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant